Package | Description |
---|---|
org.modeshape.webdav | |
org.modeshape.webdav.locking | |
org.modeshape.webdav.methods |
Modifier and Type | Method and Description |
---|---|
ITransaction |
LocalFileSystemStore.begin(Principal principal) |
ITransaction |
IWebdavStore.begin(Principal principal)
Indicates that a new request or transaction with this store involved has
been started.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalFileSystemStore.checkAuthentication(ITransaction transaction) |
void |
IWebdavStore.checkAuthentication(ITransaction transaction)
Checks if authentication information passed in is valid.
|
void |
LocalFileSystemStore.commit(ITransaction transaction) |
void |
IWebdavStore.commit(ITransaction transaction)
Indicates that all changes done inside this request shall be made
permanent and any transactions, connections and other temporary resources
shall be terminated.
|
void |
LocalFileSystemStore.createFolder(ITransaction transaction,
String uri) |
void |
IWebdavStore.createFolder(ITransaction transaction,
String folderUri)
Creates a folder at the position specified by
folderUri . |
void |
LocalFileSystemStore.createResource(ITransaction transaction,
String uri) |
void |
IWebdavStore.createResource(ITransaction transaction,
String resourceUri)
Creates a content resource at the position specified by
resourceUri . |
void |
IMethodExecutor.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
String[] |
LocalFileSystemStore.getChildrenNames(ITransaction transaction,
String uri) |
String[] |
IWebdavStore.getChildrenNames(ITransaction transaction,
String folderUri)
Gets the names of the children of the folder specified by
folderUri . |
Map<String,String> |
LocalFileSystemStore.getCustomNamespaces(ITransaction transaction,
String resourceUri) |
Map<String,String> |
IWebdavStore.getCustomNamespaces(ITransaction transaction,
String resourceUri)
Returns a map of custom namespaces that are specific to the store.
|
Map<String,Object> |
LocalFileSystemStore.getCustomProperties(ITransaction transaction,
String resourceUri) |
Map<String,Object> |
IWebdavStore.getCustomProperties(ITransaction transaction,
String resourceUri)
Returns the map of (propertyName, propertyValue) of custom properties of the given resource.
|
String |
IMimeTyper.getMimeType(ITransaction transaction,
String path)
Detect the mime type of this object
|
InputStream |
LocalFileSystemStore.getResourceContent(ITransaction transaction,
String uri) |
InputStream |
IWebdavStore.getResourceContent(ITransaction transaction,
String resourceUri)
Gets the content of the resource specified by
resourceUri . |
long |
LocalFileSystemStore.getResourceLength(ITransaction transaction,
String resourceUri) |
long |
IWebdavStore.getResourceLength(ITransaction transaction,
String resourceUri)
Gets the length of the content resource specified by
resourceUri . |
StoredObject |
LocalFileSystemStore.getStoredObject(ITransaction transaction,
String uri) |
StoredObject |
IWebdavStore.getStoredObject(ITransaction transaction,
String uri)
Gets the storedObject specified by
uri |
void |
LocalFileSystemStore.removeObject(ITransaction transaction,
String uri) |
void |
IWebdavStore.removeObject(ITransaction transaction,
String uri)
Removes the object specified by
uri . |
void |
LocalFileSystemStore.rollback(ITransaction transaction) |
void |
IWebdavStore.rollback(ITransaction transaction)
Indicates that all changes done inside this request shall be undone and
any transactions, connections and other temporary resources shall be
terminated.
|
Map<String,String> |
LocalFileSystemStore.setCustomProperties(ITransaction transaction,
String resourceUri,
Map<String,Object> propertiesToSet,
List<String> propertiesToRemove) |
Map<String,String> |
IWebdavStore.setCustomProperties(ITransaction transaction,
String resourceUri,
Map<String,Object> propertiesToSet,
List<String> propertiesToRemove)
Updates the custom properties on the given resource.
|
long |
LocalFileSystemStore.setResourceContent(ITransaction transaction,
String uri,
InputStream is,
String contentType,
String characterEncoding) |
long |
IWebdavStore.setResourceContent(ITransaction transaction,
String resourceUri,
InputStream content,
String contentType,
String characterEncoding)
Sets / stores the content of the resource specified by
resourceUri . |
Modifier and Type | Method and Description |
---|---|
void |
ResourceLocks.checkTimeouts(ITransaction transaction,
boolean temporary) |
void |
IResourceLocks.checkTimeouts(ITransaction transaction,
boolean temporary)
Deletes LockedObjects, where timeout has reached.
|
boolean |
ResourceLocks.exclusiveLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout) |
boolean |
IResourceLocks.exclusiveLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout)
Tries to lock the resource at "path" exclusively.
|
LockedObject |
ResourceLocks.getLockedObjectByID(ITransaction transaction,
String id) |
LockedObject |
IResourceLocks.getLockedObjectByID(ITransaction transaction,
String id)
Gets the LockedObject corresponding to specified id.
|
LockedObject |
ResourceLocks.getLockedObjectByPath(ITransaction transaction,
String path) |
LockedObject |
IResourceLocks.getLockedObjectByPath(ITransaction transaction,
String path)
Gets the LockedObject on specified path.
|
LockedObject |
ResourceLocks.getTempLockedObjectByID(ITransaction transaction,
String id) |
LockedObject |
IResourceLocks.getTempLockedObjectByID(ITransaction transaction,
String id)
Gets the LockedObject corresponding to specified id (locktoken).
|
LockedObject |
ResourceLocks.getTempLockedObjectByPath(ITransaction transaction,
String path) |
LockedObject |
IResourceLocks.getTempLockedObjectByPath(ITransaction transaction,
String path)
Gets the LockedObject on specified path.
|
boolean |
ResourceLocks.lock(ITransaction transaction,
String path,
String owner,
boolean exclusive,
int depth,
int timeout,
boolean temporary) |
boolean |
IResourceLocks.lock(ITransaction transaction,
String path,
String owner,
boolean exclusive,
int depth,
int timeout,
boolean temporary)
Tries to lock the resource at "path".
|
boolean |
ResourceLocks.sharedLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout) |
boolean |
IResourceLocks.sharedLock(ITransaction transaction,
String path,
String owner,
int depth,
int timeout)
Tries to lock the resource at "path" shared.
|
boolean |
ResourceLocks.unlock(ITransaction transaction,
String id,
String owner) |
boolean |
IResourceLocks.unlock(ITransaction transaction,
String id,
String owner)
Unlocks all resources at "path" (and all subfolders if existing)
that have the same owner.
|
void |
ResourceLocks.unlockTemporaryLockedObjects(ITransaction transaction,
String path,
String owner) |
void |
IResourceLocks.unlockTemporaryLockedObjects(ITransaction transaction,
String path,
String owner)
Unlocks all resources at "path" (and all subfolders if existing)
that have the same owner.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DoCopy.copyResource(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp)
Copy a resource.
|
void |
DoDelete.deleteResource(ITransaction transaction,
String path,
Hashtable<String,Integer> errorList,
HttpServletRequest req,
HttpServletResponse resp)
deletes the recources at "path"
|
protected void |
DoHead.doBody(ITransaction transaction,
HttpServletResponse resp,
String path) |
protected void |
DoGet.doBody(ITransaction transaction,
HttpServletResponse resp,
String path) |
void |
DoUnlock.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoPut.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoProppatch.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoPropfind.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoOptions.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoNotImplemented.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoMove.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoMkcol.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoLock.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoHead.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoDelete.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
void |
DoCopy.execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
protected void |
DoHead.folderBody(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req) |
protected void |
DoGet.folderBody(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req) |
protected String |
DoGet.getFooter(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req)
Return the footer to be displayed after the folder content
|
protected String |
DoGet.getHeader(ITransaction transaction,
String path,
HttpServletResponse resp,
HttpServletRequest req)
Return the header to be displayed in front of the folder content
|
protected boolean |
AbstractMethod.isUnlocked(ITransaction transaction,
HttpServletRequest req,
IResourceLocks resourceLocks,
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.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.