public interface DeltaVResource extends DavResource
DeltaVResource encapsulates the functionality common to all
DeltaV compliant resources.
RFC 3253 defines the following required properties:
DAV:commentDAV:creator-displaynameDAV:supported-method-setDAV:supported-live-property-setDAV:supported-report-setIn addition a DeltaV compliant resource must support the following METHODS:
DavResource| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHODS
The generic deltaV compliant resource defines one additional method REPORT.
|
static java.lang.String |
METHODS_INCL_MKWORKSPACE
If the server support the Workspace featured defined by RFC 3253 certain
DeltaVResources may also support the MKWORKSPACE method. |
| Modifier and Type | Method and Description |
|---|---|
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. |
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, unlockstatic final java.lang.String METHODS
DavResource.METHODS,
Constant Field Valuesstatic final java.lang.String METHODS_INCL_MKWORKSPACE
DeltaVResources may also support the MKWORKSPACE method.addWorkspace(DavResource),
Constant Field ValuesOptionsResponse 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 - DavResourcesDavException - 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.HrefPropertyCopyright © 2010 - 2023 Adobe. All Rights Reserved