Package | Description |
---|---|
org.apache.jackrabbit.server.io |
The jackrabbit webdav server uses the classes defined in this package in order
to perform import and export operations in order to respond to PUT, MKCOL, PROPPATCH
and PROPFIND, GET, HEAD requests, respectively.
|
org.apache.jackrabbit.server.jcr | |
org.apache.jackrabbit.server.remoting.davex | |
org.apache.jackrabbit.spi2dav | |
org.apache.jackrabbit.webdav | |
org.apache.jackrabbit.webdav.bind | |
org.apache.jackrabbit.webdav.client.methods |
Provides classes for use with the Apache HttpClient, supporting WebDAV
request methods.
|
org.apache.jackrabbit.webdav.jcr |
Contains JCR specific implementations.
|
org.apache.jackrabbit.webdav.jcr.observation | |
org.apache.jackrabbit.webdav.jcr.property | |
org.apache.jackrabbit.webdav.jcr.search | |
org.apache.jackrabbit.webdav.jcr.transaction | |
org.apache.jackrabbit.webdav.jcr.version |
Contains JCR specific implementations for the following interfaces:
VersionableResource
VersionControlledResource
VersionResource
VersionHistoryResource
|
org.apache.jackrabbit.webdav.jcr.version.report |
Contains JCR specific reports.
|
org.apache.jackrabbit.webdav.lock |
Provides interfaces and classes for locking related issues.
|
org.apache.jackrabbit.webdav.observation |
Contains interfaces and classes related to observation, which is not covered
by the WebDAV protocol.
|
org.apache.jackrabbit.webdav.ordering |
Contains interfaces and classes used to cover the functionality defined by the
RFC 3648: Web Distributed Authoring
and Versioning (WebDAV) Ordered Collections Protocol .
|
org.apache.jackrabbit.webdav.search |
Contains interfaces and classes used to cover the functionality defined by the
Internet
Draft WebDAV Search.
|
org.apache.jackrabbit.webdav.security | |
org.apache.jackrabbit.webdav.security.report | |
org.apache.jackrabbit.webdav.server | |
org.apache.jackrabbit.webdav.simple | |
org.apache.jackrabbit.webdav.transaction |
Contains interfaces and classes related to transaction locks.
|
org.apache.jackrabbit.webdav.version |
Interfaces and classes used to cover functionality defined by
RFC 3253: Versioning Extensions to WebDAV.
|
org.apache.jackrabbit.webdav.version.report |
Report interface and inplementation for default reports defined by RFC 3253.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CopyMoveHandler.copy(CopyMoveContext context,
DavResource source,
DavResource destination)
Executes the copy with the given parameters.
|
boolean |
CopyMoveManager.copy(CopyMoveContext context,
DavResource source,
DavResource destination)
Handles the copy command
|
boolean |
CopyMoveManagerImpl.copy(CopyMoveContext context,
DavResource source,
DavResource destination) |
boolean |
DefaultHandler.copy(CopyMoveContext context,
DavResource source,
DavResource destination) |
boolean |
DefaultHandler.delete(DeleteContext deleteContext,
DavResource member) |
boolean |
DeleteHandler.delete(DeleteContext deleteContext,
DavResource resource)
Executes the delete operation with the given parameters.
|
boolean |
DeleteManager.delete(DeleteContext deleteContext,
DavResource resource)
Delegates the delete operation to the fist handler that accepts it.
|
boolean |
DeleteManagerImpl.delete(DeleteContext deleteContext,
DavResource member) |
boolean |
CopyMoveHandler.move(CopyMoveContext context,
DavResource source,
DavResource destination)
Executes the move with the given parameters.
|
boolean |
CopyMoveManager.move(CopyMoveContext context,
DavResource source,
DavResource destination)
Handles the move command
|
boolean |
CopyMoveManagerImpl.move(CopyMoveContext context,
DavResource source,
DavResource destination) |
boolean |
DefaultHandler.move(CopyMoveContext context,
DavResource source,
DavResource destination) |
Modifier and Type | Method and Description |
---|---|
boolean |
JCRWebdavServer.attachSession(WebdavRequest request)
Acquires a DavSession either from the session cache or creates a new
one by login to the repository.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JcrRemotingServlet.doGet(WebdavRequest webdavRequest,
WebdavResponse webdavResponse,
DavResource davResource) |
protected void |
JcrRemotingServlet.doPost(WebdavRequest webdavRequest,
WebdavResponse webdavResponse,
DavResource davResource) |
Modifier and Type | Method and Description |
---|---|
static RepositoryException |
ExceptionConverter.generate(DavException davExc) |
static RepositoryException |
ExceptionConverter.generate(DavException davExc,
HttpRequestBase request) |
static RepositoryException |
ExceptionConverter.generate(DavException davExc,
int methodCode,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
DavServletResponse.sendError(DavException error)
Send a response body given more detailed information about the error
occurred.
|
void |
WebdavResponseImpl.sendError(DavException exception)
If the specifid exception provides an error condition an Xml response body
is sent providing more detailed information about the error.
|
Modifier and Type | Method and Description |
---|---|
void |
DavResource.addMember(DavResource resource,
InputContext inputContext)
Add the given resource as an internal member to this resource.
|
MultiStatusResponse |
DavResource.alterProperties(List<? extends PropEntry> changeList)
Set/add and remove the specified properties from this resource.
|
boolean |
DavSessionProvider.attachSession(WebdavRequest request)
Acquires a DavSession.
|
void |
DavResource.copy(DavResource destination,
boolean shallow)
Copy this DavResource to the given destination resource
|
DavResource |
DavResourceFactory.createResource(DavResourceLocator locator,
DavServletRequest request,
DavServletResponse response)
Create a
DavResource object from the given locator, request and response
objects. |
DavResource |
DavResourceFactory.createResource(DavResourceLocator locator,
DavSession session)
Create a new
DavResource object from the given locator and session. |
BindInfo |
WebdavRequestImpl.getBindInfo() |
DavResourceLocator |
DavServletRequest.getDestinationLocator()
Parse the
Destination header
and return the locator of the corresponding resource . |
DavResourceLocator |
WebdavRequestImpl.getDestinationLocator()
Parse the destination header field and return the path of the destination
resource.
|
DavResourceLocator |
WebdavRequestImpl.getHrefLocator(String href)
Parse a href and return the path of the resource.
|
LabelInfo |
WebdavRequestImpl.getLabelInfo() |
LockInfo |
DavServletRequest.getLockInfo()
Return the parsed 'lockinfo' request body, the
Timeout header and the Depth header
of a LOCK request as LockInfo object. |
LockInfo |
WebdavRequestImpl.getLockInfo()
LockInfo object encapsulating the information passed with a LOCK
request if the LOCK request body was valid. |
MergeInfo |
WebdavRequestImpl.getMergeInfo() |
OptionsInfo |
WebdavRequestImpl.getOptionsInfo() |
OrderPatch |
WebdavRequestImpl.getOrderPatch() |
DavPropertyNameSet |
DavServletRequest.getPropFindProperties()
Return the set of properties the client requested with a PROPFIND request
or an empty set if the type of PROPFIND request was
DavConstants.PROPFIND_ALL_PROP
or DavConstants.PROPFIND_PROPERTY_NAMES . |
DavPropertyNameSet |
WebdavRequestImpl.getPropFindProperties()
Returns the set of properties requested by the PROPFIND body or an
empty set if the
type is either 'allprop' or
'propname'. |
int |
DavServletRequest.getPropFindType()
Return the type of PROPFIND request as indicated by the PROPFIND request
body.
|
int |
WebdavRequestImpl.getPropFindType()
Returns the type of PROPFIND as indicated by the request body.
|
List<? extends PropEntry> |
DavServletRequest.getPropPatchChangeList()
Return a
List of property change operations. |
List<? extends PropEntry> |
WebdavRequestImpl.getPropPatchChangeList()
Return a
List of property change operations. |
RebindInfo |
WebdavRequestImpl.getRebindInfo() |
ReportInfo |
WebdavRequestImpl.getReportInfo() |
Document |
DavServletRequest.getRequestDocument()
Parse the Xml request body and return a
Document . |
Document |
WebdavRequestImpl.getRequestDocument() |
SubscriptionInfo |
WebdavRequestImpl.getSubscriptionInfo() |
TransactionInfo |
WebdavRequestImpl.getTransactionInfo() |
UnbindInfo |
WebdavRequestImpl.getUnbindInfo() |
UpdateInfo |
WebdavRequestImpl.getUpdateInfo() |
ActiveLock |
DavResource.lock(LockInfo reqLockInfo)
Lock this webdav resource with the information retrieve from the request
and return the resulting lockdiscovery object.
|
void |
DavResource.move(DavResource destination)
Move this DavResource to the given destination resource
|
ActiveLock |
DavResource.refreshLock(LockInfo reqLockInfo,
String lockToken)
Refresh an existing lock by resetting the timeout.
|
void |
DavResource.removeMember(DavResource member)
Removes the specified member from this resource.
|
void |
DavResource.removeProperty(DavPropertyName propertyName)
Remove the specified property from this resource.
|
void |
DavResource.setProperty(DavProperty<?> property)
Add/Set the specified property on this resource.
|
void |
DavResource.unlock(String lockToken)
Remove the lock identified by the included lock token from this resource.
|
Modifier and Type | Method and Description |
---|---|
void |
BindableResource.bind(DavResource collection,
DavResource newBinding)
Will add a new binding to the given collection referencing this resource.
|
static BindInfo |
BindInfo.createFromXml(Element root)
Build an
BindInfo object from the root element present
in the request body. |
static ParentElement |
ParentElement.createFromXml(Element root)
Build an
ParentElement object from an XML element DAV:parent |
static RebindInfo |
RebindInfo.createFromXml(Element root)
Build an
RebindInfo object from the root element present
in the request body. |
static UnbindInfo |
UnbindInfo.createFromXml(Element root)
Build an
UnbindInfo object from the root element present
in the request body. |
BindInfo |
BindServletRequest.getBindInfo()
Returns the
BindInfo present with the request |
DavResourceLocator |
BindServletRequest.getHrefLocator(String href)
Parses a href and returns the path of the resource.
|
RebindInfo |
BindServletRequest.getRebindInfo()
Returns the
RebindInfo present with the request |
UnbindInfo |
BindServletRequest.getUnbindInfo()
Returns the
UnbindInfo present with the request |
void |
BindableResource.rebind(DavResource collection,
DavResource newBinding)
Will rebind the resource to the given collection.
|
Modifier and Type | Method and Description |
---|---|
DavException |
BaseDavRequest.getResponseException(HttpResponse response)
Obtain a
DavException representing the response. |
Modifier and Type | Method and Description |
---|---|
void |
BaseDavRequest.checkSuccess(HttpResponse response)
Check the response and throw when it is considered to represent a failure.
|
EventDiscovery |
BaseDavRequest.getResponseBodyAsEventDiscovery(HttpResponse response)
Return response body as
EventDiscovery object. |
LockDiscovery |
BaseDavRequest.getResponseBodyAsLockDiscovery(HttpResponse response)
Return response body as
LockDiscovery object. |
MultiStatus |
BaseDavRequest.getResponseBodyAsMultiStatus(HttpResponse response)
Return response body as
MultiStatus object. |
SubscriptionDiscovery |
BaseDavRequest.getResponseBodyAsSubscriptionDiscovery(HttpResponse response)
Return response body as
SubscriptionDiscovery object. |
Modifier and Type | Class and Description |
---|---|
class |
JcrDavException
JcrDavException extends the DavException in order to
wrap various repository exceptions. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultItemCollection.addMember(DavResource resource,
InputContext inputContext)
If the specified resource represents a collection, a new node is
added to the item represented by this resource. |
void |
DefaultItemResource.addMember(DavResource resource,
InputContext inputContext)
Method is not allowed.
|
void |
EventJournalResourceImpl.addMember(DavResource resource,
InputContext inputContext) |
void |
RootCollection.addMember(DavResource resource,
InputContext inputContext)
Throws exception: 403 Forbidden.
|
void |
WorkspaceResourceImpl.addMember(DavResource resource,
InputContext inputContext)
Throws 403 exception (Forbidden)
|
void |
VersionControlledItemCollection.addVersionControl()
Adds version control to this resource.
|
void |
WorkspaceResourceImpl.addVersionControl() |
void |
RootCollection.addWorkspace(DavResource workspace) |
MultiStatusResponse |
DefaultItemCollection.alterProperties(List<? extends PropEntry> changeList)
Loops over the given
List s and alters the properties accordingly. |
MultiStatusResponse |
DefaultItemResource.alterProperties(List<? extends PropEntry> changeList)
Loops over the given
List and alters the properties accordingly. |
MultiStatusResponse |
VersionControlledItemCollection.alterProperties(List<? extends PropEntry> changeList) |
MultiStatusResponse |
WorkspaceResourceImpl.alterProperties(List<? extends PropEntry> changeList)
Handles an attempt to set
ItemResourceConstants.JCR_NAMESPACES
and forwards any other set or remove requests to the super class. |
static void |
JcrDavSession.checkImplementation(DavSession davSession) |
String |
VersionControlledItemCollection.checkin()
Calls
Node.checkin() on the underlying repository node. |
String |
WorkspaceResourceImpl.checkin() |
void |
VersionControlledItemCollection.checkout()
Calls
Node.checkout() on the underlying repository node. |
void |
WorkspaceResourceImpl.checkout() |
DavResource |
DavResourceFactoryImpl.createResource(DavResourceLocator locator,
DavServletRequest request,
DavServletResponse response)
Create a new
DavResource from the specified locator and request
objects. |
DavResource |
DavResourceFactoryImpl.createResource(DavResourceLocator locator,
DavSession session)
Create a new
DavResource from the given locator and session. |
static Session |
JcrDavSession.getRepositorySession(DavSession davSession) |
VersionHistoryResource |
VersionControlledItemCollection.getVersionHistory()
Returns the
VersionHistory associated with the repository node. |
VersionHistoryResource |
WorkspaceResourceImpl.getVersionHistory() |
void |
VersionControlledItemCollection.label(LabelInfo labelInfo)
Modify the labels present with the versions of this resource.
|
void |
WorkspaceResourceImpl.label(LabelInfo labelInfo) |
ActiveLock |
DefaultItemCollection.lock(LockInfo reqLockInfo)
Creates a lock on this resource by locking the underlying
node . |
MultiStatus |
VersionControlledItemCollection.merge(MergeInfo mergeInfo)
Merge the repository node represented by this resource according to the
information present in the given
MergeInfo object. |
MultiStatus |
WorkspaceResourceImpl.merge(MergeInfo mergeInfo) |
void |
DefaultItemCollection.orderMembers(OrderPatch orderPatch)
Reorder the child nodes of the repository item represented by this
resource as indicated by the specified
OrderPatch object. |
ActiveLock |
DefaultItemCollection.refreshLock(LockInfo reqLockInfo,
String lockToken)
Refreshes the lock on this resource.
|
void |
DefaultItemCollection.removeMember(DavResource member)
Removes the repository item represented by the specified member
resource.
|
void |
DefaultItemResource.removeMember(DavResource member)
Method is not allowed.
|
void |
EventJournalResourceImpl.removeMember(DavResource member) |
void |
RootCollection.removeMember(DavResource member)
Calls
Workspace.deleteWorkspace(String) for the workspace with
the name as indicated by the specified member. |
void |
WorkspaceResourceImpl.removeMember(DavResource member)
Throws 403 exception (Forbidden)
|
void |
DefaultItemCollection.removeProperty(DavPropertyName propertyName)
This implementation of the
DavResource does only allow
to remove the mixinnodetypes property. |
void |
DefaultItemResource.removeProperty(DavPropertyName propertyName)
Removing properties is not allowed, for a single-value JCR-property without
a value does not exist.
|
void |
DefaultItemCollection.setProperty(DavProperty<?> property)
This implementation of the
DavResource does only allow
to set the mixinnodetypes property. |
void |
DefaultItemResource.setProperty(DavProperty<?> property)
Sets the given property.
|
void |
WorkspaceResourceImpl.setProperty(DavProperty<?> property)
Allows to alter the registered namespaces (
ItemResourceConstants.JCR_NAMESPACES )
or register node types ItemResourceConstants.JCR_NODETYPES_CND
where the passed value is a cnd string containing the definition
and forwards any other property to the super class. |
void |
VersionControlledItemCollection.uncheckout()
Not implemented.
|
void |
WorkspaceResourceImpl.uncheckout() |
void |
DefaultItemCollection.unlock(String lockToken)
Remove the write lock from this resource by unlocking the underlying
node . |
MultiStatus |
VersionControlledItemCollection.update(UpdateInfo updateInfo)
Perform an update on this resource.
|
MultiStatus |
WorkspaceResourceImpl.update(UpdateInfo updateInfo)
While RFC 3253 does not define any version-related operations for the
workspace resource, this implementation uses
VersionControlledResource.update(UpdateInfo)
to map Workspace.restore(javax.jcr.version.Version[], boolean) to
a WebDAV call. |
protected int |
JCRWebdavServerServlet.validateDestination(DavResource destResource,
WebdavRequest request,
boolean checkHeader)
Modified variant needed for JCR move and copy that isn't compliant to
WebDAV.
|
Modifier and Type | Method and Description |
---|---|
static int |
SubscriptionImpl.getJcrEventType(EventType eventType)
Static utility method to convert an
EventType as present in
the Xml body into the corresponding JCR event constant defined by
Event . |
EventDiscovery |
SubscriptionManagerImpl.poll(String subscriptionId,
long timeout,
ObservationResource resource)
Retrieve all event bundles accumulated since for the subscription specified
by the given id.
|
Subscription |
SubscriptionManagerImpl.subscribe(SubscriptionInfo info,
String subscriptionId,
ObservationResource resource)
Create a new
Subscription or update an existing Subscription
and add it as eventlistener to the ObservationManager . |
void |
SubscriptionManagerImpl.unsubscribe(String subscriptionId,
ObservationResource resource)
Unsubscribe the
Subscription with the given id and remove it
from the ObservationManager as well as
from the internal map. |
Constructor and Description |
---|
SubscriptionImpl(SubscriptionInfo info,
ObservationResource resource)
|
Constructor and Description |
---|
NamespacesProperty(DavProperty<?> property) |
ValuesProperty(DavProperty<?> property,
int defaultType,
ValueFactory valueFactory)
Wrap the specified
DavProperty in a new ValuesProperty . |
Modifier and Type | Method and Description |
---|---|
MultiStatus |
SearchResourceImpl.search(SearchInfo sInfo)
Execute the query defined by the given
sInfo . |
Modifier and Type | Method and Description |
---|---|
ActiveLock |
TxLockManagerImpl.createLock(LockInfo lockInfo,
DavResource resource)
Create a new lock.
|
ActiveLock |
TxLockManagerImpl.refreshLock(LockInfo lockInfo,
String lockToken,
DavResource resource)
Refresh the lock identified by the given lock token.
|
void |
TxLockManagerImpl.releaseLock(String lockToken,
DavResource resource)
Throws UnsupportedOperationException.
|
void |
TxLockManagerImpl.releaseLock(TransactionInfo lockInfo,
String lockToken,
TransactionResource resource)
Release the lock identified by the given lock token.
|
Modifier and Type | Method and Description |
---|---|
VersionHistoryResource |
VersionItemCollection.getVersionHistory()
Returns the
VersionHistory associated with the repository version. |
VersionResource[] |
VersionHistoryItemCollection.getVersions()
Return an array of
VersionResource s representing all versions
present in the underlying JCR version history. |
void |
VersionItemCollection.label(LabelInfo labelInfo)
Modify the labels defined for the underlying repository version.
|
void |
VersionHistoryItemCollection.removeMember(DavResource member)
Removing a version resource is achieved by calling
removeVersion
on the versionhistory item this version belongs to. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJcrReport.init(DavResource resource,
ReportInfo info)
Performs basic validation checks common to all JCR specific reports.
|
void |
ExportViewReport.init(DavResource resource,
ReportInfo info) |
void |
JcrPrivilegeReport.init(DavResource resource,
ReportInfo info) |
void |
LocateByUuidReport.init(DavResource resource,
ReportInfo info) |
void |
LocateCorrespondingNodeReport.init(DavResource resource,
ReportInfo info) |
void |
NodeTypesReport.init(DavResource resource,
ReportInfo info) |
void |
RegisteredNamespacesReport.init(DavResource resource,
ReportInfo info) |
void |
RepositoryDescriptorsReport.init(DavResource resource,
ReportInfo info) |
Modifier and Type | Method and Description |
---|---|
ActiveLock |
LockManager.createLock(LockInfo lockInfo,
DavResource resource)
Create a new lock for the given
resource . |
ActiveLock |
SimpleLockManager.createLock(LockInfo lockInfo,
DavResource resource)
Adds the lock for the given resource, replacing any existing lock.
|
ActiveLock |
LockManager.refreshLock(LockInfo lockInfo,
String lockToken,
DavResource resource)
Refresh the lock identified by the given lockToken and initially created
on the specified resource.
|
ActiveLock |
SimpleLockManager.refreshLock(LockInfo lockInfo,
String lockToken,
DavResource resource) |
void |
LockManager.releaseLock(String lockToken,
DavResource resource)
Release the lock identified by the given lockToken and initially created
on the specified resource.
|
void |
SimpleLockManager.releaseLock(String lockToken,
DavResource resource)
Remove the lock hold by the given resource.
|
Constructor and Description |
---|
LockInfo(Element liElement,
long timeout,
boolean isDeep)
Create a new
LockInfo object from the given information. |
Modifier and Type | Method and Description |
---|---|
SubscriptionInfo |
ObservationDavServletRequest.getSubscriptionInfo()
Return a
SubscriptionInfo object representing the subscription
info present in the SUBSCRIBE request body or null if
retrieving the subscription info fails. |
EventDiscovery |
ObservationResource.poll(String subscriptionId,
long timeout)
Retrieve the list of events that where recorded for the event listener
with the given SubscriptionId.
|
EventDiscovery |
SubscriptionManager.poll(String subscriptionId,
long timeout,
ObservationResource resource)
Retrieve the list of events that occurred since the last poll.
|
Subscription |
ObservationResource.subscribe(SubscriptionInfo info,
String subscriptionId)
Subscribe this resource for event listening defined by the specified
subscription info.
|
Subscription |
SubscriptionManager.subscribe(SubscriptionInfo info,
String subscriptionId,
ObservationResource resource)
Create a new
Subscription or update an existing Subscription .. |
void |
ObservationResource.unsubscribe(String subscriptionId)
Unsubscribe the event listener with the given SubscriptionId.
|
void |
SubscriptionManager.unsubscribe(String subscriptionId,
ObservationResource resource)
Unsubscribe the
Subscription with the given id. |
Constructor and Description |
---|
SubscriptionInfo(Element reqInfo,
long timeout,
boolean isDeep)
|
Modifier and Type | Method and Description |
---|---|
static OrderPatch |
OrderPatch.createFromXml(Element orderPatchElement)
Create a new
OrderPath object. |
OrderPatch |
OrderingDavServletRequest.getOrderPatch()
Return a
OrderPatch object encapsulating the request body
of an ORDERPATCH request or null if the request body was
either missing or could not be parsed. |
void |
OrderingResource.orderMembers(OrderPatch orderPatch)
Reorders the internal members of this resource according to the
instructions present in the specified
OrderPatch object. |
Modifier and Type | Method and Description |
---|---|
static SearchInfo |
SearchInfo.createFromXml(Element searchRequest)
Create a new
SearchInfo from the specifying document
retrieved from the request body. |
MultiStatus |
SearchResource.search(SearchInfo sInfo)
Runs a search with the language and query defined in the
SearchInfo
object specified and returns a MultiStatus object listing the
results. |
Modifier and Type | Method and Description |
---|---|
void |
AclResource.alterAcl(AclProperty aclProperty)
Modify the DAV:acl property of this resource object.
Note: RFC 3744 limits modification of access control elements (ACEs) to elements that are neither inherited nor protected. |
static AclProperty |
AclProperty.createFromXml(Element aclElement)
Build a new
AclProperty object from the request body of the
ACL method call. |
static Principal |
Principal.createFromXml(Element principalElement) |
static Privilege |
Privilege.getPrivilege(Element privilege)
Factory method to create/retrieve a
Privilege from the given
DAV:privilege element. |
Report |
AclResource.getReport(ReportInfo reportInfo)
Same as
DeltaVResource.getReport(ReportInfo) . |
Constructor and Description |
---|
CurrentUserPrivilegeSetProperty(DavProperty<?> xmlDavProperty)
Create a new
CurrentUserPrivilegeSetProperty from a DavProperty
as obtained from a MultiStatusResponse. |
SupportedPrivilegeSetProperty(DavProperty<?> p) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSecurityReport.init(DavResource resource,
ReportInfo info)
Checks if the given resource and report info are not
null ,
that the requested report type matches this implementation and that no
other Depth header than 0 is present. |
void |
AclPrincipalReport.init(DavResource resource,
ReportInfo info) |
void |
PrincipalMatchReport.init(DavResource resource,
ReportInfo info) |
void |
PrincipalSearchReport.init(DavResource resource,
ReportInfo info) |
void |
SearchablePropertyReport.init(DavResource resource,
ReportInfo info) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWebdavServlet.sendUnauthorized(WebdavRequest request,
WebdavResponse response,
DavException error)
Sets the "WWW-Authenticate" header and writes the appropriate error
to the given webdav response.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractWebdavServlet.doAcl(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The ACL method
|
protected void |
AbstractWebdavServlet.doBaselineControl(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The BASELINECONTROL method
|
protected void |
AbstractWebdavServlet.doBind(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The BIND method
|
protected void |
AbstractWebdavServlet.doCheckin(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The CHECKIN method
|
protected void |
AbstractWebdavServlet.doCheckout(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The CHECKOUT method
|
protected void |
AbstractWebdavServlet.doCopy(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The COPY method
|
protected void |
AbstractWebdavServlet.doDelete(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The DELETE method
|
protected void |
AbstractWebdavServlet.doGet(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The GET method
|
protected void |
AbstractWebdavServlet.doLabel(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The LABEL method
|
protected void |
AbstractWebdavServlet.doLock(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The LOCK method
|
protected void |
AbstractWebdavServlet.doMerge(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The MERGE method
|
protected void |
AbstractWebdavServlet.doMkActivity(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The MKACTIVITY method
|
protected void |
AbstractWebdavServlet.doMkCol(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The MKCOL method
|
protected void |
AbstractWebdavServlet.doMkWorkspace(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The MKWORKSPACE method
|
protected void |
AbstractWebdavServlet.doMove(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The MOVE method
|
protected void |
AbstractWebdavServlet.doOptions(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The OPTION method
|
protected void |
AbstractWebdavServlet.doOrderPatch(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The ORDERPATCH method
|
protected void |
AbstractWebdavServlet.doPoll(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The POLL method
|
protected void |
AbstractWebdavServlet.doPost(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The POST method.
|
protected void |
AbstractWebdavServlet.doPropFind(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The PROPFIND method
|
protected void |
AbstractWebdavServlet.doPropPatch(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The PROPPATCH method
|
protected void |
AbstractWebdavServlet.doPut(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The PUT method
|
protected void |
AbstractWebdavServlet.doRebind(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The REBIND method
|
protected void |
AbstractWebdavServlet.doReport(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The REPORT method
|
protected void |
AbstractWebdavServlet.doSearch(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The SEARCH method
|
protected void |
AbstractWebdavServlet.doSubscribe(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The SUBSCRIBE method
|
protected void |
AbstractWebdavServlet.doUnbind(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The UNBIND method
|
protected void |
AbstractWebdavServlet.doUncheckout(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The UNCHECKOUT method
|
protected void |
AbstractWebdavServlet.doUnlock(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The UNLOCK method
|
protected void |
AbstractWebdavServlet.doUnsubscribe(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The UNSUBSCRIBE method
|
protected void |
AbstractWebdavServlet.doUpdate(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The UPDATE method
|
protected void |
AbstractWebdavServlet.doVersionControl(WebdavRequest request,
WebdavResponse response,
DavResource resource)
The VERSION-CONTROL method
|
protected boolean |
AbstractWebdavServlet.execute(WebdavRequest request,
WebdavResponse response,
int method,
DavResource resource)
Executes the respective method in the given webdav context
|
protected int |
AbstractWebdavServlet.validateDestination(DavResource destResource,
WebdavRequest request,
boolean checkHeader)
Validate the given destination resource and return the proper status
code: Any return value greater/equal than
HttpServletResponse.SC_NO_CONTENT
indicates an error. |
Modifier and Type | Method and Description |
---|---|
void |
DavResourceImpl.addMember(DavResource member,
InputContext inputContext)
Adds a new member to this resource.
|
void |
VersionHistoryResourceImpl.addMember(DavResource member,
InputContext inputContext)
The version storage is read-only -> fails with 403.
|
void |
VersionResourceImpl.addMember(DavResource member,
InputContext inputContext)
The version storage is read-only -> fails with 403.
|
void |
VersionControlledResourceImpl.addVersionControl()
Adds version control to this resource.
|
void |
DeltaVResourceImpl.addWorkspace(DavResource workspace)
The JCR api does not provide methods to create new workspaces.
|
MultiStatusResponse |
DavResourceImpl.alterProperties(List<? extends PropEntry> changeList) |
MultiStatusResponse |
VersionHistoryResourceImpl.alterProperties(List<? extends PropEntry> changeList)
Version storage is read-only -> fails with 403.
|
MultiStatusResponse |
VersionResourceImpl.alterProperties(List<? extends PropEntry> changeList)
Version storage is read-only -> fails with 403.
|
boolean |
DavSessionProviderImpl.attachSession(WebdavRequest request)
Acquires a DavSession.
|
void |
DavResourceImpl.bind(DavResource collection,
DavResource newBinding) |
String |
VersionControlledResourceImpl.checkin()
Calls
Node.checkin() on the underlying repository node. |
void |
VersionControlledResourceImpl.checkout()
Calls
Node.checkout() on the underlying repository node. |
void |
DavResourceImpl.copy(DavResource destination,
boolean shallow) |
DavResource |
ResourceFactoryImpl.createResource(DavResourceLocator locator,
DavServletRequest request,
DavServletResponse response)
Create a new
DavResource from the given locator and
request. |
DavResource |
ResourceFactoryImpl.createResource(DavResourceLocator locator,
DavSession session)
Create a new
DavResource from the given locator and webdav
session. |
protected DavResource |
DeltaVResourceImpl.createResourceFromLocator(DavResourceLocator loc)
Create a new
DavResource from the given locator. |
DavResource[] |
DeltaVResourceImpl.getReferenceResources(DavPropertyName hrefPropertyName)
Return an array of
DavResource objects that are referenced
by the property with the specified name. |
Report |
DeltaVResourceImpl.getReport(ReportInfo reportInfo) |
VersionHistoryResource |
VersionControlledResourceImpl.getVersionHistory()
Returns the
VersionHistory associated with the repository node. |
VersionHistoryResource |
VersionResourceImpl.getVersionHistory()
Returns the
VersionHistory associated with the repository version. |
VersionResource[] |
VersionHistoryResourceImpl.getVersions()
Return an array of
VersionResource s representing all versions
present in the underlying JCR version history. |
void |
VersionControlledResourceImpl.label(LabelInfo labelInfo)
Modify the labels present with the versions of this resource.
|
void |
VersionResourceImpl.label(LabelInfo labelInfo)
Modify the labels defined for the underlying repository version.
|
ActiveLock |
DavResourceImpl.lock(LockInfo lockInfo) |
MultiStatus |
VersionControlledResourceImpl.merge(MergeInfo mergeInfo)
MERGE feature is not (yet) supported.
|
void |
DavResourceImpl.move(DavResource destination) |
void |
DavResourceImpl.rebind(DavResource collection,
DavResource newBinding) |
ActiveLock |
DavResourceImpl.refreshLock(LockInfo lockInfo,
String lockToken) |
void |
DavResourceImpl.removeMember(DavResource member) |
void |
VersionHistoryResourceImpl.removeMember(DavResource member)
Removing a version resource is achieved by calling
removeVersion
on the versionhistory item this version belongs to. |
void |
VersionResourceImpl.removeMember(DavResource member)
The version storage is read-only -> fails with 403.
|
void |
DavResourceImpl.removeProperty(DavPropertyName propertyName) |
void |
VersionHistoryResourceImpl.removeProperty(DavPropertyName propertyName)
Version storage is read-only -> fails with 403.
|
void |
VersionResourceImpl.removeProperty(DavPropertyName propertyName)
Version storage is read-only -> fails with 403.
|
void |
DavResourceImpl.setProperty(DavProperty<?> property) |
void |
VersionHistoryResourceImpl.setProperty(DavProperty<?> property)
Version storage is read-only -> fails with 403.
|
void |
VersionResourceImpl.setProperty(DavProperty<?> property)
Version storage is read-only -> fails with 403.
|
void |
VersionControlledResourceImpl.uncheckout()
UNCHECKOUT cannot be implemented on top of JSR 170 repository.
|
void |
DavResourceImpl.unlock(String lockToken) |
MultiStatus |
VersionControlledResourceImpl.update(UpdateInfo updateInfo)
UPDATE feature is not (yet) supported.
|
Modifier and Type | Method and Description |
---|---|
TransactionInfo |
TransactionDavServletRequest.getTransactionInfo()
Retrieve the 'transactioninfo' request body that must be included with
the UNLOCK request of a transaction lock.
|
void |
TxLockManager.releaseLock(TransactionInfo lockInfo,
String lockToken,
TransactionResource resource)
Release the lock identified by the given lock token.
|
void |
TransactionResource.unlock(String lockToken,
TransactionInfo info)
Overloads the
unlock method of the DavResource
interface. |
Constructor and Description |
---|
TransactionInfo(Element transactionInfo)
Creates a
TransactionInfo object from the given 'transactionInfo'
element. |
Modifier and Type | Method and Description |
---|---|
void |
VersionableResource.addVersionControl()
Converts this versionable resource into a version-controlled resource.
|
void |
DeltaVResource.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. |
String |
VersionControlledResource.checkin()
Perform a checkin on the version controlled resource.
|
void |
VersionControlledResource.checkout()
Perform a checkout on the version controlled resource.
|
static OptionsInfo |
OptionsInfo.createFromXml(Element optionsElement)
Build an
OptionsInfo object from the root element present
in the request body. |
DavResource |
BaselineResource.getBaselineCollection()
Return the resource that represents the baseline-collection of this
baseline, which is identified the href present in the
BaselineResource.BASELINE_COLLECTION
property. |
LabelInfo |
DeltaVServletRequest.getLabelInfo()
Return the request body as
LabelInfo object or null
if parsing the request body or the creation of the label info failed. |
MergeInfo |
DeltaVServletRequest.getMergeInfo()
Return the request body as
MergeInfo object or null
if the creation failed due to invalid format. |
OptionsInfo |
DeltaVServletRequest.getOptionsInfo()
Returns the
OptionsInfo present with the request or null . |
DavResource[] |
DeltaVResource.getReferenceResources(DavPropertyName hrefPropertyName)
Returns an array of
DavResource objects that are referenced
by the HrefProperty with
the specified name . |
Report |
DeltaVResource.getReport(ReportInfo reportInfo)
Runs the report specified by the given
ReportInfo . |
ReportInfo |
DeltaVServletRequest.getReportInfo()
Returns the request body and the Depth header as
ReportInfo
object. |
UpdateInfo |
DeltaVServletRequest.getUpdateInfo()
Parses the UPDATE request body a build the corresponding
UpdateInfo
object. |
VersionHistoryResource |
VersionControlledResource.getVersionHistory()
Returns the
VersionHistoryResource , that is referenced in the
'version-history ' property. |
VersionHistoryResource |
VersionResource.getVersionHistory()
Returns the
VersionHistoryResource , that is referenced in the
DAV:version-history property. |
VersionResource[] |
VersionHistoryResource.getVersions()
Returns an array of
VersionResource s containing all versions
that are a member of this resource. |
void |
VersionControlledResource.label(LabelInfo labelInfo)
Modify the labels of the version referenced by the DAV:checked-in property
of this checked-in version-controlled resource.
|
void |
VersionResource.label(LabelInfo labelInfo)
Modify the labels of this version resource.
|
MultiStatus |
VersionControlledResource.merge(MergeInfo mergeInfo)
Perform a merge on this resource using the specified
MergeInfo . |
void |
VersionControlledResource.uncheckout()
Perform an uncheckout on the version controlled resource.
|
MultiStatus |
VersionControlledResource.update(UpdateInfo updateInfo)
Perform an update on this resource using the specified
UpdateInfo . |
Constructor and Description |
---|
LabelInfo(Element labelElement)
Create a new
LabelInfo from the given element. |
LabelInfo(Element labelElement,
int depth)
Create a new
LabelInfo from the given element and depth
integer. |
MergeInfo(Element mergeElement)
Create a new
MergeInfo |
UpdateInfo(Element updateElement)
Create a new
UpdateInfo object. |
Modifier and Type | Method and Description |
---|---|
Report |
ReportType.createReport(DeltaVResource resource,
ReportInfo info)
Creates a new
Report with this type. |
void |
CompareBaselineReport.init(DavResource resource,
ReportInfo info) |
void |
ExpandPropertyReport.init(DavResource resource,
ReportInfo info) |
void |
LatestActivityVersionReport.init(DavResource resource,
ReportInfo info)
Check all the preconditions for this report.
|
void |
LocateByHistoryReport.init(DavResource resource,
ReportInfo info) |
void |
Report.init(DavResource resource,
ReportInfo info)
Set the
DeltaVResource for which this report was requested
and the ReportInfo as specified by the REPORT request body,
that defines the details for this report.Please note that this methods should perform basic validation checks in order to prevent exceptional situations during the xml serialization. |
void |
VersionTreeReport.init(DavResource resource,
ReportInfo info)
Validates the specified resource and info objects.
|
Constructor and Description |
---|
ReportInfo(Element reportElement,
int depth)
Create a new
ReportInfo object from the given Xml element. |
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.