Nuxeo Enterprise Platform 5.4

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

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

public class VirtualRootedBackend
extends AbstractWSSBackend
implements NuxeoWSSBackend


Constructor Summary
VirtualRootedBackend(java.lang.String root, NuxeoWSSBackend realBackend)
           
 
Method Summary
 void begin()
           
 WSSListItem createFileItem(java.lang.String parentPath, java.lang.String name)
           
 WSSListItem createFolder(java.lang.String parentPath, java.lang.String name)
           
 void discardChanges()
           
 void discardChanges(boolean release)
           
 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 moveItem(java.lang.String oldLocation, java.lang.String newLocation)
           
 void removeItem(java.lang.String location)
           
 void saveChanges()
           
 void saveChanges(boolean release)
           
 
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
listFolderishItems, listLeafItems
 

Constructor Detail

VirtualRootedBackend

public VirtualRootedBackend(java.lang.String root,
                            NuxeoWSSBackend realBackend)
Method Detail

discardChanges

public void discardChanges()
                    throws WSSException
Specified by:
discardChanges in interface WSSBackend
Throws:
WSSException

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

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

exists

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

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

saveChanges

public void saveChanges(boolean release)
                 throws WSSException
Specified by:
saveChanges in interface NuxeoWSSBackend
Throws:
WSSException

begin

public void begin()
           throws WSSException
Specified by:
begin in interface WSSBackend
Throws:
WSSException

saveChanges

public void saveChanges()
                 throws WSSException
Specified by:
saveChanges in interface WSSBackend
Throws:
WSSException

discardChanges

public void discardChanges(boolean release)
                    throws WSSException
Specified by:
discardChanges in interface NuxeoWSSBackend
Throws:
WSSException

getMetaData

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

getSite

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.