|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.base.BaseWorkspace
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 |
protected BaseWorkspace()
| Method Detail |
public Session getSession()
getSession in interface Workspacepublic String getName()
getName in interface Workspace
public void copy(String srcAbsPath,
String destAbsPath)
throws ConstraintViolationException,
VersionException,
AccessDeniedException,
PathNotFoundException,
ItemExistsException,
LockException,
RepositoryException
copy(getName(), srcAbsPath, destAbsPath).
- Specified by:
copy in interface Workspace
- Throws:
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 WorkspaceNoSuchWorkspaceException
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 WorkspaceNoSuchWorkspaceException
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 WorkspaceConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void restore(Version[] versions,
boolean removeExisting)
throws ItemExistsException,
UnsupportedRepositoryOperationException,
VersionException,
LockException,
InvalidItemStateException,
RepositoryException
restore in interface WorkspaceItemExistsException
UnsupportedRepositoryOperationException
VersionException
LockException
InvalidItemStateException
RepositoryException
public QueryManager getQueryManager()
throws RepositoryException
getQueryManager in interface WorkspaceRepositoryException
public NamespaceRegistry getNamespaceRegistry()
throws RepositoryException
getNamespaceRegistry in interface WorkspaceRepositoryException
public NodeTypeManager getNodeTypeManager()
throws RepositoryException
getNodeTypeManager in interface WorkspaceRepositoryException
public ObservationManager getObservationManager()
throws UnsupportedRepositoryOperationException,
RepositoryException
getObservationManager in interface WorkspaceUnsupportedRepositoryOperationException
RepositoryException
public String[] getAccessibleWorkspaceNames()
throws RepositoryException
getAccessibleWorkspaceNames in interface WorkspaceRepositoryException
public ContentHandler getImportContentHandler(String parentAbsPath,
int uuidBehavior)
throws PathNotFoundException,
ConstraintViolationException,
VersionException,
LockException,
RepositoryException
getImportContentHandler in interface WorkspacePathNotFoundException
ConstraintViolationException
VersionException
LockException
RepositoryException
public void importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
throws IOException,
PathNotFoundException,
ItemExistsException,
ConstraintViolationException,
InvalidSerializedDataException,
LockException,
RepositoryException
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.
importXML in interface WorkspaceIOException
PathNotFoundException
ItemExistsException
ConstraintViolationException
InvalidSerializedDataException
LockException
RepositoryException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||