public class WSSFakeBackend extends Object implements WSSBackend
| Constructor and Description |
|---|
WSSFakeBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
WSSListItem |
createFileItem(String s,
String s1) |
WSSListItem |
createFolder(String s,
String s1) |
void |
discardChanges() |
boolean |
exists(String s) |
WSSListItem |
getItem(String s) |
DWSMetaData |
getMetaData(String s,
WSSRequest wssRequest) |
Site |
getSite(String s) |
List<WSSListItem> |
listFolderishItems(String s) |
List<WSSListItem> |
listItems(String s) |
List<WSSListItem> |
listLeafItems(String s) |
WSSListItem |
moveItem(String s,
String s1) |
void |
removeItem(String s) |
void |
saveChanges() |
public WSSListItem getItem(String s) throws WSSException
getItem in interface WSSBackendWSSExceptionpublic List<WSSListItem> listItems(String s) throws WSSException
listItems in interface WSSBackendWSSExceptionpublic List<WSSListItem> listFolderishItems(String s) throws WSSException
listFolderishItems in interface WSSBackendWSSExceptionpublic List<WSSListItem> listLeafItems(String s) throws WSSException
listLeafItems in interface WSSBackendWSSExceptionpublic void begin()
throws WSSException
begin in interface WSSBackendWSSExceptionpublic void saveChanges()
throws WSSException
saveChanges in interface WSSBackendWSSExceptionpublic void discardChanges()
throws WSSException
discardChanges in interface WSSBackendWSSExceptionpublic WSSListItem moveItem(String s, String s1) throws WSSException
moveItem in interface WSSBackendWSSExceptionpublic void removeItem(String s) throws WSSException
removeItem in interface WSSBackendWSSExceptionpublic boolean exists(String s)
exists in interface WSSBackendpublic WSSListItem createFolder(String s, String s1) throws WSSException
createFolder in interface WSSBackendWSSExceptionpublic WSSListItem createFileItem(String s, String s1) throws WSSException
createFileItem in interface WSSBackendWSSExceptionpublic DWSMetaData getMetaData(String s, WSSRequest wssRequest) throws WSSException
getMetaData in interface WSSBackendWSSExceptionpublic Site getSite(String s) throws WSSException
getSite in interface WSSBackendWSSExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.