|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeltaVResource
The DeltaVResource encapsulates 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 |
METHODS
The generic deltaV compliant resource defines one additional method REPORT. |
static String |
METHODS_INCL_MKWORKSPACE
If the server support the Workspace featured defined by RFC 3253 certain DeltaVResources may also support the MKWORKSPACE method. |
| Method Summary | |
|---|---|
void |
addWorkspace(DavResource workspace)
Add a new member to this resource, that represents a 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. |
| 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 |
|---|
static final String METHODS
DavResource.METHODS,
Constant Field Valuesstatic final String METHODS_INCL_MKWORKSPACE
DeltaVResources may also support the MKWORKSPACE method.
addWorkspace(DavResource),
Constant Field Values| Method Detail |
|---|
OptionsResponse getOptionResponse(OptionsInfo optionsInfo)
optionsInfo -
null
if the specified optionsInfo was null or empty.
Report getReport(ReportInfo reportInfo)
throws DavException
ReportInfo.
reportInfo -
DavException - in case an error occurred or if the specified ReportInfo
is either not valid or cannot be run by the given resource.
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.
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.HrefProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||