org.nuxeo.ecm.platform.wss.backend
Class SimpleNuxeoBackend
java.lang.Object
org.nuxeo.wss.spi.AbstractWSSBackend
org.nuxeo.ecm.platform.wss.backend.AbstractNuxeoCoreBackend
org.nuxeo.ecm.platform.wss.backend.SimpleNuxeoBackend
- All Implemented Interfaces:
- NuxeoWSSBackend, WSSBackend
public class SimpleNuxeoBackend
- extends AbstractNuxeoCoreBackend
- implements WSSBackend
SimpleNuxeoBackend
public SimpleNuxeoBackend(String corePathPrefix,
String urlRoot)
SimpleNuxeoBackend
public SimpleNuxeoBackend(String corePathPrefix,
String urlRoot,
CoreSession session)
exists
public boolean exists(String location)
- Specified by:
exists
in interface WSSBackend
- Overrides:
exists
in class AbstractWSSBackend
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
moveDocument
public WSSListItem moveDocument(DocumentModel source,
String newLocation)
throws WSSException
- 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
createFolder
public WSSListItem createFolder(String parentPath,
String name)
throws WSSException
- Specified by:
createFolder
in interface WSSBackend
- Throws:
WSSException
createFileItem
public WSSListItem createFileItem(String parentPath,
String name)
throws WSSException
- Specified by:
createFileItem
in interface WSSBackend
- Throws:
WSSException
getSite
public Site getSite(String location)
throws WSSException
- Specified by:
getSite
in interface WSSBackend
- Throws:
WSSException
getMetaData
public DWSMetaData getMetaData(String location,
WSSRequest request)
throws WSSException
- Specified by:
getMetaData
in interface WSSBackend
- Throws:
WSSException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.