Uses of Class
org.apache.jackrabbit.webdav.DavException
-
-
Uses of DavException in org.apache.jackrabbit.server.io
Methods in org.apache.jackrabbit.server.io that throw DavException Modifier and Type Method 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 commandboolean
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 commandboolean
CopyMoveManagerImpl. move(CopyMoveContext context, DavResource source, DavResource destination)
boolean
DefaultHandler. move(CopyMoveContext context, DavResource source, DavResource destination)
-
Uses of DavException in org.apache.jackrabbit.server.jcr
Methods in org.apache.jackrabbit.server.jcr that throw DavException Modifier and Type Method Description boolean
JCRWebdavServer. attachSession(WebdavRequest request)
Acquires a DavSession either from the session cache or creates a new one by login to the repository. -
Uses of DavException in org.apache.jackrabbit.server.remoting.davex
Methods in org.apache.jackrabbit.server.remoting.davex that throw DavException Modifier and Type Method Description protected void
JcrRemotingServlet. doGet(WebdavRequest webdavRequest, WebdavResponse webdavResponse, DavResource davResource)
protected void
JcrRemotingServlet. doPost(WebdavRequest webdavRequest, WebdavResponse webdavResponse, DavResource davResource)
-
Uses of DavException in org.apache.jackrabbit.spi2dav
Methods in org.apache.jackrabbit.spi2dav with parameters of type DavException Modifier and Type Method Description static RepositoryException
ExceptionConverter. generate(DavException davExc)
static RepositoryException
ExceptionConverter. generate(DavException davExc, int methodCode, String name)
static RepositoryException
ExceptionConverter. generate(DavException davExc, HttpRequestBase request)
-
Uses of DavException in org.apache.jackrabbit.webdav
Methods in org.apache.jackrabbit.webdav with parameters of type DavException Modifier and Type Method 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.Methods in org.apache.jackrabbit.webdav that throw DavException Modifier and Type Method 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 resourceDavResource
DavResourceFactory. createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)
Create aDavResource
object from the given locator, request and response objects.DavResource
DavResourceFactory. createResource(DavResourceLocator locator, DavSession session)
Create a newDavResource
object from the given locator and session.BindInfo
WebdavRequestImpl. getBindInfo()
DavResourceLocator
DavServletRequest. getDestinationLocator()
Parse theDestination header
and return the locator of the correspondingresource
.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, theTimeout header
and theDepth header
of a LOCK request asLockInfo
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 wasDavConstants.PROPFIND_ALL_PROP
orDavConstants.PROPFIND_PROPERTY_NAMES
.DavPropertyNameSet
WebdavRequestImpl. getPropFindProperties()
Returns the set of properties requested by the PROPFIND body or an empty set if thetype
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 aList
of property change operations.List<? extends PropEntry>
WebdavRequestImpl. getPropPatchChangeList()
Return aList
of property change operations.RebindInfo
WebdavRequestImpl. getRebindInfo()
ReportInfo
WebdavRequestImpl. getReportInfo()
Document
DavServletRequest. getRequestDocument()
Parse the Xml request body and return aDocument
.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 resourceActiveLock
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. -
Uses of DavException in org.apache.jackrabbit.webdav.bind
Methods in org.apache.jackrabbit.webdav.bind that throw DavException Modifier and Type Method 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 anBindInfo
object from the root element present in the request body.static ParentElement
ParentElement. createFromXml(Element root)
Build anParentElement
object from an XML element DAV:parentstatic RebindInfo
RebindInfo. createFromXml(Element root)
Build anRebindInfo
object from the root element present in the request body.static UnbindInfo
UnbindInfo. createFromXml(Element root)
Build anUnbindInfo
object from the root element present in the request body.BindInfo
BindServletRequest. getBindInfo()
Returns theBindInfo
present with the requestDavResourceLocator
BindServletRequest. getHrefLocator(String href)
Parses a href and returns the path of the resource.RebindInfo
BindServletRequest. getRebindInfo()
Returns theRebindInfo
present with the requestUnbindInfo
BindServletRequest. getUnbindInfo()
Returns theUnbindInfo
present with the requestvoid
BindableResource. rebind(DavResource collection, DavResource newBinding)
Will rebind the resource to the given collection. -
Uses of DavException in org.apache.jackrabbit.webdav.client.methods
Methods in org.apache.jackrabbit.webdav.client.methods that return DavException Modifier and Type Method Description DavException
BaseDavRequest. getResponseException(HttpResponse response)
Obtain aDavException
representing the response.Methods in org.apache.jackrabbit.webdav.client.methods that throw DavException Modifier and Type Method 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 asEventDiscovery
object.LockDiscovery
BaseDavRequest. getResponseBodyAsLockDiscovery(HttpResponse response)
Return response body asLockDiscovery
object.MultiStatus
BaseDavRequest. getResponseBodyAsMultiStatus(HttpResponse response)
Return response body asMultiStatus
object.SubscriptionDiscovery
BaseDavRequest. getResponseBodyAsSubscriptionDiscovery(HttpResponse response)
Return response body asSubscriptionDiscovery
object. -
Uses of DavException in org.apache.jackrabbit.webdav.jcr
Subclasses of DavException in org.apache.jackrabbit.webdav.jcr Modifier and Type Class Description class
JcrDavException
JcrDavException
extends theDavException
in order to wrap various repository exceptions.Methods in org.apache.jackrabbit.webdav.jcr that throw DavException Modifier and Type Method Description void
DefaultItemCollection. addMember(DavResource resource, InputContext inputContext)
If the specified resource represents a collection, a new node isadded
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 givenList
s and alters the properties accordingly.MultiStatusResponse
DefaultItemResource. alterProperties(List<? extends PropEntry> changeList)
Loops over the givenList
and alters the properties accordingly.MultiStatusResponse
VersionControlledItemCollection. alterProperties(List<? extends PropEntry> changeList)
MultiStatusResponse
WorkspaceResourceImpl. alterProperties(List<? extends PropEntry> changeList)
Handles an attempt to setItemResourceConstants.JCR_NAMESPACES
and forwards any other set or remove requests to the super class.static void
JcrDavSession. checkImplementation(DavSession davSession)
String
VersionControlledItemCollection. checkin()
CallsNode.checkin()
on the underlying repository node.String
WorkspaceResourceImpl. checkin()
void
VersionControlledItemCollection. checkout()
CallsNode.checkout()
on the underlying repository node.void
WorkspaceResourceImpl. checkout()
DavResource
DavResourceFactoryImpl. createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)
Create a newDavResource
from the specified locator and request objects.DavResource
DavResourceFactoryImpl. createResource(DavResourceLocator locator, DavSession session)
Create a newDavResource
from the given locator and session.static Session
JcrDavSession. getRepositorySession(DavSession davSession)
VersionHistoryResource
VersionControlledItemCollection. getVersionHistory()
Returns theVersionHistory
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 underlyingnode
.MultiStatus
VersionControlledItemCollection. merge(MergeInfo mergeInfo)
Merge the repository node represented by this resource according to the information present in the givenMergeInfo
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 specifiedOrderPatch
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)
CallsWorkspace.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 theDavResource
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 theDavResource
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 typesItemResourceConstants.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 underlyingnode
.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 usesVersionControlledResource.update(UpdateInfo)
to mapWorkspace.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. -
Uses of DavException in org.apache.jackrabbit.webdav.jcr.observation
Methods in org.apache.jackrabbit.webdav.jcr.observation that throw DavException Modifier and Type Method Description static int
SubscriptionImpl. getJcrEventType(EventType eventType)
Static utility method to convert anEventType
as present in the Xml body into the corresponding JCR event constant defined byEvent
.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 newSubscription
or update an existingSubscription
and add it as eventlistener to theObservationManager
.void
SubscriptionManagerImpl. unsubscribe(String subscriptionId, ObservationResource resource)
Unsubscribe theSubscription
with the given id and remove it from theObservationManager
as well as from the internal map.Constructors in org.apache.jackrabbit.webdav.jcr.observation that throw DavException Constructor Description SubscriptionImpl(SubscriptionInfo info, ObservationResource resource)
-
Uses of DavException in org.apache.jackrabbit.webdav.jcr.property
Constructors in org.apache.jackrabbit.webdav.jcr.property that throw DavException Constructor Description NamespacesProperty(DavProperty<?> property)
ValuesProperty(DavProperty<?> property, int defaultType, ValueFactory valueFactory)
Wrap the specifiedDavProperty
in a newValuesProperty
. -
Uses of DavException in org.apache.jackrabbit.webdav.jcr.search
Methods in org.apache.jackrabbit.webdav.jcr.search that throw DavException Modifier and Type Method Description MultiStatus
SearchResourceImpl. search(SearchInfo sInfo)
Execute the query defined by the givensInfo
. -
Uses of DavException in org.apache.jackrabbit.webdav.jcr.transaction
Methods in org.apache.jackrabbit.webdav.jcr.transaction that throw DavException Modifier and Type Method 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. -
Uses of DavException in org.apache.jackrabbit.webdav.jcr.version
Methods in org.apache.jackrabbit.webdav.jcr.version that throw DavException Modifier and Type Method Description VersionHistoryResource
VersionItemCollection. getVersionHistory()
Returns theVersionHistory
associated with the repository version.VersionResource[]
VersionHistoryItemCollection. getVersions()
Return an array ofVersionResource
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 callingremoveVersion
on the versionhistory item this version belongs to. -
Uses of DavException in org.apache.jackrabbit.webdav.jcr.version.report
Methods in org.apache.jackrabbit.webdav.jcr.version.report that throw DavException Modifier and Type Method 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)
-
Uses of DavException in org.apache.jackrabbit.webdav.lock
Methods in org.apache.jackrabbit.webdav.lock that throw DavException Modifier and Type Method Description ActiveLock
LockManager. createLock(LockInfo lockInfo, DavResource resource)
Create a new lock for the givenresource
.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.Constructors in org.apache.jackrabbit.webdav.lock that throw DavException Constructor Description LockInfo(Element liElement, long timeout, boolean isDeep)
Create a newLockInfo
object from the given information. -
Uses of DavException in org.apache.jackrabbit.webdav.observation
Methods in org.apache.jackrabbit.webdav.observation that throw DavException Modifier and Type Method Description SubscriptionInfo
ObservationDavServletRequest. getSubscriptionInfo()
Return aSubscriptionInfo
object representing the subscription info present in the SUBSCRIBE request body ornull
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 newSubscription
or update an existingSubscription
..void
ObservationResource. unsubscribe(String subscriptionId)
Unsubscribe the event listener with the given SubscriptionId.void
SubscriptionManager. unsubscribe(String subscriptionId, ObservationResource resource)
Unsubscribe theSubscription
with the given id.Constructors in org.apache.jackrabbit.webdav.observation that throw DavException Constructor Description SubscriptionInfo(Element reqInfo, long timeout, boolean isDeep)
-
Uses of DavException in org.apache.jackrabbit.webdav.ordering
Methods in org.apache.jackrabbit.webdav.ordering that throw DavException Modifier and Type Method Description static OrderPatch
OrderPatch. createFromXml(Element orderPatchElement)
Create a newOrderPath
object.OrderPatch
OrderingDavServletRequest. getOrderPatch()
Return aOrderPatch
object encapsulating the request body of an ORDERPATCH request ornull
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 specifiedOrderPatch
object. -
Uses of DavException in org.apache.jackrabbit.webdav.search
Methods in org.apache.jackrabbit.webdav.search that throw DavException Modifier and Type Method Description static SearchInfo
SearchInfo. createFromXml(Element searchRequest)
Create a newSearchInfo
from the specifying document retrieved from the request body.MultiStatus
SearchResource. search(SearchInfo sInfo)
Runs a search with the language and query defined in theSearchInfo
object specified and returns aMultiStatus
object listing the results. -
Uses of DavException in org.apache.jackrabbit.webdav.security
Methods in org.apache.jackrabbit.webdav.security that throw DavException Modifier and Type Method 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 newAclProperty
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 aPrivilege
from the given DAV:privilege element.Report
AclResource. getReport(ReportInfo reportInfo)
Same asDeltaVResource.getReport(ReportInfo)
.Constructors in org.apache.jackrabbit.webdav.security that throw DavException Constructor Description CurrentUserPrivilegeSetProperty(DavProperty<?> xmlDavProperty)
Create a newCurrentUserPrivilegeSetProperty
from a DavProperty as obtained from a MultiStatusResponse.SupportedPrivilegeSetProperty(DavProperty<?> p)
-
Uses of DavException in org.apache.jackrabbit.webdav.security.report
Methods in org.apache.jackrabbit.webdav.security.report that throw DavException Modifier and Type Method Description void
AbstractSecurityReport. init(DavResource resource, ReportInfo info)
Checks if the given resource and report info are notnull
, 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)
-
Uses of DavException in org.apache.jackrabbit.webdav.server
Methods in org.apache.jackrabbit.webdav.server with parameters of type DavException Modifier and Type Method 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.Methods in org.apache.jackrabbit.webdav.server that throw DavException Modifier and Type Method Description protected void
AbstractWebdavServlet. doAcl(WebdavRequest request, WebdavResponse response, DavResource resource)
The ACL methodprotected void
AbstractWebdavServlet. doBaselineControl(WebdavRequest request, WebdavResponse response, DavResource resource)
The BASELINECONTROL methodprotected void
AbstractWebdavServlet. doBind(WebdavRequest request, WebdavResponse response, DavResource resource)
The BIND methodprotected void
AbstractWebdavServlet. doCheckin(WebdavRequest request, WebdavResponse response, DavResource resource)
The CHECKIN methodprotected void
AbstractWebdavServlet. doCheckout(WebdavRequest request, WebdavResponse response, DavResource resource)
The CHECKOUT methodprotected void
AbstractWebdavServlet. doCopy(WebdavRequest request, WebdavResponse response, DavResource resource)
The COPY methodprotected void
AbstractWebdavServlet. doDelete(WebdavRequest request, WebdavResponse response, DavResource resource)
The DELETE methodprotected void
AbstractWebdavServlet. doGet(WebdavRequest request, WebdavResponse response, DavResource resource)
The GET methodprotected void
AbstractWebdavServlet. doLabel(WebdavRequest request, WebdavResponse response, DavResource resource)
The LABEL methodprotected void
AbstractWebdavServlet. doLock(WebdavRequest request, WebdavResponse response, DavResource resource)
The LOCK methodprotected void
AbstractWebdavServlet. doMerge(WebdavRequest request, WebdavResponse response, DavResource resource)
The MERGE methodprotected void
AbstractWebdavServlet. doMkActivity(WebdavRequest request, WebdavResponse response, DavResource resource)
The MKACTIVITY methodprotected void
AbstractWebdavServlet. doMkCol(WebdavRequest request, WebdavResponse response, DavResource resource)
The MKCOL methodprotected void
AbstractWebdavServlet. doMkWorkspace(WebdavRequest request, WebdavResponse response, DavResource resource)
The MKWORKSPACE methodprotected void
AbstractWebdavServlet. doMove(WebdavRequest request, WebdavResponse response, DavResource resource)
The MOVE methodprotected void
AbstractWebdavServlet. doOptions(WebdavRequest request, WebdavResponse response, DavResource resource)
The OPTION methodprotected void
AbstractWebdavServlet. doOrderPatch(WebdavRequest request, WebdavResponse response, DavResource resource)
The ORDERPATCH methodprotected void
AbstractWebdavServlet. doPoll(WebdavRequest request, WebdavResponse response, DavResource resource)
The POLL methodprotected void
AbstractWebdavServlet. doPost(WebdavRequest request, WebdavResponse response, DavResource resource)
The POST method.protected void
AbstractWebdavServlet. doPropFind(WebdavRequest request, WebdavResponse response, DavResource resource)
The PROPFIND methodprotected void
AbstractWebdavServlet. doPropPatch(WebdavRequest request, WebdavResponse response, DavResource resource)
The PROPPATCH methodprotected void
AbstractWebdavServlet. doPut(WebdavRequest request, WebdavResponse response, DavResource resource)
The PUT methodprotected void
AbstractWebdavServlet. doRebind(WebdavRequest request, WebdavResponse response, DavResource resource)
The REBIND methodprotected void
AbstractWebdavServlet. doReport(WebdavRequest request, WebdavResponse response, DavResource resource)
The REPORT methodprotected void
AbstractWebdavServlet. doSearch(WebdavRequest request, WebdavResponse response, DavResource resource)
The SEARCH methodprotected void
AbstractWebdavServlet. doSubscribe(WebdavRequest request, WebdavResponse response, DavResource resource)
The SUBSCRIBE methodprotected void
AbstractWebdavServlet. doUnbind(WebdavRequest request, WebdavResponse response, DavResource resource)
The UNBIND methodprotected void
AbstractWebdavServlet. doUncheckout(WebdavRequest request, WebdavResponse response, DavResource resource)
The UNCHECKOUT methodprotected void
AbstractWebdavServlet. doUnlock(WebdavRequest request, WebdavResponse response, DavResource resource)
The UNLOCK methodprotected void
AbstractWebdavServlet. doUnsubscribe(WebdavRequest request, WebdavResponse response, DavResource resource)
The UNSUBSCRIBE methodprotected void
AbstractWebdavServlet. doUpdate(WebdavRequest request, WebdavResponse response, DavResource resource)
The UPDATE methodprotected void
AbstractWebdavServlet. doVersionControl(WebdavRequest request, WebdavResponse response, DavResource resource)
The VERSION-CONTROL methodprotected boolean
AbstractWebdavServlet. execute(WebdavRequest request, WebdavResponse response, int method, DavResource resource)
Executes the respective method in the given webdav contextprotected 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 thanHttpServletResponse.SC_NO_CONTENT
indicates an error. -
Uses of DavException in org.apache.jackrabbit.webdav.simple
Methods in org.apache.jackrabbit.webdav.simple that throw DavException Modifier and Type Method 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()
CallsNode.checkin()
on the underlying repository node.void
VersionControlledResourceImpl. checkout()
CallsNode.checkout()
on the underlying repository node.void
DavResourceImpl. copy(DavResource destination, boolean shallow)
DavResource
ResourceFactoryImpl. createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)
Create a newDavResource
from the given locator and request.DavResource
ResourceFactoryImpl. createResource(DavResourceLocator locator, DavSession session)
Create a newDavResource
from the given locator and webdav session.protected DavResource
DeltaVResourceImpl. createResourceFromLocator(DavResourceLocator loc)
Create a newDavResource
from the given locator.DavResource[]
DeltaVResourceImpl. getReferenceResources(DavPropertyName hrefPropertyName)
Return an array ofDavResource
objects that are referenced by the property with the specified name.Report
DeltaVResourceImpl. getReport(ReportInfo reportInfo)
VersionHistoryResource
VersionControlledResourceImpl. getVersionHistory()
Returns theVersionHistory
associated with the repository node.VersionHistoryResource
VersionResourceImpl. getVersionHistory()
Returns theVersionHistory
associated with the repository version.VersionResource[]
VersionHistoryResourceImpl. getVersions()
Return an array ofVersionResource
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 callingremoveVersion
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. -
Uses of DavException in org.apache.jackrabbit.webdav.transaction
Methods in org.apache.jackrabbit.webdav.transaction that throw DavException Modifier and Type Method 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 theunlock
method of theDavResource
interface.Constructors in org.apache.jackrabbit.webdav.transaction that throw DavException Constructor Description TransactionInfo(Element transactionInfo)
Creates aTransactionInfo
object from the given 'transactionInfo' element. -
Uses of DavException in org.apache.jackrabbit.webdav.version
Methods in org.apache.jackrabbit.webdav.version that throw DavException Modifier and Type Method 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 anOptionsInfo
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 theBaselineResource.BASELINE_COLLECTION
property.LabelInfo
DeltaVServletRequest. getLabelInfo()
Return the request body asLabelInfo
object ornull
if parsing the request body or the creation of the label info failed.MergeInfo
DeltaVServletRequest. getMergeInfo()
Return the request body asMergeInfo
object ornull
if the creation failed due to invalid format.OptionsInfo
DeltaVServletRequest. getOptionsInfo()
Returns theOptionsInfo
present with the request ornull
.DavResource[]
DeltaVResource. getReferenceResources(DavPropertyName hrefPropertyName)
Returns an array ofDavResource
objects that are referenced by theHrefProperty
with the specifiedname
.Report
DeltaVResource. getReport(ReportInfo reportInfo)
Runs the report specified by the givenReportInfo
.ReportInfo
DeltaVServletRequest. getReportInfo()
Returns the request body and the Depth header asReportInfo
object.UpdateInfo
DeltaVServletRequest. getUpdateInfo()
Parses the UPDATE request body a build the correspondingUpdateInfo
object.VersionHistoryResource
VersionControlledResource. getVersionHistory()
Returns theVersionHistoryResource
, that is referenced in the 'version-history
' property.VersionHistoryResource
VersionResource. getVersionHistory()
Returns theVersionHistoryResource
, that is referenced in theDAV:version-history
property.VersionResource[]
VersionHistoryResource. getVersions()
Returns an array ofVersionResource
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 specifiedMergeInfo
.void
VersionControlledResource. uncheckout()
Perform an uncheckout on the version controlled resource.MultiStatus
VersionControlledResource. update(UpdateInfo updateInfo)
Perform an update on this resource using the specifiedUpdateInfo
.Constructors in org.apache.jackrabbit.webdav.version that throw DavException Constructor Description LabelInfo(Element labelElement)
Create a newLabelInfo
from the given element.LabelInfo(Element labelElement, int depth)
Create a newLabelInfo
from the given element and depth integer.MergeInfo(Element mergeElement)
Create a newMergeInfo
UpdateInfo(Element updateElement)
Create a newUpdateInfo
object. -
Uses of DavException in org.apache.jackrabbit.webdav.version.report
Methods in org.apache.jackrabbit.webdav.version.report that throw DavException Modifier and Type Method Description Report
ReportType. createReport(DeltaVResource resource, ReportInfo info)
Creates a newReport
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 theDeltaVResource
for which this report was requested and theReportInfo
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.Constructors in org.apache.jackrabbit.webdav.version.report that throw DavException Constructor Description ReportInfo(Element reportElement, int depth)
Create a newReportInfo
object from the given Xml element.
-