org.apache.jackrabbit.base
Class BaseWorkspace

java.lang.Object
  extended byorg.apache.jackrabbit.base.BaseWorkspace
All Implemented Interfaces:
Workspace

public class BaseWorkspace
extends Object
implements Workspace

Workspace base class.


Constructor Summary
protected BaseWorkspace()
          Protected constructor.
 
Method Summary
 void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting)
          Not implemented.
 void copy(String srcAbsPath, String destAbsPath)
          Implemented by calling copy(getName(), srcAbsPath, destAbsPath).
 void copy(String srcWorkspace, String srcAbsPath, String destAbsPath)
          Not implemented.
 String[] getAccessibleWorkspaceNames()
          Not implemented.
 ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior)
          Not implemented.
 String getName()
          Not implemented.
 NamespaceRegistry getNamespaceRegistry()
          Not implemented.
 NodeTypeManager getNodeTypeManager()
          Not implemented.
 ObservationManager getObservationManager()
          Not implemented.
 QueryManager getQueryManager()
          Not implemented.
 Session getSession()
          Not implemented.
 void importXML(String parentAbsPath, InputStream in, int uuidBehavior)
          Implemented by calling transformer.transform(new StreamSource(in), new SAXResult(handler)) with an identity Transformer and a ContentHandler instance created by calling getImportContentHandler(parentAbsPath, uuidBehaviour).
 void move(String srcAbsPath, String destAbsPath)
          Not implemented.
 void restore(Version[] versions, boolean removeExisting)
          Not implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseWorkspace

protected BaseWorkspace()
Protected constructor. This class is only useful when extended.

Method Detail

getSession

public Session getSession()
Not implemented.

Specified by:
getSession in interface Workspace

getName

public String getName()
Not implemented.

Specified by:
getName in interface Workspace

copy

public void copy(String srcAbsPath,
                 String destAbsPath)
          throws ConstraintViolationException,
                 VersionException,
                 AccessDeniedException,
                 PathNotFoundException,
                 ItemExistsException,
                 LockException,
                 RepositoryException
Implemented by calling copy(getName(), srcAbsPath, destAbsPath).

Specified by:
copy in interface Workspace
Throws:
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException

copy

public void copy(String srcWorkspace,
                 String srcAbsPath,
                 String destAbsPath)
          throws NoSuchWorkspaceException,
                 ConstraintViolationException,
                 VersionException,
                 AccessDeniedException,
                 PathNotFoundException,
                 ItemExistsException,
                 LockException,
                 RepositoryException
Not implemented.

Specified by:
copy in interface Workspace
Throws:
NoSuchWorkspaceException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException

clone

public void clone(String srcWorkspace,
                  String srcAbsPath,
                  String destAbsPath,
                  boolean removeExisting)
           throws NoSuchWorkspaceException,
                  ConstraintViolationException,
                  VersionException,
                  AccessDeniedException,
                  PathNotFoundException,
                  ItemExistsException,
                  LockException,
                  RepositoryException
Not implemented.

Specified by:
clone in interface Workspace
Throws:
NoSuchWorkspaceException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException

move

public void move(String srcAbsPath,
                 String destAbsPath)
          throws ConstraintViolationException,
                 VersionException,
                 AccessDeniedException,
                 PathNotFoundException,
                 ItemExistsException,
                 LockException,
                 RepositoryException
Not implemented.

Specified by:
move in interface Workspace
Throws:
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException

restore

public void restore(Version[] versions,
                    boolean removeExisting)
             throws ItemExistsException,
                    UnsupportedRepositoryOperationException,
                    VersionException,
                    LockException,
                    InvalidItemStateException,
                    RepositoryException
Not implemented.

Specified by:
restore in interface Workspace
Throws:
ItemExistsException
UnsupportedRepositoryOperationException
VersionException
LockException
InvalidItemStateException
RepositoryException

getQueryManager

public QueryManager getQueryManager()
                             throws RepositoryException
Not implemented.

Specified by:
getQueryManager in interface Workspace
Throws:
RepositoryException

getNamespaceRegistry

public NamespaceRegistry getNamespaceRegistry()
                                       throws RepositoryException
Not implemented.

Specified by:
getNamespaceRegistry in interface Workspace
Throws:
RepositoryException

getNodeTypeManager

public NodeTypeManager getNodeTypeManager()
                                   throws RepositoryException
Not implemented.

Specified by:
getNodeTypeManager in interface Workspace
Throws:
RepositoryException

getObservationManager

public ObservationManager getObservationManager()
                                         throws UnsupportedRepositoryOperationException,
                                                RepositoryException
Not implemented.

Specified by:
getObservationManager in interface Workspace
Throws:
UnsupportedRepositoryOperationException
RepositoryException

getAccessibleWorkspaceNames

public String[] getAccessibleWorkspaceNames()
                                     throws RepositoryException
Not implemented.

Specified by:
getAccessibleWorkspaceNames in interface Workspace
Throws:
RepositoryException

getImportContentHandler

public ContentHandler getImportContentHandler(String parentAbsPath,
                                              int uuidBehavior)
                                       throws PathNotFoundException,
                                              ConstraintViolationException,
                                              VersionException,
                                              LockException,
                                              RepositoryException
Not implemented.

Specified by:
getImportContentHandler in interface Workspace
Throws:
PathNotFoundException
ConstraintViolationException
VersionException
LockException
RepositoryException

importXML

public void importXML(String parentAbsPath,
                      InputStream in,
                      int uuidBehavior)
               throws IOException,
                      PathNotFoundException,
                      ItemExistsException,
                      ConstraintViolationException,
                      InvalidSerializedDataException,
                      LockException,
                      RepositoryException
Implemented by calling transformer.transform(new StreamSource(in), new SAXResult(handler)) with an identity Transformer and a ContentHandler instance created by calling getImportContentHandler(parentAbsPath, uuidBehaviour). Possible TransformerExceptions and TransformerConfigurationExceptions are converted to IOExceptions.

Specified by:
importXML in interface Workspace
Throws:
IOException
PathNotFoundException
ItemExistsException
ConstraintViolationException
InvalidSerializedDataException
LockException
RepositoryException


Copyright © 2004-2005 . All Rights Reserved.