org.apache.jackrabbit.webdav.ordering
Interface OrderingResource

All Superinterfaces:
DavResource
All Known Implementing Classes:
DefaultItemCollection, VersionControlledItemCollection, VersionHistoryItemCollection, VersionItemCollection

public interface OrderingResource
extends DavResource

OrderingResource extends the DavResource interface by METHODS relating to ordering functionality defined by RFC 3648.


Field Summary
static String METHODS
           
 
Method Summary
 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 specified OrderPatch 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 specified OrderPatch object.

Parameters:
orderPatch - as present in the ORDERPATCH request body.
Throws:
DavException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.