| org.apache.lenya.cms.publication.DocumentFactory
All known Subclasses: org.apache.lenya.cms.publication.DocumentFactoryImpl,
DocumentFactory | public interface DocumentFactory extends RepositoryItemFactory(Code) | | A DocumentIdentityMap avoids the multiple instanciation of a document object.
version: $Id: DocumentFactory.java 569341 2007-08-24 10:47:38Z andreas $ |
Method Summary | |
boolean | existsPublication(String id) Parameters: id - The publication ID. | Document | get(DocumentIdentifier identifier) Returns a document.
Parameters: identifier - The identifier of the document. | Document | get(Publication publication, String area, String uuid, String language) Returns a document.
Parameters: publication - The publication. Parameters: area - The area. Parameters: uuid - The document ID. Parameters: language - The language. | Document | get(Publication publication, String area, String uuid, String language, int revision) Returns a revision of a document.
Parameters: publication - The publication. Parameters: area - The area. Parameters: uuid - The document ID. Parameters: language - The language. Parameters: revision - The revision.. | Document | get(Publication publication, String area, String uuid) Builds a document for the default language.
Parameters: publication - The publication. Parameters: area - The area. Parameters: uuid - The document UUID. | Document | get(DocumentLocator locator) Parameters: locator - The locator. | Document | getAreaVersion(Document document, String area) Builds a clone of a document for another area.
Parameters: document - The document to clone. Parameters: area - The area of the target document. | Document | getFromURL(String webappUrl) Returns the document identified by a certain web application URL.
Parameters: webappUrl - The web application URL. | Document | getLanguageVersion(Document document, String language) Builds a clone of a document for another language.
Parameters: document - The document to clone. Parameters: language - The language of the target document. | Publication | getPublication(String id) Parameters: id - The publication ID. | Publication[] | getPublications() | Session | getSession() | boolean | isDocument(String webappUrl) Checks if a webapp URL represents a document.
Parameters: webappUrl - A web application URL. |
existsPublication | boolean existsPublication(String id)(Code) | | Parameters: id - The publication ID. If a publication with this ID exists. |
|
|