Package | Description |
---|---|
com.jalios.jcms.policy | |
com.jalios.jcms.webdav |
Contains classes which provides webdav access to JCMS.
|
com.jalios.jcms.webdav.cat |
Contains classes which provides webdav access to Categorie of JCMS.
|
com.jalios.jcms.webdav.file |
Contains classes which provides webdav access to FileDocument of JCMS.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
WebdavPolicyFilter.handleWebdavProperty(java.lang.String property,
java.lang.String jcms,
WebdavResource res,
WebdavContext ctxt)
This method handle response for the given property.
|
java.lang.String |
PolicyManager.handleWebdavProperty(java.lang.String property,
java.lang.String jcms,
WebdavResource res,
WebdavContext ctxt) |
java.lang.String |
BasicWebdavPolicyFilter.handleWebdavProperty(java.lang.String property,
java.lang.String jcms,
WebdavResource res,
WebdavContext ctxt) |
boolean |
WebdavPolicyFilter.silentFilterResource(boolean jcms,
WebdavResource res,
WebdavContext ctxt)
This method is called by CatWebdavFileSystem to ignore custom files
like windows thumb.db... that shound not be added to JCMS.
|
boolean |
PolicyManager.silentFilterResource(boolean jcms,
WebdavResource res,
WebdavContext ctxt) |
boolean |
BasicWebdavPolicyFilter.silentFilterResource(boolean jcms,
WebdavResource res,
WebdavContext ctxt) |
Modifier and Type | Method and Description |
---|---|
WebdavResource |
WebdavResource.getParent(WebdavContext ctxt)
This method will return the Parent WebdavResource of the resource.
|
abstract WebdavResource |
WebdavFileSystem.getResource(java.lang.String uri,
WebdavContext ctxt)
Lookup the resource represented by the given URI.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.Collection<WebdavResource> |
WebdavResource.getChildren(WebdavContext ctxt)
Return all the Children of the resource.
|
Modifier and Type | Method and Description |
---|---|
void |
WebdavLock.acquire(WebdavResource resource,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
that need to be notified by lock
|
void |
WebdavFileSystem.afterDoDelete(WebdavResource resource,
WebdavContext ctxt)
Must be called by Sub Implementation to resolve
properties and locks problem.
|
void |
WebdavFileSystem.afterDoMove(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt)
Must be called by Sub Implementation to resolve
properties and locks problem.
|
int |
WebdavResource.compareTo(WebdavResource otherRes) |
boolean |
WebdavFileSystem.doCopy(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt)
This method perform copy from one Webdav Resource to an Other
|
abstract boolean |
WebdavFileSystem.doCreate(WebdavResource resource,
boolean overwrite,
boolean isFolder,
WebdavContext ctxt)
This method perform create from one Webdav Resource
|
boolean |
WebdavFileSystem.doDelete(WebdavResource resource,
boolean recursive,
WebdavContext ctxt)
This method perform delete from one Webdav Resource
|
WebdavLock |
WebdavFileSystem.doLock(WebdavResource resource,
WebdavContext ctxt)
This method will parse header to identify
and create lock or locks on the given resource
If Errors append or Lock only need a refresh then
return false otherwise return true.
|
boolean |
WebdavFileSystem.doMove(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt)
This method perform move from one Webdav Resource to an Other
|
boolean |
WebdavFileSystem.doPut(WebdavResource resource,
boolean overwrite,
WebdavContext ctxt)
This method will do a create/overwrite a File or a Folder
|
boolean |
WebdavFileSystem.doUnlock(WebdavResource resource,
WebdavContext ctxt)
This method will unlock the given resource lock
defined in the if header.
|
java.util.Collection<WebdavLock> |
WebdavFileSystem.getDescendantLocks(WebdavResource resource,
WebdavContext ctxt)
This method will return locks of descendant on the given resource
|
java.util.Collection<WebdavLock> |
WebdavFileSystem.getLocks(WebdavResource resource,
WebdavContext ctxt)
This method will return all locks on the given resource and on all the parent collection.
|
protected java.lang.String |
WebdavManager.getMethodsAllowed(WebdavResource res,
WebdavContext ctxt) |
boolean |
WebdavFileSystem.hasInternalLock(WebdavResource res,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
|
boolean |
WebdavFileSystem.isInternallyLocked(WebdavResource res,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
|
abstract WebdavLock |
WebdavFileSystem.newLock(WebdavResource resource,
WebdavContext ctxt)
This method will return a new WebdavLock implementation
|
WebdavLock |
WebdavFileSystem.putLock(WebdavLock lock,
WebdavResource resource,
WebdavContext ctxt)
This method will put a lock on single given resource
|
WebdavLock |
WebdavFileSystem.putLocks(WebdavLock lock,
WebdavResource resource,
WebdavContext ctxt)
This method will put a lock on the given resource and its children
|
void |
WebdavLock.refresh(WebdavResource resource,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
that need to be notified by unlock
|
WebdavLock |
WebdavFileSystem.refreshLock(WebdavResource resource,
WebdavContext ctxt)
This method will refresh a lock on the given resource
and returned the refreshed lock if any or null otherwise.
|
void |
WebdavLock.release(WebdavResource resource,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
that need to be notified by unlock
|
boolean |
WebdavFileSystem.removeLock(WebdavLock lock,
WebdavResource resource,
WebdavContext ctxt)
This method will remove tokens on the given resource and its children
If there is no more tokens then remove the lock.
|
boolean |
WebdavFileSystem.removeLocks(WebdavResource resource,
WebdavContext ctxt)
This method will remove all lock for a given resource and its children
(shared lock will also be removed)
|
void |
WebdavContext.sendFile(int code,
WebdavResource resource,
boolean printContent)
Send a File throught response
|
void |
WebdavContext.sendHtml(int code,
java.lang.String html,
WebdavResource resource,
boolean printContent)
Send html representation of a Webdav Folder throught response
|
protected boolean |
WebdavFileSystem.silentFilterResource(WebdavResource resource,
WebdavContext ctxt)
Return true if the resource should be silently ignored.
|
java.lang.String |
WebdavContext.writeHtmlFolder(WebdavResource res)
This method will generate an HTML Page representing a Web Folder
TODO: Should Format Strings to be Web Compatible
|
java.util.List<org.jdom.Element> |
WebdavContext.writePropPatch(WebdavResource resource,
java.util.List<WebdavProperty> wdPropList)
Write PropPatch XML answer for the given WebdavResource.
|
Modifier and Type | Class and Description |
---|---|
class |
CatWebdavResource
A File Representation of a resource in the Webdav FileSystem
|
Modifier and Type | Method and Description |
---|---|
WebdavResource |
CatWebdavFileSystem.getResource(java.lang.String uri,
WebdavContext ctxt) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<WebdavResource> |
CatWebdavResource.getChildren(WebdavContext ctxt) |
Modifier and Type | Method and Description |
---|---|
void |
CatWebdavLock.acquire(WebdavResource resource,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
that need to be notified by lock
|
boolean |
CatWebdavFileSystem.copyFolder(WebdavResource src,
WebdavResource tgt,
boolean overwrite,
boolean recursive,
WebdavContext ctxt) |
boolean |
CatWebdavFileSystem.copyMoveFile(WebdavResource src,
WebdavResource tgt,
boolean move,
WebdavContext ctxt)
This method Copy/Move a resource to a given target location
|
boolean |
CatWebdavFileSystem.createFile(WebdavResource res,
WebdavContext ctxt)
Create a resource child of a given folder with the given name
If child already exists in JCMS then recaterize it
|
boolean |
CatWebdavFileSystem.createFolder(WebdavResource res,
WebdavContext ctxt)
Create a given target folder
|
boolean |
CatWebdavFileSystem.deleteFile(WebdavResource res,
WebdavContext ctxt)
Delete a given target file
|
boolean |
CatWebdavFileSystem.deleteFolder(WebdavResource res,
WebdavContext ctxt)
Delete a given target folder
|
boolean |
CatWebdavFileSystem.doCopy(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt) |
boolean |
CatWebdavFileSystem.doCreate(WebdavResource resource,
boolean overwrite,
boolean isFolder,
WebdavContext ctxt) |
boolean |
CatWebdavFileSystem.doDelete(WebdavResource resource,
boolean recursive,
WebdavContext ctxt) |
boolean |
CatWebdavFileSystem.doMove(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt) |
boolean |
CatWebdavFileSystem.isReadable(WebdavResource res,
boolean recursive,
WebdavContext ctxt)
Check if the resource is Readable
|
boolean |
CatWebdavFileSystem.isWritable(WebdavResource res,
boolean recursive,
boolean overwrite,
WebdavContext ctxt)
Check if the resource is Writable
|
boolean |
CatWebdavFileSystem.moveFolder(WebdavResource src,
WebdavResource tgt,
boolean overwrite,
boolean recursive,
WebdavContext ctxt)
This method will move a given source to target location
If target folder already exists then:
- Copy all children of the target under source
- Then copy all children of source under target
- Then remove source
|
WebdavLock |
CatWebdavFileSystem.newLock(WebdavResource resource,
WebdavContext ctxt) |
void |
CatWebdavLock.refresh(WebdavResource resource,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
that need to be notified by unlock
|
void |
CatWebdavLock.release(WebdavResource resource,
WebdavContext ctxt)
This method is called for other mecanism outside of Webdav
that need to be notified by unlock
|
boolean |
CatWebdavFileSystem.renameFile(WebdavResource src,
WebdavResource tgt,
WebdavContext ctxt)
Rename the given WebdavResource file to the given
target resource
|
boolean |
CatWebdavFileSystem.renameFolder(WebdavResource src,
WebdavResource tgt,
WebdavContext ctxt)
Rename the given WebdavResource folder to the given
target resource
|
protected boolean |
CatWebdavFileSystem.silentFilterResource(WebdavResource resource,
WebdavContext ctxt) |
Modifier and Type | Class and Description |
---|---|
class |
FileWebdavResource
A File Representation of a resource in the Webdav FileSystem
|
Modifier and Type | Method and Description |
---|---|
WebdavResource |
FileWebdavFileSystem.getResource(java.lang.String uri,
WebdavContext ctxt) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<WebdavResource> |
FileWebdavResource.getChildren(WebdavContext ctxt) |
Modifier and Type | Method and Description |
---|---|
boolean |
FileWebdavFileSystem.doCopy(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt) |
boolean |
FileWebdavFileSystem.doCreate(WebdavResource resource,
boolean overwrite,
boolean isFolder,
WebdavContext ctxt) |
boolean |
FileWebdavFileSystem.doDelete(WebdavResource resource,
boolean recursive,
WebdavContext ctxt) |
boolean |
FileWebdavFileSystem.doMove(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt) |
WebdavLock |
FileWebdavFileSystem.newLock(WebdavResource resource,
WebdavContext ctxt) |
Copyright © 2001-2010 Jalios SA. All Rights Reserved.