Method Summary |
|
public boolean | addLayoutEventListener(LayoutEventListener l) |
public synchronized IUserLayoutNodeDescription | addNode(IUserLayoutNodeDescription nodeDesc, String parentId, String nextSiblingId) |
public boolean | canAddNode(IUserLayoutNodeDescription nodeDesc, String parentId, String nextSiblingId) |
public boolean | canDeleteNode(String nodeId) |
public boolean | canMoveNode(String nodeId, String parentId, String nextSiblingId) |
public boolean | canUpdateNode(IUserLayoutNodeDescription nodeDescription) |
protected boolean | changeSiblingNodesOrder(String firstNodeId) |
protected boolean | changeSiblingNodesPriorities(String nodeId) |
protected boolean | changeSiblingNodesPriorities(Vector nodes) |
protected synchronized boolean | changeSiblingNodesPriorities(ALNode node, String parentNodeId, String nextNodeId) |
public String | createFragment(String fragmentName, String fragmentDesc, String fragmentRootName) |
public IUserLayoutNodeDescription | createNodeDescription(int nodeType) |
public void | deleteFragment(String fragmentId) |
public void | deleteFragment() |
public synchronized boolean | deleteNode(String nodeId) |
public String | getCacheKey() Return a cache key, uniqly corresponding to the composition and the structure of the user layout. |
public Enumeration | getChildIds(String nodeId) Returns a list of child node Ids for a given node. |
public int | getDepth(String nodeId) |
public ILayoutFragment | getFragment(String fragmentId) |
public Collection | getFragments() |
public int | getLayoutId() Returns an Id of the current user layout. |
public String | getLostFolderXML() |
public String | getNextSiblingId(String nodeId) Determine an Id of a next sibling node. |
public IUserLayoutNodeDescription | getNode(String nodeId) |
public IALNodeDescription | getNodeBeingAdded() |
public IALNodeDescription | getNodeBeingMoved() |
public String | getParentId(String nodeId) Returns an Id of a parent user layout node. |
public String | getPreviousSiblingId(String nodeId) Determine an Id of a previous sibling node. |
public static PriorityRestriction | getPriorityRestriction(ALNode node) Return a priority restriction for the given node. |
public Collection | getPublishGroups(String fragmentId) |
public String | getRootFolderId() Returns an id of the root folder. |
public Collection | getSubscribableFragments() |
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 contentHandler) |
public void | getUserLayout(String nodeId, ContentHandler contentHandler) |
public Document | getUserLayoutDOM() |
public boolean | isFragmentLoaded() |
public void | loadFragment(String fragmentId) |
public void | loadUserLayout() |
public void | markAddTargets(IUserLayoutNodeDescription nodeDesc) |
public void | markMoveTargets(String nodeId) |
public synchronized boolean | moveNode(String nodeId, String parentId, String nextSiblingId) Moves a node to a place in the tree denoted by parent and next sibling. |
protected void | moveWrongNodesToLostFolder() |
public void | processLayoutParameters(IPerson person, UserPreferences userPrefs, HttpServletRequest req) |
public boolean | removeLayoutEventListener(LayoutEventListener l) |
public void | saveFragment(ILayoutFragment fragment) |
public void | saveFragment(ILayoutFragment fragment, UserPreferences userPrefs) |
public void | saveFragment() |
public void | saveFragment(UserPreferences userPrefs) |
public void | saveUserLayout() |
public void | saveUserLayout(UserPreferences userPrefs) |
public void | setAutoCommit(boolean autoCommit) |
public void | setLayoutStore(IUserLayoutStore layoutStore) |
public void | setPublishGroups(IGroupMember[] groups, String fragmentId) |
public void | setUserLayout(IUserLayout layout) |
public void | setUserLayoutDOM(Document domLayout) |
public synchronized boolean | updateNode(IUserLayoutNodeDescription nodeDesc) |