Interface AclResource
-
- All Superinterfaces:
DavResource
public interface AclResource extends DavResource
AclResource
...
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
METHODS
The AclResource must support the ACL method and the REPORT method in order to retrieve various security related reports.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
alterAcl(AclProperty aclProperty)
Modify the DAV:acl property of this resource object.
Note: RFC 3744 limits modification of access control elements (ACEs) to elements that are neither inherited nor protected.Report
getReport(ReportInfo reportInfo)
Same asDeltaVResource.getReport(ReportInfo)
.-
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
-
-
-
-
Method Detail
-
alterAcl
void alterAcl(AclProperty aclProperty) throws DavException
Modify the DAV:acl property of this resource object.
Note: RFC 3744 limits modification of access control elements (ACEs) to elements that are neither inherited nor protected.- Parameters:
aclProperty
- DAV:acl property listing the set of ACEs to be modified by this call. This may be a subset of all access control elements present on this resource object only.- Throws:
DavException
- If the request fails. RFC 3744 defines a set of preconditions which must be met for a successful ACL request. If these conditions are violated, this method must fail with403 (Forbidden)
or409 (Conflict)
and should provide a detailed error condition in the response body. See RFC 3744 Section 8.1.1 (ACL Preconditions) for further details.
-
getReport
Report getReport(ReportInfo reportInfo) throws DavException
Same asDeltaVResource.getReport(ReportInfo)
.- Parameters:
reportInfo
- specifying the report details retrieved from the REPORT request.- Returns:
- the requested report.
- Throws:
DavException
- in case an error occurred or if the specifiedReportInfo
is either not valid or cannot be run by this resource.
-
-