|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Folder
Folder
| Field Summary | |
|---|---|
static String |
COUNTRY_FOLDER
|
static String |
FALLBACK_DEFAULT_PAGE
|
static String |
FOLDER_TYPE
|
static String |
GROUP_FOLDER
|
static String |
LANGUAGE_FOLDER
|
static String |
MEDIATYPE_FOLDER
|
static String |
PAGE_NOT_FOUND_PAGE
|
static String |
RESERVED_COUNTRY_FOLDER_NAME
|
static int |
RESERVED_FOLDER_COUNTRY
|
static int |
RESERVED_FOLDER_GROUPS
|
static int |
RESERVED_FOLDER_LANGUAGE
|
static int |
RESERVED_FOLDER_MEDIATYPE
|
static int |
RESERVED_FOLDER_NONE
|
static int |
RESERVED_FOLDER_OTHER
|
static String |
RESERVED_FOLDER_PREFIX
|
static int |
RESERVED_FOLDER_ROLES
|
static int |
RESERVED_FOLDER_SUBSITES
|
static int |
RESERVED_FOLDER_USERS
|
static String |
RESERVED_GROUP_FOLDER_NAME
|
static String |
RESERVED_LANGUAGE_FOLDER_NAME
|
static String |
RESERVED_MEDIATYPE_FOLDER_NAME
|
static String |
RESERVED_ROLE_FOLDER_NAME
|
static String |
RESERVED_SUBSITE_FOLDER_PREFIX
|
static String |
RESERVED_USER_FOLDER_NAME
|
static String |
ROLE_FOLDER
|
static String |
USER_FOLDER
|
| Fields inherited from interface org.apache.jetspeed.page.document.Node |
|---|
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
| Method Summary | |
|---|---|
NodeSet |
getAll()
getAll |
String |
getDefaultDecorator(String fragmentType)
Returns the name of the default decorator that applies to page fragments in this folder or subfolders. |
String |
getDefaultPage()
getDefaultPage |
List |
getDocumentOrder()
getDocumentOrder |
String |
getEffectiveDefaultDecorator(String fragmentType)
Returns the name of the default decorator as set here or in parent folders that applies to page fragments in this folder or subfolders. |
Folder |
getFolder(String name)
getFolder |
NodeSet |
getFolders()
getFolders |
Link |
getLink(String name)
getLink |
NodeSet |
getLinks()
getLinks |
List |
getMenuDefinitions()
getMenuDefinitions - get list of menu definitions |
Page |
getPage(String name)
getPage |
NodeSet |
getPages()
getPages |
PageSecurity |
getPageSecurity()
getPageSecurity |
int |
getReservedType()
Returns a valid reserved folder type: RESERVED_FOLDER_SUBSITES RESERVED_FOLDER_USERS RESERVED_FOLDER_ROLES RESERVED_FOLDER_GROUPS RESERVED_FOLDER_MEDIATYPE RESERVED_FOLDER_LANGUAGE RESERVED_FOLDER_COUNTRY |
String |
getSkin()
Returns the name of the skin that applies to this folder. |
boolean |
isReserved()
Determines if a folder is a reserved folder. |
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 |
void |
setDefaultDecorator(String decoratorName,
String fragmentType)
Modifies the default decorator for the specified fragment type. |
void |
setDefaultPage(String defaultPage)
setDefaultPage |
void |
setDocumentOrder(List docIndexes)
setDocumentOrder |
void |
setMenuDefinitions(List definitions)
setMenuDefinitions - set list of menu definitions |
void |
setSkin(String skinName)
Modifies the skin for this folder. |
| 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 FOLDER_TYPE
static final String FALLBACK_DEFAULT_PAGE
static final String PAGE_NOT_FOUND_PAGE
static final String RESERVED_SUBSITE_FOLDER_PREFIX
static final String RESERVED_FOLDER_PREFIX
static final String RESERVED_USER_FOLDER_NAME
static final String RESERVED_ROLE_FOLDER_NAME
static final String RESERVED_GROUP_FOLDER_NAME
static final String RESERVED_MEDIATYPE_FOLDER_NAME
static final String RESERVED_LANGUAGE_FOLDER_NAME
static final String RESERVED_COUNTRY_FOLDER_NAME
static final String USER_FOLDER
static final String ROLE_FOLDER
static final String GROUP_FOLDER
static final String MEDIATYPE_FOLDER
static final String LANGUAGE_FOLDER
static final String COUNTRY_FOLDER
static final int RESERVED_FOLDER_NONE
static final int RESERVED_FOLDER_SUBSITES
static final int RESERVED_FOLDER_USERS
static final int RESERVED_FOLDER_ROLES
static final int RESERVED_FOLDER_GROUPS
static final int RESERVED_FOLDER_MEDIATYPE
static final int RESERVED_FOLDER_LANGUAGE
static final int RESERVED_FOLDER_COUNTRY
static final int RESERVED_FOLDER_OTHER
| Method Detail |
|---|
String getSkin()
void setSkin(String skinName)
skinName - the name of the new skin for the folderString 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 consideredList getDocumentOrder()
void setDocumentOrder(List docIndexes)
docIndexes - list of ordered document names in folderString getDefaultPage()
getDefaultPage
void setDefaultPage(String defaultPage)
setDefaultPage
defaultPage -
NodeSet getFolders()
throws DocumentException
getFolders
NodeSet containing all sub-folders directly under
this folder.
DocumentException
Folder getFolder(String name)
throws FolderNotFoundException,
DocumentException
getFolder
name -
FolderNotFoundException
DocumentException
NodeSet getPages()
throws NodeException
getPages
NodeException
PageNotFoundException - if any of the Pages referenced by this Folder
could not be found.
Page getPage(String name)
throws PageNotFoundException,
NodeException
getPage
name -
PageNotFoundException - if the Page requested could not be found.
DocumentException
NodeException
NodeSet getLinks()
throws NodeException
getLinks
DocumentException
NodeException
Link getLink(String name)
throws DocumentNotFoundException,
NodeException
getLink
name -
DocumentNotFoundException - if the document requested could not be found.
NodeException
PageSecurity getPageSecurity()
throws DocumentNotFoundException,
NodeException
getPageSecurity
name -
DocumentNotFoundException - if the document requested could not be found.
NodeException
NodeSet getAll()
throws DocumentException
getAll
NodeSet containing all sub-folders and documents directly under
this folder.
DocumentExceptionList getMenuDefinitions()
MenuDefinition newMenuDefinition()
MenuExcludeDefinition newMenuExcludeDefinition()
MenuIncludeDefinition newMenuIncludeDefinition()
MenuOptionsDefinition newMenuOptionsDefinition()
MenuSeparatorDefinition newMenuSeparatorDefinition()
void setMenuDefinitions(List definitions)
definitions - definition listboolean isReserved()
int getReservedType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||