org.exoplatform.services.jcr.webdav.resource
Class VersionResource
java.lang.Object
org.exoplatform.services.jcr.webdav.resource.GenericResource
org.exoplatform.services.jcr.webdav.resource.VersionResource
- All Implemented Interfaces:
- Resource, PropertyConstants
public class VersionResource
- extends GenericResource
Created by The eXo Platform SARL .
- Version:
- $Id: VersionResource.java 64317 2010-12-23 08:57:57Z paristote $
- 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 |
version
protected final javax.jcr.version.Version version
versionedResource
protected final VersionedResource versionedResource
VersionResource
public VersionResource(java.net.URI identifier,
VersionedResource versionedResource,
javax.jcr.version.Version version,
WebDavNamespaceContext namespaceContext)
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
contentNode
public javax.jcr.Node contentNode()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
getContentAsStream
public java.io.InputStream getContentAsStream()
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.