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) |
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 WSSBackend
WSSException
public List<WSSListItem> listItems(String s) throws WSSException
listItems
in interface WSSBackend
WSSException
public List<WSSListItem> listFolderishItems(String s) throws WSSException
listFolderishItems
in interface WSSBackend
WSSException
public List<WSSListItem> listLeafItems(String s) throws WSSException
listLeafItems
in interface WSSBackend
WSSException
public void begin() throws WSSException
begin
in interface WSSBackend
WSSException
public void saveChanges() throws WSSException
saveChanges
in interface WSSBackend
WSSException
public WSSListItem moveItem(String s, String s1) throws WSSException
moveItem
in interface WSSBackend
WSSException
public void removeItem(String s) throws WSSException
removeItem
in interface WSSBackend
WSSException
public boolean exists(String s)
exists
in interface WSSBackend
public WSSListItem createFolder(String s, String s1) throws WSSException
createFolder
in interface WSSBackend
WSSException
public WSSListItem createFileItem(String s, String s1) throws WSSException
createFileItem
in interface WSSBackend
WSSException
public DWSMetaData getMetaData(String s, WSSRequest wssRequest) throws WSSException
getMetaData
in interface WSSBackend
WSSException
public Site getSite(String s) throws WSSException
getSite
in interface WSSBackend
WSSException
Copyright © 2015 Nuxeo SA. All rights reserved.