org.exoplatform.services.jcr.webdav.resource
Class VersionHistoryResource
java.lang.Object
org.exoplatform.services.jcr.webdav.resource.GenericResource
org.exoplatform.services.jcr.webdav.resource.VersionHistoryResource
- All Implemented Interfaces:
- Resource, PropertyConstants
public class VersionHistoryResource
- extends GenericResource
Created by The eXo Platform SARL .
- Version:
- $Id: VersionHistoryResource.java 35184 2009-08-07 14:14:37Z pnedonosko $
- Author:
- Gennady Azarenkov
| Fields inherited from interface org.exoplatform.services.jcr.webdav.util.PropertyConstants |
CHILDCOUNT, CREATION_PATTERN, CREATIONDATE, DISPLAYNAME, EXCLUSIVE, GETCONTENTLANGUAGE, GETCONTENTLENGTH, GETCONTENTTYPE, GETLASTMODIFIED, HASCHILDREN, ISCOLLECTION, ISFOLDER, ISROOT, ISVERSIONED, LOCKDISCOVERY, LOCKSCOPE, LOCKTYPE, MODIFICATION_PATTERN, ORDERING_TYPE, OWNER, PARENTNAME, RESOURCETYPE, SUPPORTEDLOCK, SUPPORTEDMETHODSET, WRITE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionHistory
protected final javax.jcr.version.VersionHistory versionHistory
versionedResource
protected final VersionedResource versionedResource
VersionHistoryResource
public VersionHistoryResource(java.net.URI identifier,
javax.jcr.version.VersionHistory versionHistory,
VersionedResource versionedResource,
WebDavNamespaceContext namespaceContext)
throws IllegalResourceTypeException,
javax.jcr.RepositoryException
- Throws:
IllegalResourceTypeException
javax.jcr.RepositoryException
getProperty
public org.exoplatform.common.util.HierarchicalProperty getProperty(javax.xml.namespace.QName name)
throws javax.jcr.PathNotFoundException,
javax.jcr.AccessDeniedException,
javax.jcr.RepositoryException
- Returns:
- property by its name
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
isCollection
public final boolean isCollection()
- Returns:
- true if this is collection-able resource - i.e. this resource may contain other
resources
getVersions
public java.util.Set<VersionResource> getVersions()
throws javax.jcr.RepositoryException,
IllegalResourceTypeException
- Throws:
javax.jcr.RepositoryException
IllegalResourceTypeException
getVersion
public VersionResource getVersion(java.lang.String name)
throws javax.jcr.RepositoryException,
IllegalResourceTypeException
- Throws:
javax.jcr.RepositoryException
IllegalResourceTypeException
versionURI
protected final java.net.URI versionURI(java.lang.String versionName)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.