Class MenuItemDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
-
- org.cyclos.model.contentmanagement.contentitems.MenuEntryDTO
-
- org.cyclos.model.contentmanagement.contentitems.MenuItemDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
FloatingPageDTO
public class MenuItemDTO extends MenuEntryDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,MenuItemDTO>CONTENTstatic BasicProperty<CustomOperationVO,MenuItemDTO>CUSTOM_OPERATIONstatic BasicProperty<FrontendContentLayout,MenuItemDTO>FRONTEND_LAYOUTstatic BasicProperty<FrontendMenu,MenuItemDTO>FRONTEND_MENUstatic BasicProperty<Boolean,MenuItemDTO>SHOW_IN_CLASSIC_FRONTENDstatic BasicProperty<Boolean,MenuItemDTO>SHOW_IN_NEW_FRONTENDstatic BasicProperty<String,MenuItemDTO>TITLEstatic BasicProperty<MenuItemType,MenuItemDTO>TYPEstatic BasicProperty<String,MenuItemDTO>URLstatic BasicProperty<CustomWizardVO,MenuItemDTO>WIZARD-
Fields inherited from class org.cyclos.model.contentmanagement.contentitems.MenuEntryDTO
GROUP, NATURE, SVG_ICON
-
Fields inherited from class org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
CONFIGURATION, INTERNAL_NAME, VISIBILITY
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description MenuItemDTO()MenuItemDTO(Long id)MenuItemDTO(Property<T,? super MenuItemDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetContent()CustomOperationVOgetCustomOperation()FrontendContentLayoutgetFrontendLayout()FrontendMenugetFrontendMenu()StringgetTitle()MenuItemTypegetType()StringgetUrl()CustomWizardVOgetWizard()booleanisShowInClassicFrontend()booleanisShowInNewFrontend()voidsetContent(String content)voidsetCustomOperation(CustomOperationVO customOperation)voidsetFrontendLayout(FrontendContentLayout frontendLayout)voidsetFrontendMenu(FrontendMenu frontendMenu)voidsetShowInClassicFrontend(boolean showInClassicFrontend)voidsetShowInNewFrontend(boolean showInNewFrontend)voidsetTitle(String title)voidsetType(MenuItemType type)voidsetUrl(String url)voidsetWizard(CustomWizardVO wizard)-
Methods inherited from class org.cyclos.model.contentmanagement.contentitems.MenuEntryDTO
getGroup, getNature, getSvgIcon, setGroup, setNature, setSvgIcon
-
Methods inherited from class org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
getConfiguration, getInternalName, getVisibility, setConfiguration, setInternalName, setVisibility
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CONTENT
public static final BasicProperty<String,MenuItemDTO> CONTENT
-
CUSTOM_OPERATION
public static final BasicProperty<CustomOperationVO,MenuItemDTO> CUSTOM_OPERATION
-
FRONTEND_LAYOUT
public static final BasicProperty<FrontendContentLayout,MenuItemDTO> FRONTEND_LAYOUT
-
FRONTEND_MENU
public static final BasicProperty<FrontendMenu,MenuItemDTO> FRONTEND_MENU
-
SHOW_IN_CLASSIC_FRONTEND
public static final BasicProperty<Boolean,MenuItemDTO> SHOW_IN_CLASSIC_FRONTEND
-
SHOW_IN_NEW_FRONTEND
public static final BasicProperty<Boolean,MenuItemDTO> SHOW_IN_NEW_FRONTEND
-
TITLE
public static final BasicProperty<String,MenuItemDTO> TITLE
-
TYPE
public static final BasicProperty<MenuItemType,MenuItemDTO> TYPE
-
URL
public static final BasicProperty<String,MenuItemDTO> URL
-
WIZARD
public static final BasicProperty<CustomWizardVO,MenuItemDTO> WIZARD
-
-
Constructor Detail
-
MenuItemDTO
public MenuItemDTO()
-
MenuItemDTO
public MenuItemDTO(Long id)
-
MenuItemDTO
public MenuItemDTO(Property<T,? super MenuItemDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classMenuEntryDTO
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getCustomOperation
public CustomOperationVO getCustomOperation()
-
setCustomOperation
public void setCustomOperation(CustomOperationVO customOperation)
-
getFrontendLayout
public FrontendContentLayout getFrontendLayout()
-
setFrontendLayout
public void setFrontendLayout(FrontendContentLayout frontendLayout)
-
getFrontendMenu
public FrontendMenu getFrontendMenu()
-
setFrontendMenu
public void setFrontendMenu(FrontendMenu frontendMenu)
-
isShowInClassicFrontend
public boolean isShowInClassicFrontend()
-
setShowInClassicFrontend
public void setShowInClassicFrontend(boolean showInClassicFrontend)
-
isShowInNewFrontend
public boolean isShowInNewFrontend()
-
setShowInNewFrontend
public void setShowInNewFrontend(boolean showInNewFrontend)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getType
public MenuItemType getType()
-
setType
public void setType(MenuItemType type)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getWizard
public CustomWizardVO getWizard()
-
setWizard
public void setWizard(CustomWizardVO wizard)
-
className
public String className()
- Overrides:
classNamein classMenuEntryDTO
-
-