|
|||||||||||
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 Workspace
public 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 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 uuidBehavior) throws PathNotFoundException, ConstraintViolationException, VersionException, LockException, RepositoryException
getImportContentHandler
in interface Workspace
PathNotFoundException
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 Workspace
IOException
PathNotFoundException
ItemExistsException
ConstraintViolationException
InvalidSerializedDataException
LockException
RepositoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |