Interface OrderingResource
-
- All Superinterfaces:
DavResource
- All Known Implementing Classes:
DefaultItemCollection
,VersionControlledItemCollection
,VersionHistoryItemCollection
,VersionItemCollection
public interface OrderingResource extends DavResource
OrderingResource
extends theDavResource
interface by METHODS relating to ordering functionality defined by RFC 3648.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isOrderable()
Returns true if this resources allows ordering of its internal members.void
orderMembers(OrderPatch orderPatch)
Reorders the internal members of this resource according to the instructions present in the specifiedOrderPatch
object.-
Methods inherited from interface org.apache.jackrabbit.webdav.DavResource
addLockManager, addMember, alterProperties, copy, exists, getCollection, getComplianceClass, getDisplayName, getFactory, getHref, getLocator, getLock, getLocks, getMembers, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, getSupportedMethods, hasLock, isCollection, isLockable, lock, move, refreshLock, removeMember, removeProperty, setProperty, spool, unlock
-
-
-
-
Field Detail
-
METHODS
static final String METHODS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isOrderable
boolean isOrderable()
Returns true if this resources allows ordering of its internal members.- Returns:
- true if internal members are orderable.
-
orderMembers
void orderMembers(OrderPatch orderPatch) throws DavException
Reorders the internal members of this resource according to the instructions present in the specifiedOrderPatch
object.- Parameters:
orderPatch
- as present in the ORDERPATCH request body.- Throws:
DavException
-
-