| |
|
| org.apache.lenya.cms.publication.DocumentImpl
DocumentImpl | public class DocumentImpl extends AbstractLogEnabled implements Document(Code) | | A typical CMS document.
version: $Id: DocumentImpl.java 595602 2007-11-16 09:18:02Z andreas $ |
IDENTIFIABLE_TYPE | final protected static String IDENTIFIABLE_TYPE(Code) | | |
METADATA_CONTENT_TYPE | final protected static String METADATA_CONTENT_TYPE(Code) | | The name of the content type attribute. Any content managed by Lenya has a type; this
information can be used e.g. to provide an appropriate management interface.
|
METADATA_EXPIRES | final protected static String METADATA_EXPIRES(Code) | | The number of seconds from the request that a document can be cached before it expires
|
METADATA_EXTENSION | final protected static String METADATA_EXTENSION(Code) | | The extension to use for the document source.
|
METADATA_MIME_TYPE | final protected static String METADATA_MIME_TYPE(Code) | | The name of the mime type attribute.
|
METADATA_NAMESPACE | final public static String METADATA_NAMESPACE(Code) | | The meta data namespace.
|
METADATA_RESOURCE_TYPE | final protected static String METADATA_RESOURCE_TYPE(Code) | | The name of the resource type attribute. A resource has a resource type; this information can
be used e.g. for different rendering of different types.
|
manager | protected ServiceManager manager(Code) | | |
DocumentImpl | protected DocumentImpl(ServiceManager manager, DocumentFactory map, DocumentIdentifier identifier, int revision, Logger _logger)(Code) | | Creates a new instance of DefaultDocument.
Parameters: manager - The service manager. Parameters: map - The identity map the document belongs to. Parameters: identifier - The identifier. Parameters: revision - The revision number or -1 if the latest revision should be used. Parameters: _logger - a logger |
checkWritability | protected void checkWritability()(Code) | | |
existsAreaVersion | public boolean existsAreaVersion(String area)(Code) | | |
existsTranslation | public boolean existsTranslation(String language)(Code) | | |
getRevisionNumber | public int getRevisionNumber()(Code) | | |
hasLink | public boolean hasLink()(Code) | | |
isRevisionSpecified | protected boolean isRevisionSpecified()(Code) | | |
setExtension | protected void setExtension(String _extension)(Code) | | Sets the extension of the file in the URL.
Parameters: _extension - A string. |
setSourceExtension | public void setSourceExtension(String extension)(Code) | | |
|
|
|