public class WSSVirtualBackendAdapter extends WSSBackendAdapter
Constructor and Description |
---|
WSSVirtualBackendAdapter(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) |
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
listFolderishItems, listLeafItems
public boolean exists(String location)
exists
in interface WSSBackend
exists
in class WSSBackendAdapter
public WSSListItem getItem(String location) throws WSSException
getItem
in interface WSSBackend
getItem
in class WSSBackendAdapter
WSSException
public List<WSSListItem> listItems(String location) throws WSSException
listItems
in interface WSSBackend
listItems
in class WSSBackendAdapter
WSSException
public void begin() throws WSSException
begin
in interface WSSBackend
begin
in class WSSBackendAdapter
WSSException
public void saveChanges() throws WSSException
saveChanges
in interface WSSBackend
saveChanges
in class WSSBackendAdapter
WSSException
public WSSListItem moveItem(String location, String destination) throws WSSException
moveItem
in interface WSSBackend
moveItem
in class WSSBackendAdapter
WSSException
public void removeItem(String location) throws WSSException
removeItem
in interface WSSBackend
removeItem
in class WSSBackendAdapter
WSSException
public WSSListItem createFolder(String parentPath, String name) throws WSSException
createFolder
in interface WSSBackend
createFolder
in class WSSBackendAdapter
WSSException
public WSSListItem createFileItem(String parentPath, String name) throws WSSException
createFileItem
in interface WSSBackend
createFileItem
in class WSSBackendAdapter
WSSException
public DWSMetaData getMetaData(String location, WSSRequest wssRequest) throws WSSException
getMetaData
in interface WSSBackend
getMetaData
in class WSSBackendAdapter
WSSException
public Site getSite(String location) throws WSSException
getSite
in interface WSSBackend
getSite
in class WSSBackendAdapter
WSSException
Copyright © 2015 Nuxeo SA. All rights reserved.