| |
|
| java.lang.Object org.apache.jetspeed.page.AbstractPageManager
All known Subclasses: org.apache.jetspeed.page.psml.CastorXmlPageManager, org.apache.jetspeed.page.DelegatingPageManager,
AbstractPageManager | abstract public class AbstractPageManager implements PageManager(Code) | | AbstractPageManagerService
author: David Sean Taylor version: $Id: AbstractPageManager.java 517124 2007-03-12 08:10:25Z ate $ |
Method Summary | |
public void | addListener(PageManagerEventListener listener) | protected void | copyConstraint(SecurityConstraint srcConstraint, SecurityConstraint dstConstraint) | public Folder | copyFolder(Folder source, String path) | public Fragment | copyFragment(Fragment source, String name) | public Link | copyLink(Link source, String path) | protected List | copyMenuDefinitions(String type, List srcMenus) | protected Object | copyMenuElement(String type, Object srcElement) | public Page | copyPage(Page source, String path) | public PageSecurity | copyPageSecurity(PageSecurity source) | protected SecurityConstraints | copySecurityConstraints(String type, SecurityConstraints source) | public void | createUserHomePagesFromRoles(Subject subject) Creates a user's home page from the roles of the current user.
The use case: when a portal is setup to use shared pages, but then
the user attempts to customize. | public void | deepCopyFolder(Folder srcFolder, String destinationPath, String owner) | public boolean | folderExists(String folderName) | public boolean | getConstraintsEnabled() | public boolean | getPermissionsEnabled() | public Folder | getUserFolder(String userName) | public Page | getUserPage(String userName, String pageName) | public boolean | linkExists(String linkName) | public Folder | newFolder(String path) | public MenuDefinition | newFolderMenuDefinition() | public MenuExcludeDefinition | newFolderMenuExcludeDefinition() | public MenuIncludeDefinition | newFolderMenuIncludeDefinition() | public MenuOptionsDefinition | newFolderMenuOptionsDefinition() | public MenuSeparatorDefinition | newFolderMenuSeparatorDefinition() | public SecurityConstraint | newFolderSecurityConstraint() | public Fragment | newFragment() | public FragmentPreference | newFragmentPreference() | public SecurityConstraint | newFragmentSecurityConstraint() | public Link | newLink(String path) | public SecurityConstraint | newLinkSecurityConstraint() | public Page | newPage(String path) | public MenuDefinition | newPageMenuDefinition() | public MenuExcludeDefinition | newPageMenuExcludeDefinition() | public MenuIncludeDefinition | newPageMenuIncludeDefinition() | public MenuOptionsDefinition | newPageMenuOptionsDefinition() | public MenuSeparatorDefinition | newPageMenuSeparatorDefinition() | public PageSecurity | newPageSecurity() | public SecurityConstraint | newPageSecurityConstraint() | public SecurityConstraint | newPageSecuritySecurityConstraint() | public Fragment | newPortletFragment() | public SecurityConstraints | newSecurityConstraints() | public SecurityConstraintsDef | newSecurityConstraintsDef() | public void | notifyNewNode(Node node) | public void | notifyRemovedNode(Node node) | public void | notifyUpdatedNode(Node node) | public boolean | pageExists(String pageName) | public void | removeListener(PageManagerEventListener listener) | public void | reset() | public boolean | userFolderExists(String userName) | public boolean | userPageExists(String userName, String pageName) |
folderMenuDefinitionClass | protected Class folderMenuDefinitionClass(Code) | | |
folderMenuExcludeDefinitionClass | protected Class folderMenuExcludeDefinitionClass(Code) | | |
folderMenuIncludeDefinitionClass | protected Class folderMenuIncludeDefinitionClass(Code) | | |
folderMenuOptionsDefinitionClass | protected Class folderMenuOptionsDefinitionClass(Code) | | |
folderMenuSeparatorDefinitionClass | protected Class folderMenuSeparatorDefinitionClass(Code) | | |
folderSecurityConstraintClass | protected Class folderSecurityConstraintClass(Code) | | |
fragmentPreferenceClass | protected Class fragmentPreferenceClass(Code) | | |
fragmentSecurityConstraintClass | protected Class fragmentSecurityConstraintClass(Code) | | |
linkSecurityConstraintClass | protected Class linkSecurityConstraintClass(Code) | | |
pageMenuDefinitionClass | protected Class pageMenuDefinitionClass(Code) | | |
pageMenuExcludeDefinitionClass | protected Class pageMenuExcludeDefinitionClass(Code) | | |
pageMenuIncludeDefinitionClass | protected Class pageMenuIncludeDefinitionClass(Code) | | |
pageMenuOptionsDefinitionClass | protected Class pageMenuOptionsDefinitionClass(Code) | | |
pageMenuSeparatorDefinitionClass | protected Class pageMenuSeparatorDefinitionClass(Code) | | |
pageSecurityClass | protected Class pageSecurityClass(Code) | | |
pageSecurityConstraintClass | protected Class pageSecurityConstraintClass(Code) | | |
pageSecuritySecurityConstraintClass | protected Class pageSecuritySecurityConstraintClass(Code) | | |
securityConstraintsClass | protected Class securityConstraintsClass(Code) | | |
securityConstraintsDefClass | protected Class securityConstraintsDefClass(Code) | | |
AbstractPageManager | public AbstractPageManager(boolean permissionsEnabled, boolean constraintsEnabled)(Code) | | |
AbstractPageManager | public AbstractPageManager(boolean permissionsEnabled, boolean constraintsEnabled, Map modelClasses)(Code) | | |
addListener | public void addListener(PageManagerEventListener listener)(Code) | | addListener - add page manager event listener
Parameters: listener - page manager event listener |
createUserHomePagesFromRoles | public void createUserHomePagesFromRoles(Subject subject) throws NodeException(Code) | | Creates a user's home page from the roles of the current user.
The use case: when a portal is setup to use shared pages, but then
the user attempts to customize. At this point, we create the new page(s) for the user.
Parameters: subject - |
deepCopyFolder | public void deepCopyFolder(Folder srcFolder, String destinationPath, String owner) throws NodeException(Code) | | Deep copy a folder
Parameters: source - source folder Parameters: dest - destination folder |
folderExists | public boolean folderExists(String folderName)(Code) | | |
newFolderMenuDefinition | public MenuDefinition newFolderMenuDefinition()(Code) | | newFolderMenuDefinition - creates a new empty menu definition
a newly created MenuDefinition object |
newFolderMenuExcludeDefinition | public MenuExcludeDefinition newFolderMenuExcludeDefinition()(Code) | | newFolderMenuExcludeDefinition - creates a new empty menu exclude definition
a newly created MenuExcludeDefinition object |
newFolderMenuIncludeDefinition | public MenuIncludeDefinition newFolderMenuIncludeDefinition()(Code) | | newFolderMenuIncludeDefinition - creates a new empty menu include definition
a newly created MenuIncludeDefinition object |
newFolderMenuOptionsDefinition | public MenuOptionsDefinition newFolderMenuOptionsDefinition()(Code) | | newFolderMenuOptionsDefinition - creates a new empty menu options definition
a newly created MenuOptionsDefinition object |
newFolderMenuSeparatorDefinition | public MenuSeparatorDefinition newFolderMenuSeparatorDefinition()(Code) | | newFolderMenuSeparatorDefinition - creates a new empty menu separator definition
a newly created MenuSeparatorDefinition object |
newFolderSecurityConstraint | public SecurityConstraint newFolderSecurityConstraint()(Code) | | newFolderSecurityConstraint - creates a new security constraint definition
a newly created SecurityConstraint object |
newFragmentPreference | public FragmentPreference newFragmentPreference()(Code) | | newFragmentPreference - creates a new security constraints definition
a newly created FragmentPreference object |
newFragmentSecurityConstraint | public SecurityConstraint newFragmentSecurityConstraint()(Code) | | newFragmentSecurityConstraint - creates a new security constraint definition
a newly created SecurityConstraint object |
newLinkSecurityConstraint | public SecurityConstraint newLinkSecurityConstraint()(Code) | | newLinkSecurityConstraint - creates a new security constraint definition
a newly created SecurityConstraint object |
newPageMenuDefinition | public MenuDefinition newPageMenuDefinition()(Code) | | newPageMenuDefinition - creates a new empty menu definition
a newly created MenuDefinition object |
newPageMenuExcludeDefinition | public MenuExcludeDefinition newPageMenuExcludeDefinition()(Code) | | newPageMenuExcludeDefinition - creates a new empty menu exclude definition
a newly created MenuExcludeDefinition object |
newPageMenuIncludeDefinition | public MenuIncludeDefinition newPageMenuIncludeDefinition()(Code) | | newPageMenuIncludeDefinition - creates a new empty menu include definition
a newly created MenuIncludeDefinition object |
newPageMenuOptionsDefinition | public MenuOptionsDefinition newPageMenuOptionsDefinition()(Code) | | newPageMenuOptionsDefinition - creates a new empty menu options definition
a newly created MenuOptionsDefinition object |
newPageMenuSeparatorDefinition | public MenuSeparatorDefinition newPageMenuSeparatorDefinition()(Code) | | newPageMenuSeparatorDefinition - creates a new empty menu separator definition
a newly created MenuSeparatorDefinition object |
newPageSecurityConstraint | public SecurityConstraint newPageSecurityConstraint()(Code) | | newPageSecurityConstraint - creates a new security constraint definition
a newly created SecurityConstraint object |
newPageSecuritySecurityConstraint | public SecurityConstraint newPageSecuritySecurityConstraint()(Code) | | newPageSecuritySecurityConstraint - creates a new security constraint definition
a newly created SecurityConstraint object |
newSecurityConstraints | public SecurityConstraints newSecurityConstraints()(Code) | | newSecurityConstraints - creates a new empty security constraints definition
a newly created SecurityConstraints object |
newSecurityConstraintsDef | public SecurityConstraintsDef newSecurityConstraintsDef()(Code) | | newSecurityConstraintsDef - creates a new security constraints definition
a newly created SecurityConstraintsDef object |
notifyNewNode | public void notifyNewNode(Node node)(Code) | | notifyNewNode - notify page manager event listeners of
new node event
Parameters: node - new managed node if known |
notifyRemovedNode | public void notifyRemovedNode(Node node)(Code) | | notifyRemovedNode - notify page manager event listeners of
removed node event
Parameters: node - removed managed node if known |
notifyUpdatedNode | public void notifyUpdatedNode(Node node)(Code) | | notifyUpdatedNode - notify page manager event listeners of
updated node event
Parameters: node - updated managed node if known |
removeListener | public void removeListener(PageManagerEventListener listener)(Code) | | removeListener - remove page manager event listener
Parameters: listener - page manager event listener |
reset | public void reset()(Code) | | |
userFolderExists | public boolean userFolderExists(String userName)(Code) | | |
|
|
|