public class DummyWSSBackend extends AbstractWSSBackend implements WSSBackend
Constructor and Description |
---|
DummyWSSBackend() |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
WSSListItem |
createFileItem(String location,
String name) |
WSSListItem |
createFolder(String location,
String name) |
void |
discardChanges() |
WSSListItem |
getItem(String location) |
DWSMetaData |
getMetaData(String location,
WSSRequest request) |
Site |
getSite(String location) |
List<WSSListItem> |
listItems(String location) |
WSSListItem |
moveItem(String oldLocation,
String newLocation) |
void |
removeItem(String location) |
void |
saveChanges() |
exists, listFolderishItems, listLeafItems
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists, listFolderishItems, listLeafItems
public List<WSSListItem> listItems(String location)
listItems
in interface WSSBackend
public WSSListItem getItem(String location) throws WSSException
getItem
in interface WSSBackend
WSSException
public void discardChanges() throws WSSException
discardChanges
in interface WSSBackend
WSSException
public void saveChanges() throws WSSException
saveChanges
in interface WSSBackend
WSSException
public WSSListItem moveItem(String oldLocation, String newLocation) throws WSSException
moveItem
in interface WSSBackend
WSSException
public void removeItem(String location)
removeItem
in interface WSSBackend
public WSSListItem createFolder(String location, String name)
createFolder
in interface WSSBackend
public WSSListItem createFileItem(String location, String name) throws WSSException
createFileItem
in interface WSSBackend
WSSException
public DWSMetaData getMetaData(String location, WSSRequest request) throws WSSException
getMetaData
in interface WSSBackend
WSSException
public Site getSite(String location)
getSite
in interface WSSBackend
public void begin() throws WSSException
begin
in interface WSSBackend
WSSException
Copyright © 2013 Nuxeo SA. All Rights Reserved.