public class WSSBackendAdapter extends AbstractWSSBackend
Constructor and Description |
---|
WSSBackendAdapter(Backend backend,
String virtualRoot) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
WSSListItem |
createFileItem(String parentPath,
String name) |
WSSListItem |
createFolder(String parentPath,
String name) |
boolean |
exists(String location) |
DocumentModel |
getDocument(String location) |
WSSListItem |
getItem(String location) |
DWSMetaData |
getMetaData(String location,
WSSRequest wssRequest) |
Site |
getSite(String location) |
List<WSSListItem> |
listItems(String location) |
WSSListItem |
moveItem(DocumentModel model,
String destination) |
WSSListItem |
moveItem(String location,
String destination) |
void |
removeItem(String location) |
void |
saveChanges() |
listFolderishItems, listLeafItems
public boolean exists(String location)
exists
in interface WSSBackend
exists
in class AbstractWSSBackend
public WSSListItem getItem(String location) throws WSSException
WSSException
public List<WSSListItem> listItems(String location) throws WSSException
WSSException
public void begin() throws WSSException
WSSException
public void saveChanges() throws WSSException
WSSException
public WSSListItem moveItem(String location, String destination) throws WSSException
WSSException
public WSSListItem moveItem(DocumentModel model, String destination) throws WSSException
WSSException
public DocumentModel getDocument(String location) throws WSSException
WSSException
public void removeItem(String location) throws WSSException
WSSException
public WSSListItem createFolder(String parentPath, String name) throws WSSException
WSSException
public WSSListItem createFileItem(String parentPath, String name) throws WSSException
WSSException
public DWSMetaData getMetaData(String location, WSSRequest wssRequest) throws WSSException
WSSException
public Site getSite(String location) throws WSSException
WSSException
Copyright © 2013 Nuxeo SA. All Rights Reserved.