| java.lang.Object com.caucho.jcr.base.BaseWorkspace
BaseWorkspace | public class BaseWorkspace implements Workspace(Code) | | Represents a open workspace to a repository.
|
Method Summary | |
public void | clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting) Clones a node from another workspace. | public void | copy(String srcAbsPath, String destAbsPath) Copy from one node to another. | public void | copy(String srcWorkspace, String srcAbsPath, String destAbsPath) | public String[] | getAccessibleWorkspaceNames() Returns the workspace names. | public ContentHandler | getImportContentHandler(String parentAbsPath, int uuidBehavior) Returns a handler for importing data. | public String | getName() Returns the workspace name. | public NamespaceRegistry | getNamespaceRegistry() Returns the namespace registry. | public NodeTypeManager | getNodeTypeManager() Returns the node type manager. | public ObservationManager | getObservationManager() Returns the observation manager. | public QueryManager | getQueryManager() Returns the query manager. | public Session | getSession() Returns the owning session. | public void | importXML(String parentAbsPath, InputStream in, int uuidBehavior) Import based on XML. | public void | move(String srcAbsPath, String destAbsPath) Move a node from another workspace. | public void | restore(Version[] versions, boolean removeExisting) Restores from given versions. |
BaseWorkspace | public BaseWorkspace(String name, Session session)(Code) | | |
clone | public void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting) throws NoSuchWorkspaceException, ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException(Code) | | Clones a node from another workspace.
|
copy | public void copy(String srcAbsPath, String destAbsPath) throws ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException(Code) | | Copy from one node to another.
|
copy | public void copy(String srcWorkspace, String srcAbsPath, String destAbsPath) throws NoSuchWorkspaceException, ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException(Code) | | Copy from one node to another, starting in another workspace
|
getAccessibleWorkspaceNames | public String[] getAccessibleWorkspaceNames() throws RepositoryException(Code) | | Returns the workspace names.
|
getImportContentHandler | public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehavior) throws PathNotFoundException, ConstraintViolationException, VersionException, LockException, AccessDeniedException, RepositoryException(Code) | | Returns a handler for importing data.
|
getName | public String getName()(Code) | | Returns the workspace name.
|
getNamespaceRegistry | public NamespaceRegistry getNamespaceRegistry() throws RepositoryException(Code) | | Returns the namespace registry.
|
getNodeTypeManager | public NodeTypeManager getNodeTypeManager() throws RepositoryException(Code) | | Returns the node type manager.
|
getObservationManager | public ObservationManager getObservationManager() throws UnsupportedRepositoryOperationException, RepositoryException(Code) | | Returns the observation manager.
|
getQueryManager | public QueryManager getQueryManager() throws RepositoryException(Code) | | Returns the query manager.
|
getSession | public Session getSession()(Code) | | Returns the owning session.
|
importXML | public void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException, PathNotFoundException, ItemExistsException, ConstraintViolationException, InvalidSerializedDataException, LockException, AccessDeniedException, RepositoryException(Code) | | Import based on XML.
|
move | public void move(String srcAbsPath, String destAbsPath) throws ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException(Code) | | Move a node from another workspace.
|
restore | public void restore(Version[] versions, boolean removeExisting) throws ItemExistsException, UnsupportedRepositoryOperationException, VersionException, LockException, InvalidItemStateException, RepositoryException(Code) | | Restores from given versions.
|
|
|