public interface DeltaVResource extends DavResource
DeltaVResource
encapsulates the functionality common to all
DeltaV compliant resources.
RFC 3253 defines the following required properties:
DAV:comment
DAV:creator-displayname
DAV:supported-method-set
DAV:supported-live-property-set
DAV:supported-report-set
In 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
DeltaVResource s 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, unlock
static final java.lang.String METHODS
DavResource.METHODS
,
Constant Field Valuesstatic final java.lang.String METHODS_INCL_MKWORKSPACE
DeltaVResource
s 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
- DavResource
sDavException
- 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
Copyright © 2010 - 2020 Adobe. All Rights Reserved