| java.lang.Object org.apache.jetspeed.page.PageManagerUtils
Field Summary | |
protected static Log | log |
Method Summary | |
public static String | concatenatePaths(String base, String path) | public static void | createUserHomePagesFromRoles(PageManager pageManager, 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 static void | deepCopyFolder(PageManager pageManager, Folder srcFolder, String destinationPath, String owner) | public static void | deepMergeFolder(PageManager pageManager, Folder srcFolder, String destinationPath, String owner, String uniqueName) Deep merges from a source folder into a destination path for the given owner. |
log | protected static Log log(Code) | | |
createUserHomePagesFromRoles | public static void createUserHomePagesFromRoles(PageManager pageManager, 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 static void deepCopyFolder(PageManager pageManager, Folder srcFolder, String destinationPath, String owner) throws NodeException(Code) | | Deep copy a folder
Parameters: source - source folder Parameters: dest - destination folder |
deepMergeFolder | public static void deepMergeFolder(PageManager pageManager, Folder srcFolder, String destinationPath, String owner, String uniqueName) throws NodeException(Code) | | Deep merges from a source folder into a destination path for the given owner.
The unique name is used in conflict resolution for name collisions.
Example: deep merge a given role folder 'X' into /_user/david
uniqueName = 'X'
owner = 'david'
destinationPath = '_user/david'
Parameters: srcFolder - Parameters: destinationPath - Parameters: owner - Parameters: uniqueName - throws: NodeException - |
|
|