| org.apache.lenya.cms.site.SiteStructure
All known Subclasses: org.apache.lenya.cms.site.tree2.SiteTreeImpl, org.apache.lenya.cms.site.simple.DocumentStore, org.apache.lenya.cms.site.tree2.DelegatingSiteTree,
SiteStructure | public interface SiteStructure extends RepositoryItem(Code) | | Object to hold a site structure information.
version: $Id: SiteStructure.java 487598 2006-12-15 17:01:14Z andreas $ |
add | Link add(String path, Document doc) throws SiteException(Code) | | Adds a link to a document.
Parameters: path - The path. Parameters: doc - The document. A link. throws: SiteException - if the document is already contained or the nodefor this path already contains a link for this language. |
add | SiteNode add(String path, String followingSiblingPath) throws SiteException(Code) | | Adds a site node before a specific other node.
Parameters: path - The path. Parameters: followingSiblingPath - The path of the node which will be thefollowing sibling of the node to insert. A site node. throws: SiteException - if the path is already contained. |
contains | boolean contains(String path)(Code) | | Checks if a node is contained for a certain path.
Parameters: path - The path. A boolean value. |
contains | boolean contains(String path, String language)(Code) | | Checks if a link is contained for a certain path and language.
Parameters: path - The path. Parameters: language - The language. A boolean value. |
containsByUuid | boolean containsByUuid(String uuid, String language)(Code) | | Checks if the structure contains a link with a certain UUID and language.
Parameters: uuid - The UUID. Parameters: language - The language. A boolean value. |
containsInAnyLanguage | boolean containsInAnyLanguage(String uuid)(Code) | | Checks if the structure contains any language version of a document.
Parameters: uuid - The uuid. A boolean value. |
getByUuid | Link getByUuid(String uuid, String language) throws SiteException(Code) | | Returns a node for a certain UUID.
Parameters: uuid - The UUID. Parameters: language - The language. a link. throws: SiteException - if no node is contained for the UUID. |
getRepositoryNode | Node getRepositoryNode()(Code) | | The repository node the site structure is stored in. |
getTopLevelNodes | SiteNode[] getTopLevelNodes()(Code) | | The top level nodes. |
|
|