public class WSSRootBackendAdapter extends WSSBackendAdapter
| Constructor and Description |
|---|
WSSRootBackendAdapter(Backend backend,
String virtualRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
WSSListItem |
createFileItem(String parentPath,
String name) |
WSSListItem |
createFolder(String parentPath,
String name) |
void |
discardChanges() |
boolean |
exists(String location) |
WSSListItem |
getItem(String location) |
DWSMetaData |
getMetaData(String location,
WSSRequest wssRequest) |
Site |
getSite(String location) |
List<WSSListItem> |
listItems(String location) |
WSSListItem |
moveItem(String location,
String destination) |
void |
removeItem(String location) |
void |
saveChanges() |
getDocument, moveItem, setSessionlistFolderishItems, listLeafItemspublic boolean exists(String location)
exists in interface WSSBackendexists in class WSSBackendAdapterpublic WSSListItem getItem(String location) throws WSSException
getItem in interface WSSBackendgetItem in class WSSBackendAdapterWSSExceptionpublic List<WSSListItem> listItems(String location) throws WSSException
listItems in interface WSSBackendlistItems in class WSSBackendAdapterWSSExceptionpublic void begin()
throws WSSException
begin in interface WSSBackendbegin in class WSSBackendAdapterWSSExceptionpublic void saveChanges()
throws WSSException
saveChanges in interface WSSBackendsaveChanges in class WSSBackendAdapterWSSExceptionpublic void discardChanges()
throws WSSException
discardChanges in interface WSSBackenddiscardChanges in class WSSBackendAdapterWSSExceptionpublic WSSListItem moveItem(String location, String destination) throws WSSException
moveItem in interface WSSBackendmoveItem in class WSSBackendAdapterWSSExceptionpublic void removeItem(String location) throws WSSException
removeItem in interface WSSBackendremoveItem in class WSSBackendAdapterWSSExceptionpublic WSSListItem createFolder(String parentPath, String name) throws WSSException
createFolder in interface WSSBackendcreateFolder in class WSSBackendAdapterWSSExceptionpublic WSSListItem createFileItem(String parentPath, String name) throws WSSException
createFileItem in interface WSSBackendcreateFileItem in class WSSBackendAdapterWSSExceptionpublic DWSMetaData getMetaData(String location, WSSRequest wssRequest) throws WSSException
getMetaData in interface WSSBackendgetMetaData in class WSSBackendAdapterWSSExceptionpublic Site getSite(String location) throws WSSException
getSite in interface WSSBackendgetSite in class WSSBackendAdapterWSSExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.