org.jasig.portal.layout.dlm
Class PositionManager

java.lang.Object
  extended by org.jasig.portal.layout.dlm.PositionManager

public class PositionManager
extends Object

Applies and updates position specifiers for child nodes in the composite layout.

Since:
uPortal 2.5
Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $

Field Summary
static String RCS_ID
           
 
Constructor Summary
PositionManager()
           
 
Method Summary
static void updatePositionSet(Element compViewParent, Element plfParent, IPerson person)
          This method updates the positions recorded in a position set to reflect the ids of the nodes in the composite view of the layout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final String RCS_ID
See Also:
Constant Field Values
Constructor Detail

PositionManager

public PositionManager()
Method Detail

updatePositionSet

public static void updatePositionSet(Element compViewParent,
                                     Element plfParent,
                                     IPerson person)
                              throws PortalException
This method updates the positions recorded in a position set to reflect the ids of the nodes in the composite view of the layout. Any position nodes already in existence are reused to reduce database interaction needed to generate a new ID attribute. If any are left over after updating those position elements are removed. If no position set existed a new one is created for the parent. If no ILF nodes are found in the parent node then the position set as a whole is reclaimed.

Throws:
PortalException


Copyright © 2010 Jasig. All Rights Reserved.