|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.om.folder.psml.MenuMetadataImpl
org.apache.jetspeed.om.folder.psml.MenuDefinitionImpl
public class MenuDefinitionImpl
This class implements the MenuDefinition interface in a persistent object form for use by the page manager component.
Field Summary |
---|
Fields inherited from interface org.apache.jetspeed.om.folder.MenuDefinition |
---|
ANY_PROFILE_LOCATOR |
Constructor Summary | |
---|---|
MenuDefinitionImpl()
MenuDefinitionImpl - constructor |
Method Summary | |
---|---|
int |
getDepth()
getDepth - get depth of inclusion for folder menu options |
java.util.List |
getMenuElementImpls()
getMenuElementImpls - get ordered list of wrapped menu elements |
java.util.List |
getMenuElements()
getMenuElements - get ordered list of menu options, nested menus, separators, included menu, and excluded menu elements |
java.lang.String |
getName()
getName - get menu name |
java.lang.String |
getOptions()
getOptions - get comma separated menu options if not specified as elements |
java.lang.String |
getOrder()
getOrder - get comma separated regexp ordering patterns for options |
java.lang.String |
getProfile()
getProfile - get profile locator used to filter specified options |
java.lang.String |
getShortTitle()
getShortTitle - get default short title for menu |
java.lang.String |
getSkin()
getSkin - get skin name for menu |
java.lang.String |
getTitle()
getTitle - get default title for menu |
boolean |
isPaths()
isPaths - get generate ordered path options for specified options |
boolean |
isRegexp()
isRegexp - get regexp flag for interpreting specified options |
void |
marshalling()
marshalling - notification that this instance is to be saved to the persistent store |
void |
setDepth(int depth)
setDepth - set depth of inclusion for folder menu options |
void |
setMenuElementImpls(java.util.List elements)
setMenuElementImpls - set ordered list of menu elements using a list of wrapped menu elements |
void |
setMenuElements(java.util.List elements)
setMenuElements - set ordered list of menu elements |
void |
setName(java.lang.String name)
setName - set menu name |
void |
setOptions(java.lang.String options)
setOptions - set comma separated menu options if not specified as elements |
void |
setOrder(java.lang.String order)
setOrder - set comma separated regexp ordering patterns for options |
void |
setPaths(boolean paths)
setPaths - set generate ordered path options for specified options |
void |
setProfile(java.lang.String locatorName)
setProfile - set profile locator used to filter specified options |
void |
setRegexp(boolean regexp)
setRegexp - set regexp flag for interpreting specified options |
void |
setShortTitle(java.lang.String title)
setShortTitle - set default short title for menu |
void |
setSkin(java.lang.String name)
setSkin - set skin name for menu |
void |
setTitle(java.lang.String title)
setTitle - set default title for menu |
void |
unmarshalled()
unmarshalled - notification that this instance has been loaded from the persistent store |
Methods inherited from class org.apache.jetspeed.om.folder.psml.MenuMetadataImpl |
---|
getMetadata, getMetadataFields, getShortTitle, getText, getText, getTitle, setMetadataFields |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.om.folder.MenuDefinition |
---|
getMetadata, getShortTitle, getTitle |
Constructor Detail |
---|
public MenuDefinitionImpl()
Method Detail |
---|
public java.lang.String getName()
getName
in interface MenuDefinition
public void setName(java.lang.String name)
setName
in interface MenuDefinition
name
- menu namepublic java.lang.String getOptions()
getOptions
in interface MenuDefinition
public void setOptions(java.lang.String options)
setOptions
in interface MenuDefinition
options
- option paths specificationpublic int getDepth()
getDepth
in interface MenuDefinition
public void setDepth(int depth)
setDepth
in interface MenuDefinition
depth
- inclusion depthpublic boolean isPaths()
isPaths
in interface MenuDefinition
public void setPaths(boolean paths)
setPaths
in interface MenuDefinition
paths
- paths options flagpublic boolean isRegexp()
isRegexp
in interface MenuDefinition
public void setRegexp(boolean regexp)
setRegexp
in interface MenuDefinition
regexp
- regexp flagpublic java.lang.String getProfile()
getProfile
in interface MenuDefinition
public void setProfile(java.lang.String locatorName)
setProfile
in interface MenuDefinition
locatorName
- profile locator namepublic java.lang.String getOrder()
getOrder
in interface MenuDefinition
public void setOrder(java.lang.String order)
setOrder
in interface MenuDefinition
order
- ordering patterns listpublic java.lang.String getSkin()
getSkin
in interface MenuDefinition
public void setSkin(java.lang.String name)
setSkin
in interface MenuDefinition
name
- skin namepublic java.lang.String getTitle()
getTitle
in interface MenuDefinition
getTitle
in class MenuMetadataImpl
public void setTitle(java.lang.String title)
setTitle
in interface MenuDefinition
title
- title textpublic java.lang.String getShortTitle()
getShortTitle
in interface MenuDefinition
getShortTitle
in class MenuMetadataImpl
public void setShortTitle(java.lang.String title)
setShortTitle
in interface MenuDefinition
title
- short title textpublic java.util.List getMenuElements()
getMenuElements
in interface MenuDefinition
public void setMenuElements(java.util.List elements)
setMenuElements
in interface MenuDefinition
elements
- element listpublic java.util.List getMenuElementImpls()
public void setMenuElementImpls(java.util.List elements)
elements
- element listpublic void unmarshalled()
unmarshalled
in class MenuMetadataImpl
public void marshalling()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |