Package com.logicaldoc.webdav.version
Class VersionResourceImpl
java.lang.Object
com.logicaldoc.webdav.resource.DavResourceImpl
com.logicaldoc.webdav.resource.DeltaVResourceImpl
com.logicaldoc.webdav.version.VersionResourceImpl
- All Implemented Interfaces:
Serializable
,org.apache.jackrabbit.webdav.DavResource
,org.apache.jackrabbit.webdav.version.DeltaVResource
,org.apache.jackrabbit.webdav.version.VersionResource
public class VersionResourceImpl
extends DeltaVResourceImpl
implements org.apache.jackrabbit.webdav.version.VersionResource
For more informations, please visit
VersionResourceImpl
- Author:
- wenzkseb
- See Also:
-
Field Summary
Fields inherited from interface org.apache.jackrabbit.webdav.DavResource
METHODS
Fields inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource
METHODS, METHODS_INCL_MKWORKSPACE
Fields inherited from interface org.apache.jackrabbit.webdav.version.VersionResource
ACTIVITY_SET, CHECKIN_FORK, CHECKOUT_FORK, CHECKOUT_SET, LABEL_NAME_SET, METHODS, PREDECESSOR_SET, SUCCESSOR_SET, VERSION_CONTROLLED_BINDING_SET, VERSION_HISTORY, VERSION_NAME
-
Constructor Summary
ConstructorDescriptionVersionResourceImpl
(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavResourceFactory factory, WebdavSession session, ResourceConfig config, Resource item) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMember
(org.apache.jackrabbit.webdav.DavResource member, org.apache.jackrabbit.webdav.io.InputContext inputContext) Adds a new member to this resource.org.apache.jackrabbit.webdav.MultiStatusResponse
alterProperties
(List changeList) org.apache.jackrabbit.webdav.MultiStatusResponse
alterProperties
(org.apache.jackrabbit.webdav.property.DavPropertySet setProperties, org.apache.jackrabbit.webdav.property.DavPropertyNameSet removePropertyNames) org.apache.jackrabbit.webdav.DavResourceIterator
org.apache.jackrabbit.webdav.version.VersionHistoryResource
void
label
(org.apache.jackrabbit.webdav.version.LabelInfo labelInfo) void
removeMember
(org.apache.jackrabbit.webdav.DavResource member) void
removeProperty
(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName) void
setProperty
(org.apache.jackrabbit.webdav.property.DavProperty<?> property) Methods inherited from class com.logicaldoc.webdav.resource.DeltaVResourceImpl
addWorkspace, getComplianceClass, getOptionResponse, getReferenceResources, getReport
Methods inherited from class com.logicaldoc.webdav.resource.DavResourceImpl
addLockManager, copy, exists, getCollection, getDisplayName, getExportContext, getFactory, getHref, getLocator, getLock, getLocks, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, hasLock, isCollection, isLockable, lock, move, refreshLock, spool, unlock
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jackrabbit.webdav.DavResource
addLockManager, copy, exists, getCollection, getComplianceClass, getDisplayName, getFactory, getHref, getLocator, getLock, getLocks, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, hasLock, isCollection, isLockable, lock, move, refreshLock, spool, unlock
Methods inherited from interface org.apache.jackrabbit.webdav.version.DeltaVResource
addWorkspace, getOptionResponse, getReferenceResources, getReport
-
Constructor Details
-
VersionResourceImpl
public VersionResourceImpl(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavResourceFactory factory, WebdavSession session, ResourceConfig config, Resource item) throws org.apache.jackrabbit.webdav.DavException - Throws:
org.apache.jackrabbit.webdav.DavException
-
-
Method Details
-
getMembers
public org.apache.jackrabbit.webdav.DavResourceIterator getMembers()- Specified by:
getMembers
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
getMembers
in classDavResourceImpl
- Returns:
- an iterator
- See Also:
-
addMember
public void addMember(org.apache.jackrabbit.webdav.DavResource member, org.apache.jackrabbit.webdav.io.InputContext inputContext) throws org.apache.jackrabbit.webdav.DavException Description copied from class:DavResourceImpl
Adds a new member to this resource.- Specified by:
addMember
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
addMember
in classDavResourceImpl
- Throws:
org.apache.jackrabbit.webdav.DavException
- See Also:
-
removeMember
public void removeMember(org.apache.jackrabbit.webdav.DavResource member) throws org.apache.jackrabbit.webdav.DavException - Specified by:
removeMember
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
removeMember
in classDavResourceImpl
- Throws:
org.apache.jackrabbit.webdav.DavException
-
setProperty
public void setProperty(org.apache.jackrabbit.webdav.property.DavProperty<?> property) throws org.apache.jackrabbit.webdav.DavException - Specified by:
setProperty
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
setProperty
in classDavResourceImpl
- Throws:
org.apache.jackrabbit.webdav.DavException
-
removeProperty
public void removeProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName) throws org.apache.jackrabbit.webdav.DavException - Specified by:
removeProperty
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
removeProperty
in classDavResourceImpl
- Throws:
org.apache.jackrabbit.webdav.DavException
-
alterProperties
public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(org.apache.jackrabbit.webdav.property.DavPropertySet setProperties, org.apache.jackrabbit.webdav.property.DavPropertyNameSet removePropertyNames) throws org.apache.jackrabbit.webdav.DavException - Overrides:
alterProperties
in classDavResourceImpl
- Parameters:
setProperties
- DAV propertiesremovePropertyNames
- DAV properties names- Returns:
- the status
- Throws:
org.apache.jackrabbit.webdav.DavException
- error in the DAV communication- See Also:
-
alterProperties
public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(List changeList) throws org.apache.jackrabbit.webdav.DavException - Specified by:
alterProperties
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
alterProperties
in classDavResourceImpl
- Throws:
org.apache.jackrabbit.webdav.DavException
-
label
public void label(org.apache.jackrabbit.webdav.version.LabelInfo labelInfo) throws org.apache.jackrabbit.webdav.DavException - Specified by:
label
in interfaceorg.apache.jackrabbit.webdav.version.VersionResource
- Throws:
org.apache.jackrabbit.webdav.DavException
-
getVersionHistory
public org.apache.jackrabbit.webdav.version.VersionHistoryResource getVersionHistory() throws org.apache.jackrabbit.webdav.DavException- Specified by:
getVersionHistory
in interfaceorg.apache.jackrabbit.webdav.version.VersionResource
- Throws:
org.apache.jackrabbit.webdav.DavException
-
getSupportedMethods
- Specified by:
getSupportedMethods
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
getSupportedMethods
in classDavResourceImpl
- Returns:
- DavResource#METHODS
- See Also:
-