| org.apache.lenya.cms.site.tree2.SiteTreeImpl
Constructor Summary | |
public | SiteTreeImpl(ServiceManager manager, Area area, Logger logger) |
Method Summary | |
public Link | add(String path, Document doc) | public SiteNode | add(String path) | public SiteNode | add(String path, String followingSiblingPath) | protected void | changed() | protected void | checkInvariants() | public boolean | contains(String path) | public boolean | contains(String path, String language) | public boolean | containsByUuid(String uuid, String language) | public boolean | containsInAnyLanguage(String uuid) | public String | getArea() | public Link | getByUuid(String uuid, String language) | protected String | getKey(Link link) | protected String | getKey(String uuid, String language) | public SiteNode | getNode(String path) | protected NodeFactory | getNodeFactory() | public SiteNode[] | getNodes() | protected TreeNode | getParent(TreeNode node) Parameters: node - A node. | protected String | getParentPath(String path) | protected String | getPath() | protected Map | getPath2Node() | public Publication | getPublication() | public Node | getRepositoryNode() | protected int | getRevision(Node repoNode) | protected RootNode | getRoot() | public Session | getSession() | protected String | getSourceUri() | public SiteNode[] | getTopLevelNodes() | protected TreeNodeImpl | getTreeNode(String path) | protected Map | getUuidLanguage2Link() | protected void | initRoot() | public boolean | isModified() | protected void | linkAdded(Link link) | protected void | linkRemoved(String uuid, String language) | protected synchronized void | load() | protected void | loadLinks(TreeNodeImpl node, NamespaceHelper helper, Element element) | protected void | loadNodes(TreeNode parent, NamespaceHelper helper, Element element) | public void | moveDown(String path) | public void | moveUp(String path) | protected void | nodeAdded(SiteNode node) | protected void | nodeRemoved(String path) | public SiteNode[] | preOrder() | protected void | reset() | public synchronized void | save() | protected void | saveLinks(SiteNode node, NamespaceHelper helper, Element nodeElement) | protected void | saveNodes(TreeNode parent, NamespaceHelper helper, Element parentElement) |
manager | protected ServiceManager manager(Code) | | |
SiteTreeImpl | public SiteTreeImpl(ServiceManager manager, Area area, Logger logger)(Code) | | Parameters: manager - The service manager. Parameters: area - The area. Parameters: logger - The logger. |
changed | protected void changed()(Code) | | |
checkInvariants | protected void checkInvariants()(Code) | | |
containsInAnyLanguage | public boolean containsInAnyLanguage(String uuid)(Code) | | |
getPath2Node | protected Map getPath2Node()(Code) | | |
getRepositoryNode | public Node getRepositoryNode()(Code) | | |
getRevision | protected int getRevision(Node repoNode)(Code) | | |
getUuidLanguage2Link | protected Map getUuidLanguage2Link()(Code) | | |
initRoot | protected void initRoot()(Code) | | |
isModified | public boolean isModified()(Code) | | |
linkAdded | protected void linkAdded(Link link)(Code) | | |
load | protected synchronized void load()(Code) | | |
preOrder | public SiteNode[] preOrder()(Code) | | The nodes in pre-order enumeration. |
reset | protected void reset()(Code) | | |
|
|