| java.lang.Object org.jasig.portal.layout.simple.SimpleUserLayoutManager
SimpleUserLayoutManager | public class SimpleUserLayoutManager implements IUserLayoutManager(Code) | | An implementation of a user layout manager that uses 2.0-release store implementations.
Prior to uPortal 2.5, this class existed in the org.jasig.portal.layout package.
It was moved to its present package to reflect that it is part of the
Simple Layout Management implementation.
author: Peter Kharchenko pkharchenko@interactivebusiness.com" version: $Revision: 36690 $ |
Method Summary | |
public boolean | addLayoutEventListener(LayoutEventListener l) | public IUserLayoutNodeDescription | addNode(IUserLayoutNodeDescription node, String parentId, String nextSiblingId) | public boolean | canAddNode(IUserLayoutNodeDescription node, String parentId, String nextSiblingId) | protected boolean | canAddNode(IUserLayoutNodeDescription node, IUserLayoutNodeDescription parent, String nextSiblingId) | public boolean | canDeleteNode(String nodeId) | protected boolean | canDeleteNode(IUserLayoutNodeDescription node) | public boolean | canMoveNode(String nodeId, String parentId, String nextSiblingId) | protected boolean | canMoveNode(IUserLayoutNodeDescription node, IUserLayoutNodeDescription parent, String nextSiblingId) | public boolean | canUpdateNode(String nodeId) | public boolean | canUpdateNode(IUserLayoutNodeDescription node) | public void | clearMarkings() | public IUserLayoutNodeDescription | createNodeDescription(int nodeType) | public boolean | deleteNode(String nodeId) | public String | getCacheKey() | public Enumeration | getChildIds(String nodeId) | public int | getDepth(String nodeId) Returns the depth of a node in the layout tree. | public int | getLayoutId() | protected IUserLayoutStore | getLayoutStore() | public String | getNextSiblingId(String nodeId) | public IUserLayoutNodeDescription | getNode(String nodeId) | public String | getParentId(String nodeId) | public String | getPreviousSiblingId(String nodeId) | public String | getRootFolderId() | public String | getSubscribeId(String fname) Returns a subscription id given a functional name.
Parameters: fname - the functional name to lookup. | public IUserLayout | getUserLayout() | public void | getUserLayout(ContentHandler ch) | public void | getUserLayout(String nodeId, ContentHandler ch) | protected void | getUserLayout(Node n, ContentHandler ch) | public Document | getUserLayoutDOM() | protected boolean | isLayoutDirty() | public void | loadUserLayout() | public void | markAddTargets(IUserLayoutNodeDescription node) | public void | markMoveTargets(String nodeId) | public boolean | moveNode(String nodeId, String parentId, String nextSiblingId) | public void | processLayoutParameters(IPerson person, UserPreferences userPrefs, HttpServletRequest req) | public boolean | removeLayoutEventListener(LayoutEventListener l) | public void | saveUserLayout() | public void | setLayoutStore(IUserLayoutStore store) | public void | setUserLayout(IUserLayout userLayout) | public synchronized boolean | updateNode(IUserLayoutNodeDescription node) |
clearMarkings | public void clearMarkings()(Code) | | |
createNodeDescription | public IUserLayoutNodeDescription createNodeDescription(int nodeType) throws PortalException(Code) | | A factory method to create an empty IUserLayoutNodeDescription instance
Parameters: nodeType - a node type value an IUserLayoutNodeDescription instance exception: PortalException - if the error occurs. |
getDepth | public int getDepth(String nodeId) throws PortalException(Code) | | Returns the depth of a node in the layout tree.
Parameters: nodeId - a String value a depth value exception: PortalException - if an error occurs |
getLayoutId | public int getLayoutId()(Code) | | |
getSubscribeId | public String getSubscribeId(String fname) throws PortalException(Code) | | Returns a subscription id given a functional name.
Parameters: fname - the functional name to lookup. a String subscription id. |
isLayoutDirty | protected boolean isLayoutDirty()(Code) | | |
|
|