public interface LockingCollectionResource extends CollectionResource, LockableResource
LockableResource on child resources to fully
support locking.
Note that this interface now extends LockableResource because collection resources
need to implement both in most cases.
If, however, you don't want your collection resources to be lockable, just
implement ConditionalCompatibleResource.
See http://www.ettrema.com:8080/browse/MIL-14.
| Modifier and Type | Method and Description |
|---|---|
LockToken |
createAndLock(String name,
LockTimeout timeout,
LockInfo lockInfo)
Create an empty non-collection resource of the given name and immediately
lock it.
|
child, getChildrengetCurrentLock, lock, refreshLock, unlockauthenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueIdLockToken createAndLock(String name, LockTimeout timeout, LockInfo lockInfo) throws io.milton.http.exceptions.NotAuthorizedException
LockNullResource
interface.name - - the name of the resource to createtimeout - - in secondslockInfo - io.milton.http.exceptions.NotAuthorizedExceptionLockNullResource