|
eXo JCR :: Component :: Webdav Service 1.15.11-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
public abstract class GenericResource
Created by The eXo Platform SARL .
Abstract WebDav Resource implementation It is recommended to extend this
class instead of implement Resource itself
| Field Summary | |
|---|---|
protected URI |
identifier
Resource identifier. |
protected WebDavNamespaceContext |
namespaceContext
Namespace context. |
protected static Set<QName> |
PRESET_PROP
Properties which are set by JCR. |
protected int |
type
Resource 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 | |
|---|---|
GenericResource(int type,
URI identifier,
WebDavNamespaceContext namespaceContext)
|
|
| Method Summary | |
|---|---|
URI |
getIdentifier()
|
WebDavNamespaceContext |
getNamespaceContext()
|
Set<org.exoplatform.common.util.HierarchicalProperty> |
getProperties(boolean namesOnly)
|
int |
getType()
|
static org.exoplatform.common.util.HierarchicalProperty |
lockDiscovery(String token,
String lockOwner,
String timeOut)
Returns the information about lock. |
protected org.exoplatform.common.util.HierarchicalProperty |
supportedLock()
The information about supported locks. |
protected org.exoplatform.common.util.HierarchicalProperty |
supportedMethodSet()
The information about supported methods. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exoplatform.services.jcr.webdav.resource.Resource |
|---|
getProperty, isCollection |
| Field Detail |
|---|
protected final URI identifier
protected final int type
protected final WebDavNamespaceContext namespaceContext
protected static final Set<QName> PRESET_PROP
| Constructor Detail |
|---|
public GenericResource(int type,
URI identifier,
WebDavNamespaceContext namespaceContext)
type - resource typeidentifier - resource identifiernamespaceContext - namespace context| Method Detail |
|---|
public final URI getIdentifier()
getIdentifier in interface Resourcepublic final int getType()
getType in interface Resource
public Set<org.exoplatform.common.util.HierarchicalProperty> getProperties(boolean namesOnly)
throws javax.jcr.RepositoryException
getProperties in interface ResourcenamesOnly - - if true "empty" properties will be returned (w/o values
inside)
javax.jcr.RepositoryException - RepositoryExceptionpublic final WebDavNamespaceContext getNamespaceContext()
getNamespaceContext in interface Resource
public static org.exoplatform.common.util.HierarchicalProperty lockDiscovery(String token,
String lockOwner,
String timeOut)
token - lock tokenlockOwner - lockownertimeOut - lock timeout
protected org.exoplatform.common.util.HierarchicalProperty supportedLock()
protected org.exoplatform.common.util.HierarchicalProperty supportedMethodSet()
|
eXo JCR :: Component :: Webdav Service 1.15.11-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||