Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.wss.backend
Class SimpleNuxeoBackend

java.lang.Object
  extended by org.nuxeo.wss.spi.AbstractWSSBackend
      extended by org.nuxeo.ecm.platform.wss.backend.AbstractNuxeoCoreBackend
          extended by org.nuxeo.ecm.platform.wss.backend.SimpleNuxeoBackend
All Implemented Interfaces:
NuxeoWSSBackend, WSSBackend

public class SimpleNuxeoBackend
extends AbstractNuxeoCoreBackend
implements WSSBackend


Constructor Summary
SimpleNuxeoBackend(java.lang.String corePathPrefix, java.lang.String urlRoot)
           
SimpleNuxeoBackend(java.lang.String corePathPrefix, java.lang.String urlRoot, CoreSession session)
           
 
Method Summary
 WSSListItem createFileItem(java.lang.String parentPath, java.lang.String name)
           
 WSSListItem createFolder(java.lang.String parentPath, java.lang.String name)
           
 boolean exists(java.lang.String location)
           
 WSSListItem getItem(java.lang.String location)
           
 DWSMetaData getMetaData(java.lang.String location, WSSRequest request)
           
 Site getSite(java.lang.String location)
           
 java.util.List<WSSListItem> listItems(java.lang.String location)
           
 WSSListItem moveDocument(DocumentModel source, java.lang.String newLocation)
           
 WSSListItem moveItem(java.lang.String oldLocation, java.lang.String newLocation)
           
 void removeItem(java.lang.String location)
           
 
Methods inherited from class org.nuxeo.ecm.platform.wss.backend.AbstractNuxeoCoreBackend
begin, discardChanges, discardChanges, saveChanges, saveChanges
 
Methods inherited from class org.nuxeo.wss.spi.AbstractWSSBackend
listFolderishItems, listLeafItems
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.wss.spi.WSSBackend
begin, discardChanges, listFolderishItems, listLeafItems, saveChanges
 

Constructor Detail

SimpleNuxeoBackend

public SimpleNuxeoBackend(java.lang.String corePathPrefix,
                          java.lang.String urlRoot)

SimpleNuxeoBackend

public SimpleNuxeoBackend(java.lang.String corePathPrefix,
                          java.lang.String urlRoot,
                          CoreSession session)
Method Detail

exists

public boolean exists(java.lang.String location)
Specified by:
exists in interface WSSBackend
Overrides:
exists in class AbstractWSSBackend

getItem

public WSSListItem getItem(java.lang.String location)
                    throws WSSException
Specified by:
getItem in interface WSSBackend
Throws:
WSSException

listItems

public java.util.List<WSSListItem> listItems(java.lang.String location)
                                      throws WSSException
Specified by:
listItems in interface WSSBackend
Throws:
WSSException

moveDocument

public WSSListItem moveDocument(DocumentModel source,
                                java.lang.String newLocation)
                         throws WSSException
Throws:
WSSException

moveItem

public WSSListItem moveItem(java.lang.String oldLocation,
                            java.lang.String newLocation)
                     throws WSSException
Specified by:
moveItem in interface WSSBackend
Throws:
WSSException

removeItem

public void removeItem(java.lang.String location)
                throws WSSException
Specified by:
removeItem in interface WSSBackend
Throws:
WSSException

createFolder

public WSSListItem createFolder(java.lang.String parentPath,
                                java.lang.String name)
                         throws WSSException
Specified by:
createFolder in interface WSSBackend
Throws:
WSSException

createFileItem

public WSSListItem createFileItem(java.lang.String parentPath,
                                  java.lang.String name)
                           throws WSSException
Specified by:
createFileItem in interface WSSBackend
Throws:
WSSException

getSite

public Site getSite(java.lang.String location)
             throws WSSException
Specified by:
getSite in interface WSSBackend
Throws:
WSSException

getMetaData

public DWSMetaData getMetaData(java.lang.String location,
                               WSSRequest request)
                        throws WSSException
Specified by:
getMetaData in interface WSSBackend
Throws:
WSSException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.