|
eXo JCR :: Component :: Webdav Service 1.15.4-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.webdav.resource.GenericResource
org.exoplatform.services.jcr.webdav.resource.VersionHistoryResource
public class VersionHistoryResource
Created by The eXo Platform SARL .
| Field Summary | |
|---|---|
protected VersionedResource |
versionedResource
Versioned resource. |
protected javax.jcr.version.VersionHistory |
versionHistory
History of versions. |
| Fields inherited from class org.exoplatform.services.jcr.webdav.resource.GenericResource |
|---|
identifier, namespaceContext, PRESET_PROP, type |
| Fields inherited from interface org.exoplatform.services.jcr.webdav.resource.Resource |
|---|
COLLECTION, FILE, NULL, VERSION, VERSION_HISTORY, VERSIONED_COLLECTION, VERSIONED_FILE |
| Fields inherited from interface org.exoplatform.services.jcr.webdav.util.PropertyConstants |
|---|
CHILDCOUNT, 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 Summary | |
|---|---|
VersionHistoryResource(URI identifier,
javax.jcr.version.VersionHistory versionHistory,
VersionedResource versionedResource,
WebDavNamespaceContext namespaceContext)
|
|
| Method Summary | |
|---|---|
org.exoplatform.common.util.HierarchicalProperty |
getProperty(QName name)
|
VersionResource |
getVersion(String name)
Returns the version of resouce by name. |
Set<VersionResource> |
getVersions()
Returns all versions of a resource. |
boolean |
isCollection()
|
protected URI |
versionURI(String versionName)
Returns URI of the resource version. |
| Methods inherited from class org.exoplatform.services.jcr.webdav.resource.GenericResource |
|---|
getIdentifier, getNamespaceContext, getProperties, getType, lockDiscovery, supportedLock, supportedMethodSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final javax.jcr.version.VersionHistory versionHistory
protected final VersionedResource versionedResource
| Constructor Detail |
|---|
public VersionHistoryResource(URI identifier,
javax.jcr.version.VersionHistory versionHistory,
VersionedResource versionedResource,
WebDavNamespaceContext namespaceContext)
throws IllegalResourceTypeException,
javax.jcr.RepositoryException
identifier - resource identifierversionHistory - history of versionsversionedResource - resourcenamespaceContext - namespace context
IllegalResourceTypeException - IllegalResourceTypeException
javax.jcr.RepositoryException - | Method Detail |
|---|
public org.exoplatform.common.util.HierarchicalProperty getProperty(QName name)
throws javax.jcr.PathNotFoundException,
javax.jcr.AccessDeniedException,
javax.jcr.RepositoryException
name - property name
javax.jcr.PathNotFoundException - PathNotFoundException
javax.jcr.AccessDeniedException - AccessDeniedException
javax.jcr.RepositoryException - RepositoryExceptionpublic final boolean isCollection()
public Set<VersionResource> getVersions()
throws javax.jcr.RepositoryException,
IllegalResourceTypeException
javax.jcr.RepositoryException - RepositoryException
IllegalResourceTypeException - IllegalResourceTypeException
public VersionResource getVersion(String name)
throws javax.jcr.RepositoryException,
IllegalResourceTypeException
name - version name
javax.jcr.RepositoryException - RepositoryException
IllegalResourceTypeException - IllegalResourceTypeExceptionprotected final URI versionURI(String versionName)
versionName - version name
|
eXo JCR :: Component :: Webdav Service 1.15.4-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||