public class VersionedFileResource extends FileResource implements VersionedResource
dataPropertyCONTENT_SKIP, FILE_SKIP, nodeidentifier, namespaceContext, PRESET_PROP, typeCOLLECTION, FILE, NULL, VERSION, VERSION_HISTORY, VERSIONED_COLLECTION, VERSIONED_FILECHECKEDIN, CHECKEDOUT, LABELNAMESET, PREDECESSORSET, SUCCESSORSET, VERSIONHISTORY, VERSIONNAMECHILDCOUNT, CREATION_PATTERN, CREATIONDATE, DAV_ALLPROP, DAV_ALLPROP_INCLUDE, DISPLAYNAME, EXCLUSIVE, GETCONTENTLANGUAGE, GETCONTENTLENGTH, GETCONTENTTYPE, GETLASTMODIFIED, HASCHILDREN, IS_READ_ONLY, ISCOLLECTION, ISFOLDER, ISROOT, ISVERSIONED, JCR_CONTENT, JCR_DATA, LOCKDISCOVERY, LOCKSCOPE, LOCKTYPE, MODIFICATION_PATTERN, ORDERING_TYPE, OWNER, PARENTNAME, RESOURCETYPE, SUPPORTEDLOCK, SUPPORTEDMETHODSET, WRITE| Constructor and Description |
|---|
VersionedFileResource(URI identifier,
javax.jcr.Node node,
WebDavNamespaceContext namespaceContext) |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.common.util.HierarchicalProperty |
getProperty(QName name) |
VersionHistoryResource |
getVersionHistory() |
protected URI |
versionHistoryURI()
Resturns version history URI.
|
contentNode, dataProperty, getContentAsStream, getContentAsText, getProperties, isCollection, isTextContentgetIdentifier, getNamespaceContext, getType, lockDiscovery, supportedLock, supportedMethodSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdentifier, getNamespaceContext, getProperties, getType, isCollectionpublic VersionedFileResource(URI identifier, javax.jcr.Node node, WebDavNamespaceContext namespaceContext) throws IllegalResourceTypeException, javax.jcr.RepositoryException
identifier - resource identifiernode - nodenamespaceContext - namespace contextIllegalResourceTypeException - IllegalResourceTypeExceptionjavax.jcr.RepositoryException - RepositoryException}public VersionHistoryResource getVersionHistory() throws javax.jcr.RepositoryException, IllegalResourceTypeException
getVersionHistory in interface VersionedResourcejavax.jcr.RepositoryException - RepositoryExceptionIllegalResourceTypeException - IllegalResourceTypeExceptionprotected final URI versionHistoryURI()
public org.exoplatform.common.util.HierarchicalProperty getProperty(QName name) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getProperty in interface ResourcegetProperty in class FileResourcename - property namejavax.jcr.PathNotFoundException - PathNotFoundExceptionjavax.jcr.AccessDeniedException - AccessDeniedExceptionjavax.jcr.RepositoryException - RepositoryExceptionCopyright © 2016 eXo Platform SAS. All Rights Reserved.