Modifier and Type | Method and Description |
---|---|
RequestContext |
CalDavStore.begin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
Modifier and Type | Method and Description |
---|---|
void |
CalDavStore.commit(RequestContext requestContext) |
void |
CalDavStore.createCollection(RequestContext requestContext,
String path) |
void |
DoReport.folderBody(RequestContext requestContext,
Resource so) |
Collection<Resource> |
CalDavStore.getChildren(RequestContext requestContext,
Resource res,
Date timeRangeStart,
Date timeRangeEnd) |
List<Lock> |
CalDavStore.getLocksByPath(RequestContext requestContext,
String path) |
Resource |
CalDavStore.getResourceByPath(RequestContext requestContext,
String path) |
protected Resource |
CalDavStore.getResourceByPath(RequestContext requestContext,
String path,
boolean allowRunAs)
Path is of the form:
- Format 1: {provider.id} "/" {segment.id} ["/user/"] {user.id} ["/profile/"] {profile.id}]
- Format 2: {provider.id} "/" {segment.id} "/" {user.id} "/" {profile.id} "/" {feed.id} [":VTODO"] "/" {activity.id}
- Format 3: {provider.id} "/" {segment.id} ["/user/" {user.id} ] "/" {tracker|milestone|category|home|resource|filter} "/" {calendar.name} ["/filter/" {filter.name}] ["/VTODO"] "/" {activity.id}
|
org.w3c.cci2.BinaryLargeObject |
CalDavStore.getResourceContent(RequestContext requestContext,
Resource res) |
protected boolean |
DoPropfind.handleExtension(RequestContext requestContext,
XMLWriter writer,
String contextPath,
Resource res,
String property) |
Lock |
CalDavStore.lock(RequestContext requestContext,
String path,
String owner,
String scope,
String type,
int depth,
int timeout) |
WebDavStore.Status |
CalDavStore.moveResource(RequestContext requestContext,
Resource res,
String sourcePath,
String destinationPath) |
WebDavStore.Status |
CalDavStore.putResource(RequestContext requestContext,
String path,
InputStream content,
String contentType) |
WebDavStore.Status |
CalDavStore.removeResource(RequestContext requestContext,
String path,
Resource res) |
void |
CalDavStore.rollback(RequestContext requestContext) |
void |
CalDavStore.setLockTimeout(RequestContext requestContext,
String id,
int timeout) |
boolean |
CalDavStore.unlock(RequestContext requestContext,
String id) |
protected void |
DoPropfind.writeCollectionType(RequestContext requestContext,
XMLWriter writer,
Resource res) |
Modifier and Type | Method and Description |
---|---|
RequestContext |
CardDavStore.begin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
Modifier and Type | Method and Description |
---|---|
void |
CardDavStore.commit(RequestContext requestContext) |
void |
CardDavStore.createCollection(RequestContext requestContext,
String path) |
void |
DoReport.folderBody(RequestContext requestContext,
Resource so) |
Collection<Resource> |
CardDavStore.getChildren(RequestContext requestContext,
Resource res,
Date timeRangeStart,
Date timeRangeEnd) |
List<Lock> |
CardDavStore.getLocksByPath(RequestContext requestContext,
String path) |
Resource |
CardDavStore.getResourceByPath(RequestContext requestContext,
String path)
Path is of the form:
- Format 1: {provider.id} "/" {segment.id} "/" ["user" "/"] {user.id} "/" ["profile" "/"] {profile.id} "/" {feed.id} "/" {account.id}
|
org.w3c.cci2.BinaryLargeObject |
CardDavStore.getResourceContent(RequestContext requestContext,
Resource res) |
protected boolean |
DoPropfind.handleExtension(RequestContext requestContext,
XMLWriter writer,
String contextPath,
Resource res,
String property) |
Lock |
CardDavStore.lock(RequestContext requestContext,
String path,
String owner,
String scope,
String type,
int depth,
int timeout) |
WebDavStore.Status |
CardDavStore.moveResource(RequestContext requestContext,
Resource res,
String sourcePath,
String destinationPath) |
WebDavStore.Status |
CardDavStore.putResource(RequestContext requestContext,
String path,
InputStream content,
String contentType) |
WebDavStore.Status |
CardDavStore.removeResource(RequestContext requestContext,
String path,
Resource res) |
void |
CardDavStore.rollback(RequestContext requestContext) |
void |
CardDavStore.setLockTimeout(RequestContext requestContext,
String id,
int timeout) |
boolean |
CardDavStore.unlock(RequestContext requestContext,
String id) |
protected void |
DoPropfind.writeCollectionType(RequestContext requestContext,
XMLWriter writer,
Resource res) |
Constructor and Description |
---|
AccountCollectionResource(RequestContext requestContext,
ContactsFeed contactsFeed)
Constructor
|
Modifier and Type | Method and Description |
---|---|
RequestContext |
WebDavStore.begin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Indicates that a new request or transaction with this store involved has
been started.
|
Modifier and Type | Method and Description |
---|---|
void |
WebDavStore.commit(RequestContext requestContext)
Indicates that all changes done inside this request shall be made
permanent and any transactions, connections and other temporary resources
shall be terminated.
|
void |
WebDavStore.createCollection(RequestContext requestContext,
String path)
Creates a folder at the position specified by
folderUri . |
Collection<Resource> |
WebDavStore.getChildren(RequestContext requestContext,
Resource res,
Date timeRangeStart,
Date timeRangeEnd)
Gets the names of the children of the folder specified by
folderUri . |
List<Lock> |
WebDavStore.getLocksByPath(RequestContext requestContext,
String path)
Gets the LockedObject on specified path.
|
Resource |
WebDavStore.getResourceByPath(RequestContext requestContext,
String path)
Gets the storedObject specified by
uri |
org.w3c.cci2.BinaryLargeObject |
WebDavStore.getResourceContent(RequestContext requestContext,
Resource res)
Gets the content of the resource specified by
resourceUri . |
Lock |
WebDavStore.lock(RequestContext requestContext,
String path,
String owner,
String scope,
String type,
int depth,
int timeout)
Tries to lock the resource at "path".
|
WebDavStore.Status |
WebDavStore.moveResource(RequestContext requestContext,
Resource res,
String sourcePath,
String destinationPath)
Moves the resource from sourcePath to destinationPath
|
WebDavStore.Status |
WebDavStore.putResource(RequestContext transaction,
String path,
InputStream content,
String contentType) |
WebDavStore.Status |
WebDavStore.removeResource(RequestContext requestContext,
String path,
Resource res)
Removes the object specified by
uri . |
void |
WebDavStore.rollback(RequestContext requestContext)
Indicates that all changes done inside this request shall be undone and
any transactions, connections and other temporary resources shall be
terminated.
|
void |
WebDavStore.setLockTimeout(RequestContext requestContext,
String id,
int timeout)
Set timeout for specified lock.
|
boolean |
WebDavStore.unlock(RequestContext requestContext,
String id)
Unlocks all resources at "path" (and all subfolders if existing) that
have the same owner.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
WebDavMethod.checkLocks(RequestContext requestContext,
WebDavStore store,
String path)
Checks if locks on resources at the given path exists and if so checks
the If-Header to make sure the If-Header corresponds to the locked
resource.
|
boolean |
DoCopy.copyResource(RequestContext requestContext)
Copy a resource.
|
void |
DoDelete.deleteResource(RequestContext requestContext,
Resource so,
String path,
Hashtable<String,Integer> errorList)
deletes the resources at "path"
|
protected void |
DoGet.doBody(RequestContext requestContext,
Resource res) |
protected void |
DoHead.doBody(RequestContext requestContext,
Resource so)
Process request in case the resource is not a folder.
|
void |
DoUnlock.execute(RequestContext requestContext) |
void |
DoPut.execute(RequestContext requestContext) |
void |
DoPropfind.execute(RequestContext requestContext) |
void |
DoMove.execute(RequestContext requestContext) |
void |
DoNotImplemented.execute(RequestContext requestContext) |
void |
DoCopy.execute(RequestContext requestContext) |
void |
DoProppatch.execute(RequestContext requestContext) |
void |
DoLock.execute(RequestContext requestContext) |
void |
DoDelete.execute(RequestContext requestContext) |
void |
DoMkcol.execute(RequestContext requestContext) |
void |
DoOptions.execute(RequestContext requestContext) |
void |
DoHead.execute(RequestContext requestContext) |
abstract void |
WebDavMethod.execute(RequestContext requestContext)
To be implemented by concrete method.
|
protected void |
DoGet.folderBody(RequestContext requestContext,
Resource so) |
protected void |
DoHead.folderBody(RequestContext requestContext,
Resource so)
Process request in case the resource is a folder.
|
protected int |
WebDavMethod.getDepth(RequestContext requestContext,
Resource res)
Reads the depth header from the request and returns it as a int.
|
protected String[] |
WebDavMethod.getLockIdFromIfHeader(RequestContext requestContext) |
protected String |
WebDavMethod.getLockIdFromLockTokenHeader(RequestContext requestContext) |
protected String |
WebDavMethod.getRelativePath(RequestContext requestContext)
Return the relative path associated with this servlet.
|
protected String |
WebDavMethod.getRelativePath(RequestContext requestContext,
String absolutePath) |
protected boolean |
DoPropfind.handleExtension(RequestContext requestContext,
XMLWriter writer,
String contextPath,
Resource res,
String property) |
void |
DoMove.moveResource(RequestContext requestContext,
Resource res,
String sourcePath,
String destinationPath,
Hashtable<String,Integer> errorList)
deletes the resources at "path"
|
protected void |
DoPropfind.parseProperties(RequestContext requestContext,
XMLWriter writer,
Resource res,
String path,
int type,
List<String> propertiesVector,
int depth)
Propfind helper method.
|
protected void |
DoPropfind.recursiveParseProperties(RequestContext requestContext,
XMLWriter writer,
Resource res,
String path,
int propertyFindType,
List<String> properties,
int currentDepth,
int depth)
goes recursive through all folders.
|
protected void |
WebDavMethod.sendReport(RequestContext requestContext,
Hashtable<String,Integer> errorList)
Send a multistatus element containing a complete error report to the
client.
|
protected void |
DoPropfind.writeCollectionType(RequestContext requestContext,
XMLWriter writer,
Resource res) |
protected void |
DoGet.writeFooter(HTMLWriter writer,
RequestContext requestContext,
String name)
Return the footer to be displayed after the folder content
|
protected void |
DoGet.writeHeader(HTMLWriter writer,
RequestContext requestContext,
String name)
Return the header to be displayed in front of the folder content
|
protected void |
DoPropfind.writeLockDiscoveryElements(RequestContext requestContext,
XMLWriter writer,
String path,
int _depth) |
protected void |
DoPropfind.writeSupportedLockElements(RequestContext requestContext,
XMLWriter writer,
String path) |
Modifier and Type | Method and Description |
---|---|
RequestContext |
WebDavStore.begin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
Modifier and Type | Method and Description |
---|---|
void |
WebDavStore.commit(RequestContext requestContext) |
void |
WebDavStore.createCollection(RequestContext requestContext,
String path) |
Collection<Resource> |
WebDavStore.getChildren(RequestContext requestContext,
Resource res,
Date timeRangeStart,
Date timeRangeEnd) |
List<Lock> |
WebDavStore.getLocksByPath(RequestContext requestContext,
String path) |
Resource |
WebDavStore.getResourceByPath(RequestContext requestContext,
String path)
Path is of the form:
{provider.id} "/" {segment.id} ["/user/"] {user.id} ["/profile/"] {profile.name} "/" {feed.name} ["/" {folder.name} ]* "/" {document.name}
|
org.w3c.cci2.BinaryLargeObject |
WebDavStore.getResourceContent(RequestContext requestContext,
Resource res) |
Lock |
WebDavStore.lock(RequestContext requestContext,
String path,
String owner,
String scope,
String type,
int depth,
int timeout) |
WebDavStore.Status |
WebDavStore.moveResource(RequestContext requestContext,
Resource sourceRes,
String sourcePath,
String destinationPath) |
WebDavStore.Status |
WebDavStore.putResource(RequestContext requestContext,
String path,
InputStream content,
String contentType) |
WebDavStore.Status |
WebDavStore.removeResource(RequestContext requestContext,
String path,
Resource res) |
void |
WebDavStore.rollback(RequestContext requestContext) |
void |
WebDavStore.setLockTimeout(RequestContext requestContext,
String id,
int timeout) |
boolean |
WebDavStore.unlock(RequestContext requestContext,
String id) |
Constructor and Description |
---|
DocumentCollectionResource(RequestContext requestContext,
DocumentFilterGlobal documentFilter)
Constructor.
|
DocumentCollectionResource(RequestContext requestContext,
DocumentFolder documentFolder)
Constructor.
|
DocumentFilterFeedResource(RequestContext requestContext,
DocumentFilterFeed documentFilterFeed)
Constructor.
|
DocumentFolderFeedResource(RequestContext requestContext,
DocumentFeed documentFeed)
Constructor.
|
DocumentFolderResource(RequestContext requestContext,
DocumentFolder documentFolder)
Constructor.
|
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.