Class MenuItem
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasContentScript,HasNetwork,HasOrder,HasSvgIcon,ProcessableForProxying,IEntity,IInternalNamedEntity,INamedEntity,UsesScript
- Direct Known Subclasses:
FloatingPage
@Entity public class MenuItem extends MenuEntry implements HasContentScript
A content page is a menu item directly with contents
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
-
Fields inherited from class org.cyclos.entities.contentmanagement.MenuEntry
showInClassicFrontend, showInNewFrontend
-
-
Constructor Summary
Constructors Constructor Description MenuItem()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.contentmanagement.MenuEntry
getDataTranslationType, getGroup, getLastModified, getLastModifiedMillis, getSvgIcon, setGroup, setLastModified, setSvgIcon
-
Methods inherited from class org.cyclos.entities.contentmanagement.ContentItem
getConfiguration, getInternalName, getNetwork, getVisibility, setConfiguration, setInternalName, setVisibility
-
Methods inherited from class org.cyclos.entities.OrderableEntity
compareTo, getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName, toShortString
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.model.system.scripts.UsesScript
isEnabled
-
-
-
-
Method Detail
-
getContent
public String getContent()
-
getContentScript
public CustomScript getContentScript()
- Specified by:
getContentScriptin interfaceHasContentScript
-
getContentScriptParameters
public String getContentScriptParameters()
- Specified by:
getContentScriptParametersin interfaceHasContentScript
-
getCustomOperation
public CustomOperation getCustomOperation()
-
getFrontendLayout
public FrontendContentLayout getFrontendLayout()
-
getFrontendMenu
public FrontendMenu getFrontendMenu()
-
getNature
public MenuEntryNature getNature()
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage- Specified by:
getScriptUsedInTypein interfaceUsesScript
-
getTitle
public String getTitle()
-
getType
public MenuItemType getType()
-
getUrl
public String getUrl()
-
getWizard
public MenuItemWizard getWizard()
-
isShowInClassicFrontend
public boolean isShowInClassicFrontend()
-
isShowInNewFrontend
public boolean isShowInNewFrontend()
-
setContent
public void setContent(String content)
-
setContentScript
public void setContentScript(CustomScript contentScript)
-
setContentScriptParameters
public void setContentScriptParameters(String contentScriptParameters)
-
setCustomOperation
public void setCustomOperation(CustomOperation customOperation)
-
setFrontendLayout
public void setFrontendLayout(FrontendContentLayout frontendLayout)
-
setFrontendMenu
public void setFrontendMenu(FrontendMenu frontendMenu)
-
setShowInClassicFrontend
public void setShowInClassicFrontend(boolean showInClassicFrontend)
-
setShowInNewFrontend
public void setShowInNewFrontend(boolean showInNewFrontend)
-
setTitle
public void setTitle(String title)
-
setType
public void setType(MenuItemType type)
-
setUrl
public void setUrl(String url)
-
setWizard
public void setWizard(MenuItemWizard wizard)
-
-