| java.lang.Object org.jasig.portal.layout.dlm.HandlerUtils
HandlerUtils | public class HandlerUtils (Code) | | Utility functions for applying user changes to the user's plf prior
to persisting.
version: $Revision: 36294 $Date$ since: uPortal 2.5 |
Method Summary | |
static Element | createOrMovePLFOwnedNode(Element compViewNode, Element compViewParent, boolean createIfNotFound, boolean createChildNodes, Document plf, Element plfParent, IPerson person) Creates or moves the plf copy of a node in the composite view and
inserting it before its next highest sibling so that if dlm is not used
then the model ends up exactly like the original non-dlm persistance
version. | public static Element | createPlfNodeAndPath(Element compViewNode, boolean includeChildNodes, IPerson person) Creates a copy of the passed in ILF node in the PLF if not already
there as well as creating any ancestor nodes along the path from this
node up to the layout root if they are not there. | public static Element | getPLFNode(Element compViewNode, IPerson person, boolean create, boolean includeChildNodes) This method returns the PLF version of the passed in compViewNode. |
createOrMovePLFOwnedNode | static Element createOrMovePLFOwnedNode(Element compViewNode, Element compViewParent, boolean createIfNotFound, boolean createChildNodes, Document plf, Element plfParent, IPerson person) throws PortalException(Code) | | Creates or moves the plf copy of a node in the composite view and
inserting it before its next highest sibling so that if dlm is not used
then the model ends up exactly like the original non-dlm persistance
version. The position set is also updated and if no ilf copy nodes are
found in the sibling list the set is cleared if it exists.
|
createPlfNodeAndPath | public static Element createPlfNodeAndPath(Element compViewNode, boolean includeChildNodes, IPerson person) throws PortalException(Code) | | Creates a copy of the passed in ILF node in the PLF if not already
there as well as creating any ancestor nodes along the path from this
node up to the layout root if they are not there.
|
getPLFNode | public static Element getPLFNode(Element compViewNode, IPerson person, boolean create, boolean includeChildNodes) throws PortalException(Code) | | This method returns the PLF version of the passed in compViewNode. If
create is false and a node with the same id is not found in the PLF then
null is returned. If the create is true then an attempt is made to
create the node along with any necessary ancestor nodes needed to
represent the path along the tree.
|
|
|