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 booleanCopyMoveHandler. copy(CopyMoveContext context, DavResource source, DavResource destination)Executes the copy with the given parameters.booleanCopyMoveManager. copy(CopyMoveContext context, DavResource source, DavResource destination)Handles the copy commandbooleanCopyMoveManagerImpl. copy(CopyMoveContext context, DavResource source, DavResource destination)booleanDefaultHandler. copy(CopyMoveContext context, DavResource source, DavResource destination)booleanDefaultHandler. delete(DeleteContext deleteContext, DavResource member)booleanDeleteHandler. delete(DeleteContext deleteContext, DavResource resource)Executes the delete operation with the given parameters.booleanDeleteManager. delete(DeleteContext deleteContext, DavResource resource)Delegates the delete operation to the fist handler that accepts it.booleanDeleteManagerImpl. delete(DeleteContext deleteContext, DavResource member)booleanCopyMoveHandler. move(CopyMoveContext context, DavResource source, DavResource destination)Executes the move with the given parameters.booleanCopyMoveManager. move(CopyMoveContext context, DavResource source, DavResource destination)Handles the move commandbooleanCopyMoveManagerImpl. move(CopyMoveContext context, DavResource source, DavResource destination)booleanDefaultHandler. 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 booleanJCRWebdavServer. 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 voidJcrRemotingServlet. doGet(WebdavRequest webdavRequest, WebdavResponse webdavResponse, DavResource davResource)protected voidJcrRemotingServlet. 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 RepositoryExceptionExceptionConverter. generate(DavException davExc)static RepositoryExceptionExceptionConverter. generate(DavException davExc, int methodCode, String name)static RepositoryExceptionExceptionConverter. 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 voidDavServletResponse. sendError(DavException error)Send a response body given more detailed information about the error occurred.voidWebdavResponseImpl. 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 voidDavResource. addMember(DavResource resource, InputContext inputContext)Add the given resource as an internal member to this resource.MultiStatusResponseDavResource. alterProperties(List<? extends PropEntry> changeList)Set/add and remove the specified properties from this resource.booleanDavSessionProvider. attachSession(WebdavRequest request)Acquires a DavSession.voidDavResource. copy(DavResource destination, boolean shallow)Copy this DavResource to the given destination resourceDavResourceDavResourceFactory. createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)Create aDavResourceobject from the given locator, request and response objects.DavResourceDavResourceFactory. createResource(DavResourceLocator locator, DavSession session)Create a newDavResourceobject from the given locator and session.BindInfoWebdavRequestImpl. getBindInfo()DavResourceLocatorDavServletRequest. getDestinationLocator()Parse theDestination headerand return the locator of the correspondingresource.DavResourceLocatorWebdavRequestImpl. getDestinationLocator()Parse the destination header field and return the path of the destination resource.DavResourceLocatorWebdavRequestImpl. getHrefLocator(String href)Parse a href and return the path of the resource.LabelInfoWebdavRequestImpl. getLabelInfo()LockInfoDavServletRequest. getLockInfo()Return the parsed 'lockinfo' request body, theTimeout headerand theDepth headerof a LOCK request asLockInfoobject.LockInfoWebdavRequestImpl. getLockInfo()LockInfoobject encapsulating the information passed with a LOCK request if the LOCK request body was valid.MergeInfoWebdavRequestImpl. getMergeInfo()OptionsInfoWebdavRequestImpl. getOptionsInfo()OrderPatchWebdavRequestImpl. getOrderPatch()DavPropertyNameSetDavServletRequest. 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_PROPorDavConstants.PROPFIND_PROPERTY_NAMES.DavPropertyNameSetWebdavRequestImpl. getPropFindProperties()Returns the set of properties requested by the PROPFIND body or an empty set if thetypeis either 'allprop' or 'propname'.intDavServletRequest. getPropFindType()Return the type of PROPFIND request as indicated by the PROPFIND request body.intWebdavRequestImpl. getPropFindType()Returns the type of PROPFIND as indicated by the request body.List<? extends PropEntry>DavServletRequest. getPropPatchChangeList()Return aListof property change operations.List<? extends PropEntry>WebdavRequestImpl. getPropPatchChangeList()Return aListof property change operations.RebindInfoWebdavRequestImpl. getRebindInfo()ReportInfoWebdavRequestImpl. getReportInfo()DocumentDavServletRequest. getRequestDocument()Parse the Xml request body and return aDocument.DocumentWebdavRequestImpl. getRequestDocument()SubscriptionInfoWebdavRequestImpl. getSubscriptionInfo()TransactionInfoWebdavRequestImpl. getTransactionInfo()UnbindInfoWebdavRequestImpl. getUnbindInfo()UpdateInfoWebdavRequestImpl. getUpdateInfo()ActiveLockDavResource. lock(LockInfo reqLockInfo)Lock this webdav resource with the information retrieve from the request and return the resulting lockdiscovery object.voidDavResource. move(DavResource destination)Move this DavResource to the given destination resourceActiveLockDavResource. refreshLock(LockInfo reqLockInfo, String lockToken)Refresh an existing lock by resetting the timeout.voidDavResource. removeMember(DavResource member)Removes the specified member from this resource.voidDavResource. removeProperty(DavPropertyName propertyName)Remove the specified property from this resource.voidDavResource. setProperty(DavProperty<?> property)Add/Set the specified property on this resource.voidDavResource. 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 voidBindableResource. bind(DavResource collection, DavResource newBinding)Will add a new binding to the given collection referencing this resource.static BindInfoBindInfo. createFromXml(Element root)Build anBindInfoobject from the root element present in the request body.static ParentElementParentElement. createFromXml(Element root)Build anParentElementobject from an XML element DAV:parentstatic RebindInfoRebindInfo. createFromXml(Element root)Build anRebindInfoobject from the root element present in the request body.static UnbindInfoUnbindInfo. createFromXml(Element root)Build anUnbindInfoobject from the root element present in the request body.BindInfoBindServletRequest. getBindInfo()Returns theBindInfopresent with the requestDavResourceLocatorBindServletRequest. getHrefLocator(String href)Parses a href and returns the path of the resource.RebindInfoBindServletRequest. getRebindInfo()Returns theRebindInfopresent with the requestUnbindInfoBindServletRequest. getUnbindInfo()Returns theUnbindInfopresent with the requestvoidBindableResource. 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 DavExceptionBaseDavRequest. getResponseException(HttpResponse response)Obtain aDavExceptionrepresenting the response.Methods in org.apache.jackrabbit.webdav.client.methods that throw DavException Modifier and Type Method Description voidBaseDavRequest. checkSuccess(HttpResponse response)Check the response and throw when it is considered to represent a failure.EventDiscoveryBaseDavRequest. getResponseBodyAsEventDiscovery(HttpResponse response)Return response body asEventDiscoveryobject.LockDiscoveryBaseDavRequest. getResponseBodyAsLockDiscovery(HttpResponse response)Return response body asLockDiscoveryobject.MultiStatusBaseDavRequest. getResponseBodyAsMultiStatus(HttpResponse response)Return response body asMultiStatusobject.SubscriptionDiscoveryBaseDavRequest. getResponseBodyAsSubscriptionDiscovery(HttpResponse response)Return response body asSubscriptionDiscoveryobject. -
Uses of DavException in org.apache.jackrabbit.webdav.jcr
Subclasses of DavException in org.apache.jackrabbit.webdav.jcr Modifier and Type Class Description classJcrDavExceptionJcrDavExceptionextends theDavExceptionin order to wrap various repository exceptions.Methods in org.apache.jackrabbit.webdav.jcr that throw DavException Modifier and Type Method Description voidDefaultItemCollection. addMember(DavResource resource, InputContext inputContext)If the specified resource represents a collection, a new node isaddedto the item represented by this resource.voidDefaultItemResource. addMember(DavResource resource, InputContext inputContext)Method is not allowed.voidEventJournalResourceImpl. addMember(DavResource resource, InputContext inputContext)voidRootCollection. addMember(DavResource resource, InputContext inputContext)Throws exception: 403 Forbidden.voidWorkspaceResourceImpl. addMember(DavResource resource, InputContext inputContext)Throws 403 exception (Forbidden)voidVersionControlledItemCollection. addVersionControl()Adds version control to this resource.voidWorkspaceResourceImpl. addVersionControl()voidRootCollection. addWorkspace(DavResource workspace)MultiStatusResponseDefaultItemCollection. alterProperties(List<? extends PropEntry> changeList)Loops over the givenLists and alters the properties accordingly.MultiStatusResponseDefaultItemResource. alterProperties(List<? extends PropEntry> changeList)Loops over the givenListand alters the properties accordingly.MultiStatusResponseVersionControlledItemCollection. alterProperties(List<? extends PropEntry> changeList)MultiStatusResponseWorkspaceResourceImpl. alterProperties(List<? extends PropEntry> changeList)Handles an attempt to setItemResourceConstants.JCR_NAMESPACESand forwards any other set or remove requests to the super class.static voidJcrDavSession. checkImplementation(DavSession davSession)StringVersionControlledItemCollection. checkin()CallsNode.checkin()on the underlying repository node.StringWorkspaceResourceImpl. checkin()voidVersionControlledItemCollection. checkout()CallsNode.checkout()on the underlying repository node.voidWorkspaceResourceImpl. checkout()DavResourceDavResourceFactoryImpl. createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)Create a newDavResourcefrom the specified locator and request objects.DavResourceDavResourceFactoryImpl. createResource(DavResourceLocator locator, DavSession session)Create a newDavResourcefrom the given locator and session.static SessionJcrDavSession. getRepositorySession(DavSession davSession)VersionHistoryResourceVersionControlledItemCollection. getVersionHistory()Returns theVersionHistoryassociated with the repository node.VersionHistoryResourceWorkspaceResourceImpl. getVersionHistory()voidVersionControlledItemCollection. label(LabelInfo labelInfo)Modify the labels present with the versions of this resource.voidWorkspaceResourceImpl. label(LabelInfo labelInfo)ActiveLockDefaultItemCollection. lock(LockInfo reqLockInfo)Creates a lock on this resource by locking the underlyingnode.MultiStatusVersionControlledItemCollection. merge(MergeInfo mergeInfo)Merge the repository node represented by this resource according to the information present in the givenMergeInfoobject.MultiStatusWorkspaceResourceImpl. merge(MergeInfo mergeInfo)voidDefaultItemCollection. orderMembers(OrderPatch orderPatch)Reorder the child nodes of the repository item represented by this resource as indicated by the specifiedOrderPatchobject.ActiveLockDefaultItemCollection. refreshLock(LockInfo reqLockInfo, String lockToken)Refreshes the lock on this resource.voidDefaultItemCollection. removeMember(DavResource member)Removes the repository item represented by the specified member resource.voidDefaultItemResource. removeMember(DavResource member)Method is not allowed.voidEventJournalResourceImpl. removeMember(DavResource member)voidRootCollection. removeMember(DavResource member)CallsWorkspace.deleteWorkspace(String)for the workspace with the name as indicated by the specified member.voidWorkspaceResourceImpl. removeMember(DavResource member)Throws 403 exception (Forbidden)voidDefaultItemCollection. removeProperty(DavPropertyName propertyName)This implementation of theDavResourcedoes only allow to remove the mixinnodetypes property.voidDefaultItemResource. removeProperty(DavPropertyName propertyName)Removing properties is not allowed, for a single-value JCR-property without a value does not exist.voidDefaultItemCollection. setProperty(DavProperty<?> property)This implementation of theDavResourcedoes only allow to set the mixinnodetypes property.voidDefaultItemResource. setProperty(DavProperty<?> property)Sets the given property.voidWorkspaceResourceImpl. setProperty(DavProperty<?> property)Allows to alter the registered namespaces (ItemResourceConstants.JCR_NAMESPACES) or register node typesItemResourceConstants.JCR_NODETYPES_CNDwhere the passed value is a cnd string containing the definition and forwards any other property to the super class.voidVersionControlledItemCollection. uncheckout()Not implemented.voidWorkspaceResourceImpl. uncheckout()voidDefaultItemCollection. unlock(String lockToken)Remove the write lock from this resource by unlocking the underlyingnode.MultiStatusVersionControlledItemCollection. update(UpdateInfo updateInfo)Perform an update on this resource.MultiStatusWorkspaceResourceImpl. 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 intJCRWebdavServerServlet. 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 intSubscriptionImpl. getJcrEventType(EventType eventType)Static utility method to convert anEventTypeas present in the Xml body into the corresponding JCR event constant defined byEvent.EventDiscoverySubscriptionManagerImpl. poll(String subscriptionId, long timeout, ObservationResource resource)Retrieve all event bundles accumulated since for the subscription specified by the given id.SubscriptionSubscriptionManagerImpl. subscribe(SubscriptionInfo info, String subscriptionId, ObservationResource resource)Create a newSubscriptionor update an existingSubscriptionand add it as eventlistener to theObservationManager.voidSubscriptionManagerImpl. unsubscribe(String subscriptionId, ObservationResource resource)Unsubscribe theSubscriptionwith the given id and remove it from theObservationManageras 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 specifiedDavPropertyin 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 MultiStatusSearchResourceImpl. 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 ActiveLockTxLockManagerImpl. createLock(LockInfo lockInfo, DavResource resource)Create a new lock.ActiveLockTxLockManagerImpl. refreshLock(LockInfo lockInfo, String lockToken, DavResource resource)Refresh the lock identified by the given lock token.voidTxLockManagerImpl. releaseLock(String lockToken, DavResource resource)Throws UnsupportedOperationException.voidTxLockManagerImpl. 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 VersionHistoryResourceVersionItemCollection. getVersionHistory()Returns theVersionHistoryassociated with the repository version.VersionResource[]VersionHistoryItemCollection. getVersions()Return an array ofVersionResources representing all versions present in the underlying JCR version history.voidVersionItemCollection. label(LabelInfo labelInfo)Modify the labels defined for the underlying repository version.voidVersionHistoryItemCollection. removeMember(DavResource member)Removing a version resource is achieved by callingremoveVersionon 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 voidAbstractJcrReport. init(DavResource resource, ReportInfo info)Performs basic validation checks common to all JCR specific reports.voidExportViewReport. init(DavResource resource, ReportInfo info)voidJcrPrivilegeReport. init(DavResource resource, ReportInfo info)voidLocateByUuidReport. init(DavResource resource, ReportInfo info)voidLocateCorrespondingNodeReport. init(DavResource resource, ReportInfo info)voidNodeTypesReport. init(DavResource resource, ReportInfo info)voidRegisteredNamespacesReport. init(DavResource resource, ReportInfo info)voidRepositoryDescriptorsReport. 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 ActiveLockLockManager. createLock(LockInfo lockInfo, DavResource resource)Create a new lock for the givenresource.ActiveLockSimpleLockManager. createLock(LockInfo lockInfo, DavResource resource)Adds the lock for the given resource, replacing any existing lock.ActiveLockLockManager. refreshLock(LockInfo lockInfo, String lockToken, DavResource resource)Refresh the lock identified by the given lockToken and initially created on the specified resource.ActiveLockSimpleLockManager. refreshLock(LockInfo lockInfo, String lockToken, DavResource resource)voidLockManager. releaseLock(String lockToken, DavResource resource)Release the lock identified by the given lockToken and initially created on the specified resource.voidSimpleLockManager. 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 newLockInfoobject 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 SubscriptionInfoObservationDavServletRequest. getSubscriptionInfo()Return aSubscriptionInfoobject representing the subscription info present in the SUBSCRIBE request body ornullif retrieving the subscription info fails.EventDiscoveryObservationResource. poll(String subscriptionId, long timeout)Retrieve the list of events that where recorded for the event listener with the given SubscriptionId.EventDiscoverySubscriptionManager. poll(String subscriptionId, long timeout, ObservationResource resource)Retrieve the list of events that occurred since the last poll.SubscriptionObservationResource. subscribe(SubscriptionInfo info, String subscriptionId)Subscribe this resource for event listening defined by the specified subscription info.SubscriptionSubscriptionManager. subscribe(SubscriptionInfo info, String subscriptionId, ObservationResource resource)Create a newSubscriptionor update an existingSubscription..voidObservationResource. unsubscribe(String subscriptionId)Unsubscribe the event listener with the given SubscriptionId.voidSubscriptionManager. unsubscribe(String subscriptionId, ObservationResource resource)Unsubscribe theSubscriptionwith 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 OrderPatchOrderPatch. createFromXml(Element orderPatchElement)Create a newOrderPathobject.OrderPatchOrderingDavServletRequest. getOrderPatch()Return aOrderPatchobject encapsulating the request body of an ORDERPATCH request ornullif the request body was either missing or could not be parsed.voidOrderingResource. orderMembers(OrderPatch orderPatch)Reorders the internal members of this resource according to the instructions present in the specifiedOrderPatchobject. -
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 SearchInfoSearchInfo. createFromXml(Element searchRequest)Create a newSearchInfofrom the specifying document retrieved from the request body.MultiStatusSearchResource. search(SearchInfo sInfo)Runs a search with the language and query defined in theSearchInfoobject specified and returns aMultiStatusobject 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 voidAclResource. 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 AclPropertyAclProperty. createFromXml(Element aclElement)Build a newAclPropertyobject from the request body of the ACL method call.static PrincipalPrincipal. createFromXml(Element principalElement)static PrivilegePrivilege. getPrivilege(Element privilege)Factory method to create/retrieve aPrivilegefrom the given DAV:privilege element.ReportAclResource. getReport(ReportInfo reportInfo)Same asDeltaVResource.getReport(ReportInfo).Constructors in org.apache.jackrabbit.webdav.security that throw DavException Constructor Description CurrentUserPrivilegeSetProperty(DavProperty<?> xmlDavProperty)Create a newCurrentUserPrivilegeSetPropertyfrom 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 voidAbstractSecurityReport. 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.voidAclPrincipalReport. init(DavResource resource, ReportInfo info)voidPrincipalMatchReport. init(DavResource resource, ReportInfo info)voidPrincipalSearchReport. init(DavResource resource, ReportInfo info)voidSearchablePropertyReport. 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 voidAbstractWebdavServlet. 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 voidAbstractWebdavServlet. doAcl(WebdavRequest request, WebdavResponse response, DavResource resource)The ACL methodprotected voidAbstractWebdavServlet. doBaselineControl(WebdavRequest request, WebdavResponse response, DavResource resource)The BASELINECONTROL methodprotected voidAbstractWebdavServlet. doBind(WebdavRequest request, WebdavResponse response, DavResource resource)The BIND methodprotected voidAbstractWebdavServlet. doCheckin(WebdavRequest request, WebdavResponse response, DavResource resource)The CHECKIN methodprotected voidAbstractWebdavServlet. doCheckout(WebdavRequest request, WebdavResponse response, DavResource resource)The CHECKOUT methodprotected voidAbstractWebdavServlet. doCopy(WebdavRequest request, WebdavResponse response, DavResource resource)The COPY methodprotected voidAbstractWebdavServlet. doDelete(WebdavRequest request, WebdavResponse response, DavResource resource)The DELETE methodprotected voidAbstractWebdavServlet. doGet(WebdavRequest request, WebdavResponse response, DavResource resource)The GET methodprotected voidAbstractWebdavServlet. doLabel(WebdavRequest request, WebdavResponse response, DavResource resource)The LABEL methodprotected voidAbstractWebdavServlet. doLock(WebdavRequest request, WebdavResponse response, DavResource resource)The LOCK methodprotected voidAbstractWebdavServlet. doMerge(WebdavRequest request, WebdavResponse response, DavResource resource)The MERGE methodprotected voidAbstractWebdavServlet. doMkActivity(WebdavRequest request, WebdavResponse response, DavResource resource)The MKACTIVITY methodprotected voidAbstractWebdavServlet. doMkCol(WebdavRequest request, WebdavResponse response, DavResource resource)The MKCOL methodprotected voidAbstractWebdavServlet. doMkWorkspace(WebdavRequest request, WebdavResponse response, DavResource resource)The MKWORKSPACE methodprotected voidAbstractWebdavServlet. doMove(WebdavRequest request, WebdavResponse response, DavResource resource)The MOVE methodprotected voidAbstractWebdavServlet. doOptions(WebdavRequest request, WebdavResponse response, DavResource resource)The OPTION methodprotected voidAbstractWebdavServlet. doOrderPatch(WebdavRequest request, WebdavResponse response, DavResource resource)The ORDERPATCH methodprotected voidAbstractWebdavServlet. doPoll(WebdavRequest request, WebdavResponse response, DavResource resource)The POLL methodprotected voidAbstractWebdavServlet. doPost(WebdavRequest request, WebdavResponse response, DavResource resource)The POST method.protected voidAbstractWebdavServlet. doPropFind(WebdavRequest request, WebdavResponse response, DavResource resource)The PROPFIND methodprotected voidAbstractWebdavServlet. doPropPatch(WebdavRequest request, WebdavResponse response, DavResource resource)The PROPPATCH methodprotected voidAbstractWebdavServlet. doPut(WebdavRequest request, WebdavResponse response, DavResource resource)The PUT methodprotected voidAbstractWebdavServlet. doRebind(WebdavRequest request, WebdavResponse response, DavResource resource)The REBIND methodprotected voidAbstractWebdavServlet. doReport(WebdavRequest request, WebdavResponse response, DavResource resource)The REPORT methodprotected voidAbstractWebdavServlet. doSearch(WebdavRequest request, WebdavResponse response, DavResource resource)The SEARCH methodprotected voidAbstractWebdavServlet. doSubscribe(WebdavRequest request, WebdavResponse response, DavResource resource)The SUBSCRIBE methodprotected voidAbstractWebdavServlet. doUnbind(WebdavRequest request, WebdavResponse response, DavResource resource)The UNBIND methodprotected voidAbstractWebdavServlet. doUncheckout(WebdavRequest request, WebdavResponse response, DavResource resource)The UNCHECKOUT methodprotected voidAbstractWebdavServlet. doUnlock(WebdavRequest request, WebdavResponse response, DavResource resource)The UNLOCK methodprotected voidAbstractWebdavServlet. doUnsubscribe(WebdavRequest request, WebdavResponse response, DavResource resource)The UNSUBSCRIBE methodprotected voidAbstractWebdavServlet. doUpdate(WebdavRequest request, WebdavResponse response, DavResource resource)The UPDATE methodprotected voidAbstractWebdavServlet. doVersionControl(WebdavRequest request, WebdavResponse response, DavResource resource)The VERSION-CONTROL methodprotected booleanAbstractWebdavServlet. execute(WebdavRequest request, WebdavResponse response, int method, DavResource resource)Executes the respective method in the given webdav contextprotected intAbstractWebdavServlet. 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_CONTENTindicates 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 voidDavResourceImpl. addMember(DavResource member, InputContext inputContext)Adds a new member to this resource.voidVersionHistoryResourceImpl. addMember(DavResource member, InputContext inputContext)The version storage is read-only -> fails with 403.voidVersionResourceImpl. addMember(DavResource member, InputContext inputContext)The version storage is read-only -> fails with 403.voidVersionControlledResourceImpl. addVersionControl()Adds version control to this resource.voidDeltaVResourceImpl. addWorkspace(DavResource workspace)The JCR api does not provide methods to create new workspaces.MultiStatusResponseDavResourceImpl. alterProperties(List<? extends PropEntry> changeList)MultiStatusResponseVersionHistoryResourceImpl. alterProperties(List<? extends PropEntry> changeList)Version storage is read-only -> fails with 403.MultiStatusResponseVersionResourceImpl. alterProperties(List<? extends PropEntry> changeList)Version storage is read-only -> fails with 403.booleanDavSessionProviderImpl. attachSession(WebdavRequest request)Acquires a DavSession.voidDavResourceImpl. bind(DavResource collection, DavResource newBinding)StringVersionControlledResourceImpl. checkin()CallsNode.checkin()on the underlying repository node.voidVersionControlledResourceImpl. checkout()CallsNode.checkout()on the underlying repository node.voidDavResourceImpl. copy(DavResource destination, boolean shallow)DavResourceResourceFactoryImpl. createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)Create a newDavResourcefrom the given locator and request.DavResourceResourceFactoryImpl. createResource(DavResourceLocator locator, DavSession session)Create a newDavResourcefrom the given locator and webdav session.protected DavResourceDeltaVResourceImpl. createResourceFromLocator(DavResourceLocator loc)Create a newDavResourcefrom the given locator.DavResource[]DeltaVResourceImpl. getReferenceResources(DavPropertyName hrefPropertyName)Return an array ofDavResourceobjects that are referenced by the property with the specified name.ReportDeltaVResourceImpl. getReport(ReportInfo reportInfo)VersionHistoryResourceVersionControlledResourceImpl. getVersionHistory()Returns theVersionHistoryassociated with the repository node.VersionHistoryResourceVersionResourceImpl. getVersionHistory()Returns theVersionHistoryassociated with the repository version.VersionResource[]VersionHistoryResourceImpl. getVersions()Return an array ofVersionResources representing all versions present in the underlying JCR version history.voidVersionControlledResourceImpl. label(LabelInfo labelInfo)Modify the labels present with the versions of this resource.voidVersionResourceImpl. label(LabelInfo labelInfo)Modify the labels defined for the underlying repository version.ActiveLockDavResourceImpl. lock(LockInfo lockInfo)MultiStatusVersionControlledResourceImpl. merge(MergeInfo mergeInfo)MERGE feature is not (yet) supported.voidDavResourceImpl. move(DavResource destination)voidDavResourceImpl. rebind(DavResource collection, DavResource newBinding)ActiveLockDavResourceImpl. refreshLock(LockInfo lockInfo, String lockToken)voidDavResourceImpl. removeMember(DavResource member)voidVersionHistoryResourceImpl. removeMember(DavResource member)Removing a version resource is achieved by callingremoveVersionon the versionhistory item this version belongs to.voidVersionResourceImpl. removeMember(DavResource member)The version storage is read-only -> fails with 403.voidDavResourceImpl. removeProperty(DavPropertyName propertyName)voidVersionHistoryResourceImpl. removeProperty(DavPropertyName propertyName)Version storage is read-only -> fails with 403.voidVersionResourceImpl. removeProperty(DavPropertyName propertyName)Version storage is read-only -> fails with 403.voidDavResourceImpl. setProperty(DavProperty<?> property)voidVersionHistoryResourceImpl. setProperty(DavProperty<?> property)Version storage is read-only -> fails with 403.voidVersionResourceImpl. setProperty(DavProperty<?> property)Version storage is read-only -> fails with 403.voidVersionControlledResourceImpl. uncheckout()UNCHECKOUT cannot be implemented on top of JSR 170 repository.voidDavResourceImpl. unlock(String lockToken)MultiStatusVersionControlledResourceImpl. 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 TransactionInfoTransactionDavServletRequest. getTransactionInfo()Retrieve the 'transactioninfo' request body that must be included with the UNLOCK request of a transaction lock.voidTxLockManager. releaseLock(TransactionInfo lockInfo, String lockToken, TransactionResource resource)Release the lock identified by the given lock token.voidTransactionResource. unlock(String lockToken, TransactionInfo info)Overloads theunlockmethod of theDavResourceinterface.Constructors in org.apache.jackrabbit.webdav.transaction that throw DavException Constructor Description TransactionInfo(Element transactionInfo)Creates aTransactionInfoobject 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 voidVersionableResource. addVersionControl()Converts this versionable resource into a version-controlled resource.voidDeltaVResource. 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.StringVersionControlledResource. checkin()Perform a checkin on the version controlled resource.voidVersionControlledResource. checkout()Perform a checkout on the version controlled resource.static OptionsInfoOptionsInfo. createFromXml(Element optionsElement)Build anOptionsInfoobject from the root element present in the request body.DavResourceBaselineResource. getBaselineCollection()Return the resource that represents the baseline-collection of this baseline, which is identified the href present in theBaselineResource.BASELINE_COLLECTIONproperty.LabelInfoDeltaVServletRequest. getLabelInfo()Return the request body asLabelInfoobject ornullif parsing the request body or the creation of the label info failed.MergeInfoDeltaVServletRequest. getMergeInfo()Return the request body asMergeInfoobject ornullif the creation failed due to invalid format.OptionsInfoDeltaVServletRequest. getOptionsInfo()Returns theOptionsInfopresent with the request ornull.DavResource[]DeltaVResource. getReferenceResources(DavPropertyName hrefPropertyName)Returns an array ofDavResourceobjects that are referenced by theHrefPropertywith the specifiedname.ReportDeltaVResource. getReport(ReportInfo reportInfo)Runs the report specified by the givenReportInfo.ReportInfoDeltaVServletRequest. getReportInfo()Returns the request body and the Depth header asReportInfoobject.UpdateInfoDeltaVServletRequest. getUpdateInfo()Parses the UPDATE request body a build the correspondingUpdateInfoobject.VersionHistoryResourceVersionControlledResource. getVersionHistory()Returns theVersionHistoryResource, that is referenced in the 'version-history' property.VersionHistoryResourceVersionResource. getVersionHistory()Returns theVersionHistoryResource, that is referenced in theDAV:version-historyproperty.VersionResource[]VersionHistoryResource. getVersions()Returns an array ofVersionResources containing all versions that are a member of this resource.voidVersionControlledResource. label(LabelInfo labelInfo)Modify the labels of the version referenced by the DAV:checked-in property of this checked-in version-controlled resource.voidVersionResource. label(LabelInfo labelInfo)Modify the labels of this version resource.MultiStatusVersionControlledResource. merge(MergeInfo mergeInfo)Perform a merge on this resource using the specifiedMergeInfo.voidVersionControlledResource. uncheckout()Perform an uncheckout on the version controlled resource.MultiStatusVersionControlledResource. 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 newLabelInfofrom the given element.LabelInfo(Element labelElement, int depth)Create a newLabelInfofrom the given element and depth integer.MergeInfo(Element mergeElement)Create a newMergeInfoUpdateInfo(Element updateElement)Create a newUpdateInfoobject. -
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 ReportReportType. createReport(DeltaVResource resource, ReportInfo info)Creates a newReportwith this type.voidCompareBaselineReport. init(DavResource resource, ReportInfo info)voidExpandPropertyReport. init(DavResource resource, ReportInfo info)voidLatestActivityVersionReport. init(DavResource resource, ReportInfo info)Check all the preconditions for this report.voidLocateByHistoryReport. init(DavResource resource, ReportInfo info)voidReport. init(DavResource resource, ReportInfo info)Set theDeltaVResourcefor which this report was requested and theReportInfoas 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.voidVersionTreeReport. 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 newReportInfoobject from the given Xml element.
-