public class WorkspaceDBObject
extends AbstractWorkspace
Constructor and Description |
---|
WorkspaceDBObject(SessionDBObject session,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
clone(java.lang.String srcWorkspace,
java.lang.String srcAbsPath,
java.lang.String destAbsPath,
boolean removeExisting) |
void |
copy(java.lang.String srcAbsPath,
java.lang.String destAbsPath) |
void |
copy(java.lang.String srcWorkspace,
java.lang.String srcAbsPath,
java.lang.String destAbsPath) |
void |
createWorkspace(java.lang.String string) |
void |
createWorkspace(java.lang.String string,
java.lang.String string1) |
void |
deleteWorkspace(java.lang.String string) |
java.lang.String[] |
getAccessibleWorkspaceNames() |
DataSource |
getDS() |
org.xml.sax.ContentHandler |
getImportContentHandler(java.lang.String parentAbsPath,
int uuidBehavior) |
LockManager |
getLockManager() |
java.lang.String |
getName() |
NamespaceRegistry |
getNamespaceRegistry() |
NodeTypeManager |
getNodeTypeManager() |
ObservationManager |
getObservationManager() |
QueryManager |
getQueryManager() |
Session |
getSession() |
VersionManager |
getVersionManager() |
Node |
makeNode(DBObject obj) |
java.lang.String |
makeRawPath() |
void |
move(java.lang.String srcAbsPath,
java.lang.String destAbsPath) |
void |
restore(Version[] vrsns,
boolean bln) |
java.lang.String |
toString() |
public final PropertyDefinitionRaw mixInTypes
public final PropertyDefinitionRaw primaryType
public final PropertyDefinitionRaw jcrIsCheckedOut
public final PropertyDefinitionRaw jsrAddressHost
public final PropertyDefinitionRaw jsrAddressId
public final PropertyDefinitionRaw jsrAddressPath
public final PropertyDefinitionRaw jsrAddressPort
public final PropertyDefinitionRaw jsrAddressProtocol
public final PropertyDefinitionRaw jsrAddressRepository
public final PropertyDefinitionRaw jsrAddressWorkspace
public final PropertyDefinitionRaw jcrLockIsDeep
public final PropertyDefinitionRaw jcrLockOwner
public final PropertyDefinitionRaw jcrActivity
public final PropertyDefinitionRaw jcrCreated
public final PropertyDefinitionRaw versionJcrCreated
public final PropertyDefinitionRaw jcrCreatedBy
public final PropertyDefinitionRaw jcrPredecessors
public final PropertyDefinitionRaw jcrSuccessors
public final NodeDefinition jsrContentDefinition
public final ValueFactoryDBObject valueFactory
public final NodeType unstructuredNodeType
public final NodeType versionNodeType
public final NodeType folderNodeType
public final NodeType simpleVersionableType
public final NodeType addressType
public final NodeType mixReferenceableType
public final NodeType mixCreated
public final NodeType frozenNodeType
public final NodeType contentNodeType
public final NodeType versionableNodeType
public final NodeType refTargetNodeType
public final NodeType canSetPropertyNodeType
public final NodeType sameNameSibsFalseChildNodeType
public final NodeType hierarchyNodeType
public final NodeType ntBaseType
public final NodeType referenceableNodeType
public final NodeType lockableNodeType
public final NodeType versionHistoryNodeType
public final SessionDBObject session
public final NodeDefinition ntHierarchyNodeDefinition
public final FrozenNodeDefinition frozenNodeDefinition
public WorkspaceDBObject(SessionDBObject session, java.lang.String name)
public DataSource getDS()
public java.lang.String makeRawPath()
@CheckReturnValue @Nonnull public java.lang.String toString()
public Node makeNode(DBObject obj) throws RepositoryException
RepositoryException
public Session getSession()
public java.lang.String getName()
public void copy(java.lang.String srcAbsPath, java.lang.String destAbsPath) throws ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void copy(java.lang.String srcWorkspace, java.lang.String srcAbsPath, java.lang.String destAbsPath) throws NoSuchWorkspaceException, ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
NoSuchWorkspaceException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void clone(java.lang.String srcWorkspace, java.lang.String srcAbsPath, java.lang.String destAbsPath, boolean removeExisting) throws NoSuchWorkspaceException, ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
NoSuchWorkspaceException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void move(java.lang.String srcAbsPath, java.lang.String destAbsPath) throws ConstraintViolationException, VersionException, AccessDeniedException, PathNotFoundException, ItemExistsException, LockException, RepositoryException
ConstraintViolationException
VersionException
AccessDeniedException
PathNotFoundException
ItemExistsException
LockException
RepositoryException
public void restore(Version[] vrsns, boolean bln) throws ItemExistsException, UnsupportedRepositoryOperationException, VersionException, LockException, InvalidItemStateException, RepositoryException
ItemExistsException
UnsupportedRepositoryOperationException
VersionException
LockException
InvalidItemStateException
RepositoryException
public LockManager getLockManager() throws UnsupportedRepositoryOperationException, RepositoryException
UnsupportedRepositoryOperationException
RepositoryException
public QueryManager getQueryManager() throws RepositoryException
RepositoryException
public NamespaceRegistry getNamespaceRegistry() throws RepositoryException
RepositoryException
public NodeTypeManager getNodeTypeManager() throws RepositoryException
RepositoryException
public ObservationManager getObservationManager() throws UnsupportedRepositoryOperationException, RepositoryException
UnsupportedRepositoryOperationException
RepositoryException
public VersionManager getVersionManager() throws UnsupportedRepositoryOperationException, RepositoryException
UnsupportedRepositoryOperationException
RepositoryException
public java.lang.String[] getAccessibleWorkspaceNames() throws RepositoryException
RepositoryException
public org.xml.sax.ContentHandler getImportContentHandler(java.lang.String parentAbsPath, int uuidBehavior) throws PathNotFoundException, ConstraintViolationException, VersionException, LockException, AccessDeniedException, RepositoryException
PathNotFoundException
ConstraintViolationException
VersionException
LockException
AccessDeniedException
RepositoryException
public void createWorkspace(java.lang.String string) throws AccessDeniedException, UnsupportedRepositoryOperationException, RepositoryException
AccessDeniedException
UnsupportedRepositoryOperationException
RepositoryException
public void createWorkspace(java.lang.String string, java.lang.String string1) throws AccessDeniedException, UnsupportedRepositoryOperationException, NoSuchWorkspaceException, RepositoryException
AccessDeniedException
UnsupportedRepositoryOperationException
NoSuchWorkspaceException
RepositoryException
public void deleteWorkspace(java.lang.String string) throws AccessDeniedException, UnsupportedRepositoryOperationException, NoSuchWorkspaceException, RepositoryException
AccessDeniedException
UnsupportedRepositoryOperationException
NoSuchWorkspaceException
RepositoryException
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.