| java.lang.Object org.jasig.portal.layout.dlm.TabColumnPrefsHandler
TabColumnPrefsHandler | public class TabColumnPrefsHandler (Code) | | Applies user prefs changes to the user's plf prior to persisting.
version: $Revision: 36335 $ $Date: 2005-12-09 10:47:42 -0700 (Fri, 09 Dec 2005) $ since: uPortal 2.5 |
Method Summary | |
public static void | deleteNode(Element compViewNode, Element compViewParent, IPerson person) Handles user requests to delete UI elements. | public static void | moveElement(Element compViewNode, Element oldCompViewParent, IPerson person) This method is called from the TabColumnPrefsState class after a node
has already been moved from its old parent to its new in the ILF. |
deleteNode | public static void deleteNode(Element compViewNode, Element compViewParent, IPerson person) throws PortalException(Code) | | Handles user requests to delete UI elements. For ILF owned nodes it
delegates to the DeleteManager to add a delete directive. For PLF
owned nodes it deletes the node outright.
|
moveElement | public static void moveElement(Element compViewNode, Element oldCompViewParent, IPerson person) throws PortalException(Code) | | This method is called from the TabColumnPrefsState class after a node
has already been moved from its old parent to its new in the ILF. We can
get at the new parent via the compViewNode moved but need a separate
handle of the parent from whence it came. The goal of this method is to
make the appropriate change in the PLF to persist this action take by
the user. For ILF nodes this generally means adding an entry to the
position set for the new parent and removing any entry if it existed in
the position set in the old parent. For nodes that are owned by the
user (PLF owned nodes) the nodes are moved outright and now position
set is needed unless the new parent contains ILF nodes as well
requiring preservation of the user's ordering of the nodes for when the
ILF and PLF are merged again later on.
|
|
|