public static class MenuEntryModel.Builder extends Object implements org.apache.commons.lang3.builder.Builder<IMenuEntryModel>
Constructor and Description |
---|
Builder(CustomViewModel viewModel) |
Builder(EViews view) |
Builder(EViews view,
ViewBean viewBean) |
Modifier and Type | Method and Description |
---|---|
MenuEntryModel.Builder |
adminDash(EAdminDashCategory adminDashCategory) |
IMenuEntryModel |
build() |
MenuEntryModel.Builder |
description(String description) |
MenuEntryModel.Builder |
external(boolean external) |
MenuEntryModel.Builder |
helpId(String helpId) |
MenuEntryModel.Builder |
href(String href) |
MenuEntryModel.Builder |
i18n(String i18n) |
MenuEntryModel.Builder |
i18nDescription(String i18nKey) |
MenuEntryModel.Builder |
icon(String icon) |
MenuEntryModel.Builder |
licensed(boolean licensed) |
MenuEntryModel.Builder |
onDash(boolean renderedOnDash) |
MenuEntryModel.Builder |
rendered(boolean rendered) |
MenuEntryModel.Builder |
rendered(boolean rendered,
boolean accessible) |
protected void |
setProperties(MenuEntryModel model) |
MenuEntryModel.Builder |
styleClass(String styleClass) |
MenuEntryModel.Builder |
target(String target) |
MenuEntryModel.Builder |
text(String text) |
public Builder(EViews view)
public Builder(CustomViewModel viewModel)
public MenuEntryModel.Builder helpId(String helpId)
public MenuEntryModel.Builder target(String target)
public MenuEntryModel.Builder description(String description)
public MenuEntryModel.Builder href(String href)
public MenuEntryModel.Builder text(String text)
public MenuEntryModel.Builder i18n(String i18n)
public MenuEntryModel.Builder i18nDescription(String i18nKey)
public MenuEntryModel.Builder icon(String icon)
public MenuEntryModel.Builder styleClass(String styleClass)
public MenuEntryModel.Builder external(boolean external)
public MenuEntryModel.Builder licensed(boolean licensed)
public MenuEntryModel.Builder rendered(boolean rendered)
public MenuEntryModel.Builder rendered(boolean rendered, boolean accessible)
public MenuEntryModel.Builder onDash(boolean renderedOnDash)
public MenuEntryModel.Builder adminDash(EAdminDashCategory adminDashCategory)
protected void setProperties(MenuEntryModel model)
public IMenuEntryModel build()
build
in interface org.apache.commons.lang3.builder.Builder<IMenuEntryModel>
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.