Generated by
JDiff

Interface javax.jcr.Workspace

Added Methods
void createWorkspace(String, String) Creates a new Workspace with the specified name initialized with a clone of the content of the workspace srcWorkspace.
void createWorkspace(String) Creates a new Workspace with the specified name.
void deleteWorkspace(String) Deletes the workspace with the specified name from the repository, deleting all content within it.
LockManager getLockManager() Returns the LockManager object, through which locking methods are accessed.
VersionManager getVersionManager() Returns the VersionManager object.
 

Changed Methods
void importXML(String, InputStream, int) Change in exceptions: javax.jcr.version.VersionException was added.
Deserializes an XML document and adds the resulting item subgraph as a child of the node at parentAbsPath.
void restore(Version[], boolean) Now deprecated.
As of JCR 2.0, {@link javax.jcr.version.VersionManager#restore} should be used instead.
 

Added Fields
String NAME_ACTIVITIES_NODE A constant for the name of the activities node.
String NAME_CONFIGURATIONS_NODE A constant for the name of the configurations node.
String NAME_JCR_XMLCHARACTERS A constant for the name of the jcr:xmlcharacters property produced on .importXML.
String NAME_JCR_XMLTEXT A constant for the name of the jcr:xmltext node produced on .importXML.
String NAME_NODE_TYPES_NODE A constant for the name of the node type definition storage node.
String NAME_SYSTEM_NODE A constant for the name of the system node.
String NAME_UNFILED_NODE A constant for the name of the unfiled storage node.
String NAME_VERSION_STORAGE_NODE A constant for the name of the version storage node.
String NAME_WORKSPACE_ROOT A constant for the name of the workspace root node.
String PATH_ACTIVITIES_NODE A constant for the absolute path of the activities node.
String PATH_CONFIGURATIONS_NODE A constant for the absolute path of the configurations node.
String PATH_NODE_TYPES_NODE A constant for the absolute path of the node type definition storage node.
String PATH_SYSTEM_NODE A constant for the absolute path of the system node.
String PATH_UNFILED_NODE A constant for the absolute path of the unfiled storage node.
String PATH_VERSION_STORAGE_NODE A constant for the absolute path of the version storage node.
String PATH_WORKSPACE_ROOT A constant for the absolute path of the workspace root node.
String RELPATH_JCR_XMLCHARACTERS A constant for the relative path from the node representing the imported XML element of the jcr:xmlcharacters property produced on .importXML.