|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.decorator.WorkspaceDecorator
Simple workspace decorator.
Constructor Summary | |
WorkspaceDecorator(DecoratorFactory factory,
Session session,
Workspace workspace)
Creates a workspace decorator. |
Method Summary | |
void |
clone(String srcWorkspace,
String srcAbsPath,
String destAbsPath,
boolean removeExisting)
Forwards the method call to the underlying workspace. |
void |
copy(String srcAbsPath,
String destAbsPath)
Forwards the method call to the underlying workspace. |
void |
copy(String srcWorkspace,
String srcAbsPath,
String destAbsPath)
Forwards the method call to the underlying workspace. |
String[] |
getAccessibleWorkspaceNames()
Forwards the method call to the underlying workspace. |
ContentHandler |
getImportContentHandler(String parentAbsPath,
int uuidBehaviour)
Forwards the method call to the underlying workspace. |
String |
getName()
Forwards the method call to the underlying workspace. |
NamespaceRegistry |
getNamespaceRegistry()
Forwards the method call to the underlying workspace. |
NodeTypeManager |
getNodeTypeManager()
Forwards the method call to the underlying workspace. |
ObservationManager |
getObservationManager()
Forwards the method call to the underlying workspace. |
QueryManager |
getQueryManager()
Forwards the method call to the underlying workspace. |
Session |
getSession()
|
void |
importXML(String parentAbsPath,
InputStream in,
int uuidBehaviour)
Forwards the method call to the underlying workspace. |
void |
move(String srcAbsPath,
String destAbsPath)
Forwards the method call to the underlying workspace. |
void |
restore(Version[] versions,
boolean removeExisting)
Forwards the method call to the underlying workspace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WorkspaceDecorator(DecoratorFactory factory, Session session, Workspace workspace)
factory
- session
- workspace
- Method Detail |
public Session getSession()
getSession
in interface Workspace
public String getName()
getName
in interface Workspace
public void copy(String srcAbsPath, String destAbsPath) throws ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
copy
in interface Workspace
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void copy(String srcWorkspace, String srcAbsPath, String destAbsPath) throws NoSuchWorkspaceException, ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
copy
in interface Workspace
NoSuchWorkspaceException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting) throws NoSuchWorkspaceException, ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
clone
in interface Workspace
NoSuchWorkspaceException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void move(String srcAbsPath, String destAbsPath) throws ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
move
in interface Workspace
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void restore(Version[] versions, boolean removeExisting) throws ItemExistsException, UnsupportedRepositoryOperationException, VersionException, LockException, InvalidItemStateException, RepositoryException
restore
in interface Workspace
ItemExistsException
UnsupportedRepositoryOperationException
VersionException
LockException
InvalidItemStateException
RepositoryException
public QueryManager getQueryManager() throws RepositoryException
getQueryManager
in interface Workspace
RepositoryException
public NamespaceRegistry getNamespaceRegistry() throws RepositoryException
getNamespaceRegistry
in interface Workspace
RepositoryException
public NodeTypeManager getNodeTypeManager() throws RepositoryException
getNodeTypeManager
in interface Workspace
RepositoryException
public ObservationManager getObservationManager() throws UnsupportedRepositoryOperationException, RepositoryException
getObservationManager
in interface Workspace
UnsupportedRepositoryOperationException
RepositoryException
public String[] getAccessibleWorkspaceNames() throws RepositoryException
getAccessibleWorkspaceNames
in interface Workspace
RepositoryException
public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehaviour) throws PathNotFoundException, ConstraintViolationException, VersionException, LockException, RepositoryException
getImportContentHandler
in interface Workspace
PathNotFoundException
ConstraintViolationException
VersionException
LockException
RepositoryException
public void importXML(String parentAbsPath, InputStream in, int uuidBehaviour) throws IOException, PathNotFoundException, ItemExistsException, ConstraintViolationException, InvalidSerializedDataException, LockException, RepositoryException
importXML
in interface Workspace
IOException
PathNotFoundException
ItemExistsException
ConstraintViolationException
InvalidSerializedDataException
LockException
RepositoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |