|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
Fields inherited from interface org.apache.jetspeed.om.common.SecuredResource |
EDIT_ACTION, VIEW_ACTION |
Method Summary | |
Object |
clone()
Create a clone of this object |
String |
getDefaultDecorator(String fragmentType)
Returns the name of the default decorator that applies in this page to fragments of the specified type |
Defaults |
getDefaults()
Returns the defaults object defined for this page. |
String |
getDefaultSkin()
Returns the name of the default skin that applies to this page. |
Fragment |
getFragmentById(String id)
Retrieves the fragment contained within this page, with the specified Id. |
List |
getMenuDefinitions()
getMenuDefinitions - get list of menu definitions |
Fragment |
getRootFragment()
Retrieves the top level fragment of this page. |
void |
setDefaultDecorator(String decoratorName,
String fragmentType)
Modifies the default decorator for the specified fragment type. |
void |
setDefaultSkin(String skinName)
Modifies the default skin for this page. |
void |
setMenuDefinitions(List definitions)
setMenuDefinitions - set list of menu definitions |
void |
setRootFragment(Fragment fragment)
Sets the top level fragment of this page. |
Methods inherited from interface org.apache.jetspeed.page.document.Node |
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getType, getUrl, isHidden, setParent, setPath |
Methods inherited from interface org.apache.jetspeed.om.page.BaseElement |
getId, getShortTitle, getTitle, setId, setShortTitle, setTitle |
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource |
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, setSecurityConstraints |
Field Detail |
public static final String DOCUMENT_TYPE
Method Detail |
public String getDefaultSkin()
public void setDefaultSkin(String skinName)
skinName
- the name of the new skin for the pagepublic String getDefaultDecorator(String fragmentType)
fragmentType
- the type of fragment considered
public void setDefaultDecorator(String decoratorName, String fragmentType)
decoratorName
- the name of the new decorator for the typefragmentType
- the type of fragment consideredpublic Fragment getRootFragment()
public void setRootFragment(Fragment fragment)
public Fragment getFragmentById(String id)
id
- the fragment id to look for
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public List getMenuDefinitions()
public void setMenuDefinitions(List definitions)
definitions
- definition listpublic Defaults getDefaults()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |