org.nuxeo.ecm.platform.wss.backend
Class SearchBasedVirtualRootBackend
java.lang.Object
org.nuxeo.wss.spi.AbstractWSSBackend
org.nuxeo.ecm.platform.wss.backend.AbstractNuxeoCoreBackend
org.nuxeo.ecm.platform.wss.backend.SearchBasedVirtualRootBackend
- All Implemented Interfaces:
- NuxeoWSSBackend, WSSBackend
public class SearchBasedVirtualRootBackend
- extends AbstractNuxeoCoreBackend
- implements WSSBackend
SearchBasedVirtualRootBackend
public SearchBasedVirtualRootBackend(String urlRoot,
String query)
createFileItem
public WSSListItem createFileItem(String location,
String name)
throws WSSException
- Specified by:
createFileItem
in interface WSSBackend
- Throws:
WSSException
createFolder
public WSSListItem createFolder(String location,
String name)
throws WSSException
- Specified by:
createFolder
in interface WSSBackend
- Throws:
WSSException
getItem
public WSSListItem getItem(String location)
throws WSSException
- Specified by:
getItem
in interface WSSBackend
- Throws:
WSSException
listItems
public List<WSSListItem> listItems(String location)
throws WSSException
- Specified by:
listItems
in interface WSSBackend
- Throws:
WSSException
moveItem
public WSSListItem moveItem(String oldLocation,
String newLocation)
throws WSSException
- Specified by:
moveItem
in interface WSSBackend
- Throws:
WSSException
removeItem
public void removeItem(String location)
throws WSSException
- Specified by:
removeItem
in interface WSSBackend
- Throws:
WSSException
getName2path
public Map<String,String> getName2path()
throws ClientException,
Exception
- Throws:
ClientException
Exception
getMetaData
public DWSMetaData getMetaData(String url,
WSSRequest request)
throws WSSException
- Specified by:
getMetaData
in interface WSSBackend
- Throws:
WSSException
getSite
public Site getSite(String location)
throws WSSException
- Specified by:
getSite
in interface WSSBackend
- Throws:
WSSException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.