org.nuxeo.ecm.webdav.backend
Interface WebDavBackend
- All Known Implementing Classes:
- WebDavBackendAdapter
public interface WebDavBackend
|
Method Summary |
boolean |
canUnlock(org.nuxeo.ecm.core.api.DocumentRef ref)
|
org.nuxeo.ecm.core.api.DocumentModel |
copyItem(org.nuxeo.ecm.core.api.DocumentModel source,
org.nuxeo.ecm.core.api.PathRef targetParentRef)
|
org.nuxeo.ecm.core.api.DocumentModel |
createFile(String parentPath,
String name)
|
org.nuxeo.ecm.core.api.DocumentModel |
createFile(String parentPath,
String name,
org.nuxeo.ecm.core.api.Blob content)
|
org.nuxeo.ecm.core.api.DocumentModel |
createFolder(String parentPath,
String name)
|
void |
discardChanges()
|
boolean |
exists(String location)
|
String |
getCheckoutUser(org.nuxeo.ecm.core.api.DocumentRef ref)
|
List<org.nuxeo.ecm.core.api.DocumentModel> |
getChildren(org.nuxeo.ecm.core.api.DocumentRef ref)
|
String |
getDisplayName(org.nuxeo.ecm.core.api.DocumentModel doc)
|
org.nuxeo.ecm.core.api.DocumentModel |
getDocument(String location)
|
LinkedList<String> |
getVirtualFolderNames()
|
boolean |
hasPermission(org.nuxeo.ecm.core.api.DocumentRef docRef,
String permission)
|
boolean |
isLocked(org.nuxeo.ecm.core.api.DocumentRef ref)
|
boolean |
isRename(String source,
String destination)
|
boolean |
isVirtual()
|
String |
lock(org.nuxeo.ecm.core.api.DocumentRef ref)
|
org.nuxeo.ecm.core.api.DocumentModel |
moveItem(org.nuxeo.ecm.core.api.DocumentModel source,
org.nuxeo.ecm.core.api.PathRef targetParentRef)
|
org.nuxeo.common.utils.Path |
parseLocation(String location)
|
void |
removeItem(org.nuxeo.ecm.core.api.DocumentRef ref)
|
void |
removeItem(String location)
|
void |
renameItem(org.nuxeo.ecm.core.api.DocumentModel source,
String destinationName)
|
org.nuxeo.ecm.core.api.DocumentModel |
resolveLocation(String location)
|
void |
saveChanges()
|
boolean |
unlock(org.nuxeo.ecm.core.api.DocumentRef ref)
|
org.nuxeo.ecm.core.api.DocumentModel |
updateDocument(org.nuxeo.ecm.core.api.DocumentModel doc,
String name,
org.nuxeo.ecm.core.api.Blob content)
|
saveChanges
void saveChanges()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
discardChanges
void discardChanges()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isLocked
boolean isLocked(org.nuxeo.ecm.core.api.DocumentRef ref)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
canUnlock
boolean canUnlock(org.nuxeo.ecm.core.api.DocumentRef ref)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
lock
String lock(org.nuxeo.ecm.core.api.DocumentRef ref)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
unlock
boolean unlock(org.nuxeo.ecm.core.api.DocumentRef ref)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getCheckoutUser
String getCheckoutUser(org.nuxeo.ecm.core.api.DocumentRef ref)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
parseLocation
org.nuxeo.common.utils.Path parseLocation(String location)
resolveLocation
org.nuxeo.ecm.core.api.DocumentModel resolveLocation(String location)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
removeItem
void removeItem(String location)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
removeItem
void removeItem(org.nuxeo.ecm.core.api.DocumentRef ref)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
renameItem
void renameItem(org.nuxeo.ecm.core.api.DocumentModel source,
String destinationName)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
moveItem
org.nuxeo.ecm.core.api.DocumentModel moveItem(org.nuxeo.ecm.core.api.DocumentModel source,
org.nuxeo.ecm.core.api.PathRef targetParentRef)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
copyItem
org.nuxeo.ecm.core.api.DocumentModel copyItem(org.nuxeo.ecm.core.api.DocumentModel source,
org.nuxeo.ecm.core.api.PathRef targetParentRef)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
createFolder
org.nuxeo.ecm.core.api.DocumentModel createFolder(String parentPath,
String name)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
createFile
org.nuxeo.ecm.core.api.DocumentModel createFile(String parentPath,
String name,
org.nuxeo.ecm.core.api.Blob content)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
createFile
org.nuxeo.ecm.core.api.DocumentModel createFile(String parentPath,
String name)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
updateDocument
org.nuxeo.ecm.core.api.DocumentModel updateDocument(org.nuxeo.ecm.core.api.DocumentModel doc,
String name,
org.nuxeo.ecm.core.api.Blob content)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getChildren
List<org.nuxeo.ecm.core.api.DocumentModel> getChildren(org.nuxeo.ecm.core.api.DocumentRef ref)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isRename
boolean isRename(String source,
String destination)
exists
boolean exists(String location)
hasPermission
boolean hasPermission(org.nuxeo.ecm.core.api.DocumentRef docRef,
String permission)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getDisplayName
String getDisplayName(org.nuxeo.ecm.core.api.DocumentModel doc)
getVirtualFolderNames
LinkedList<String> getVirtualFolderNames()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isVirtual
boolean isVirtual()
getDocument
org.nuxeo.ecm.core.api.DocumentModel getDocument(String location)
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.