|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuDefinition
This interface describes the object used to define portal site menus comprised of nested menus, options, and separators.
Field Summary | |
---|---|
static String |
ANY_PROFILE_LOCATOR
ANY_PROFILE_LOCATOR - wildcard value for profile locator names |
Method Summary | |
---|---|
int |
getDepth()
getDepth - get depth of inclusion for folder menu options |
List |
getMenuElements()
getMenuElements - get ordered list of menu options, nested menus, separators, included menu, and excluded menu elements |
GenericMetadata |
getMetadata()
getMetadata - get generic metadata instance for menu |
String |
getName()
getName - get menu name |
String |
getOptions()
getOptions - get comma separated menu options if not specified as elements |
String |
getOrder()
getOrder - get comma separated regexp ordering patterns for options |
String |
getProfile()
getProfile - get profile locator used to filter specified options |
String |
getShortTitle()
getShortTitle - get default short title for menu |
String |
getShortTitle(Locale locale)
getShortTitle - get locale specific short title for menu from metadata |
String |
getSkin()
getSkin - get skin name for menu |
String |
getTitle()
getTitle - get default title for menu |
String |
getTitle(Locale locale)
getTitle - get locale specific title for menu from metadata |
boolean |
isPaths()
isPaths - get generate ordered path options for specified options |
boolean |
isRegexp()
isRegexp - get regexp flag for interpreting specified options |
void |
setDepth(int depth)
setDepth - set depth of inclusion for folder menu options |
void |
setMenuElements(List elements)
setMenuElements - set ordered list of menu options |
void |
setName(String name)
setName - set menu name |
void |
setOptions(String options)
setOptions - set comma separated menu options if not specified as elements |
void |
setOrder(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(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(String title)
setShortTitle - set default short title for menu |
void |
setSkin(String name)
setSkin - set skin name for menu |
void |
setTitle(String title)
setTitle - set default title for menu |
Field Detail |
---|
static final String ANY_PROFILE_LOCATOR
Method Detail |
---|
String getName()
void setName(String name)
name
- menu nameString getOptions()
void setOptions(String options)
option
- option paths specificationint getDepth()
void setDepth(int depth)
depth
- inclusion depthboolean isPaths()
void setPaths(boolean paths)
paths
- paths options flagboolean isRegexp()
void setRegexp(boolean regexp)
regexp
- regexp flagString getProfile()
void setProfile(String locatorName)
locatorName
- profile locator nameString getOrder()
void setOrder(String order)
order
- ordering patterns listString getSkin()
void setSkin(String name)
name
- skin nameString getTitle()
void setTitle(String title)
title
- title textString getShortTitle()
void setShortTitle(String title)
title
- short title textString getTitle(Locale locale)
locale
- preferred locale
String getShortTitle(Locale locale)
locale
- preferred locale
GenericMetadata getMetadata()
List getMenuElements()
void setMenuElements(List elements)
elements
- element list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |