|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The DeltaVResource encapsultes the functionality common to all
DeltaV compliant resources.
DAV:commentDAV:creator-displaynameDAV:supported-method-setDAV:supported-live-property-setDAV:supported-report-set
DavResource| Field Summary | |
static String |
COMPLIANCE_CLASS
|
static String |
METHODS
The generic deltaV complient resource defines one additional method REPORT. |
| Fields inherited from interface org.apache.jackrabbit.webdav.DavResource |
UNDEFINED_MODIFICATIONTIME |
| Method Summary | |
void |
addWorkspace(DavResource workspace)
Add a new member to this resource, that represents a workspace. Please note that no resource must exist at the location of the new workspace. |
OptionsResponse |
getOptionResponse(OptionsInfo optionsInfo)
Retrieves the information requested in the OPTIONS request body and returns the corresponding values. |
DavResource[] |
getReferenceResources(DavPropertyName hrefPropertyName)
Returns an array of DavResource objects that are referenced
by the HrefProperty with
the specified name. |
Report |
getReport(ReportInfo reportInfo)
Runs the report specified by the given ReportInfo. |
DavSession |
getSession()
Retrieve the DavSession associated with this resource. |
| Methods inherited from interface org.apache.jackrabbit.webdav.DavResource |
addLockManager, addMember, addMember, alterProperties, copy, exists, getCollection, getComplianceClass, getDisplayName, getFactory, getHref, getLocator, getLock, getLocks, getMembers, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getStream, getSupportedMethods, hasLock, isCollection, isLockable, lock, move, refreshLock, removeMember, removeProperty, setProperty, unlock |
| Field Detail |
public static final String COMPLIANCE_CLASS
public static final String METHODS
METHODS,
DavResource.METHODS,
Constant Field Values| Method Detail |
public OptionsResponse getOptionResponse(OptionsInfo optionsInfo)
optionsInfo -
null
if the specified optionsInfo was null or empty.
public Report getReport(ReportInfo reportInfo)
throws DavException
ReportInfo.
reportInfo -
DavException - in case an error occured or if the specified ReportInfo
is either not valid or cannot be run by the given resource.
public void addWorkspace(DavResource workspace)
throws DavException
workspace - resource representing the new workspace to be created as
member of this resource.
DavException - if creating the new workspace fails.
public DavResource[] getReferenceResources(DavPropertyName hrefPropertyName)
throws DavException
DavResource objects that are referenced
by the HrefProperty with
the specified name.
hrefPropertyName -
DavResources
DavException - if the given hrefPropertyName does point to an
unknown property or does not represent the name of a
href property.
Finally the exception may be caused if the property contains the href
of a non-existing resource, which cannot be resolved.HrefPropertypublic DavSession getSession()
DavSession associated with this resource.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||