|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeltaVResource
The DeltaVResource
encapsultes the functionality common to all
DeltaV compliant resources.
DAV:comment
DAV:creator-displayname
DAV:supported-method-set
DAV:supported-live-property-set
DAV:supported-report-set
DavResource
Field Summary | |
---|---|
static String |
METHODS
The generic deltaV complient resource defines one additional method REPORT. |
static String |
METHODS_INCL_MKWORKSPACE
If the server support the Workspace featured defined by RFC 3253 certain DeltaVResource s may also support the MKWORKSPACE method. |
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 . |
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
DeltaVResource
s may also support the MKWORKSPACE method.
addWorkspace(DavResource)
,
Constant Field ValuesMethod 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 occured 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
s
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 |