|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Page
This interface represents a complete page document used by Jetspeed to layout a user-customizable portal page.
| Field Summary | |
|---|---|
static String |
DOCUMENT_TYPE
|
| Fields inherited from interface org.apache.jetspeed.page.document.Node |
|---|
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
| Method Summary | |
|---|---|
String |
getDefaultDecorator(String fragmentType)
Returns the name of the default decorator that applies in this page to fragments of the specified type |
String |
getEffectiveDefaultDecorator(String fragmentType)
Returns the name of the default decorator as set here or in parent folders that applies in this page to fragments of the specified type. |
Fragment |
getFragmentById(String id)
Retrieves the fragment contained within this page, with the specified Id. |
List |
getFragmentsByName(String name)
Retrieves the fragments contained within this page, with the specified name. |
List |
getMenuDefinitions()
getMenuDefinitions - get list of menu definitions |
Fragment |
getRootFragment()
Retrieves the top level fragment of this page. |
String |
getSkin()
Returns the name of the default skin that applies to this page. |
MenuDefinition |
newMenuDefinition()
newMenuDefinition - creates a new empty menu definition |
MenuExcludeDefinition |
newMenuExcludeDefinition()
newMenuExcludeDefinition - creates a new empty menu exclude definition |
MenuIncludeDefinition |
newMenuIncludeDefinition()
newMenuIncludeDefinition - creates a new empty menu include definition |
MenuOptionsDefinition |
newMenuOptionsDefinition()
newMenuOptionsDefinition - creates a new empty menu options definition |
MenuSeparatorDefinition |
newMenuSeparatorDefinition()
newMenuSeparatorDefinition - creates a new empty menu separator definition |
Fragment |
removeFragmentById(String id)
Removes the fragment contained within this page, with the specified Id. |
void |
setDefaultDecorator(String decoratorName,
String fragmentType)
Modifies the default decorator for the specified fragment type. |
void |
setMenuDefinitions(List definitions)
setMenuDefinitions - set list of menu definitions |
void |
setRootFragment(Fragment fragment)
Sets the top level fragment of this page. |
void |
setSkin(String skinName)
Modifies the skin for this page. |
| Methods inherited from interface org.apache.jetspeed.om.page.Document |
|---|
getVersion, isDirty, setDirty, setVersion |
| Methods inherited from interface org.apache.jetspeed.page.document.Node |
|---|
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getType, getUrl, isHidden, setHidden, setParent, setPath |
| Methods inherited from interface org.apache.jetspeed.om.page.BaseElement |
|---|
getId, getShortTitle, getTitle, setShortTitle, setTitle |
| Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource |
|---|
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints |
| Field Detail |
|---|
static final String DOCUMENT_TYPE
| Method Detail |
|---|
String getSkin()
void setSkin(String skinName)
skinName - the name of the new skin for the pageString getEffectiveDefaultDecorator(String fragmentType)
fragmentType - the type of fragment considered
String getDefaultDecorator(String fragmentType)
fragmentType - the type of fragment considered
void setDefaultDecorator(String decoratorName,
String fragmentType)
decoratorName - the name of the new decorator for the typefragmentType - the type of fragment consideredFragment getRootFragment()
void setRootFragment(Fragment fragment)
Fragment getFragmentById(String id)
id - the fragment id to look for
Fragment removeFragmentById(String id)
id - the fragment id to remove
List getFragmentsByName(String name)
name - the fragment name to look for
List getMenuDefinitions()
MenuDefinition newMenuDefinition()
MenuExcludeDefinition newMenuExcludeDefinition()
MenuIncludeDefinition newMenuIncludeDefinition()
MenuOptionsDefinition newMenuOptionsDefinition()
MenuSeparatorDefinition newMenuSeparatorDefinition()
void setMenuDefinitions(List definitions)
definitions - definition list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||