1 package org
.argeo
.cms
.internal
.kernel
;
3 import java
.io
.IOException
;
4 import java
.io
.InputStream
;
6 import javax
.jcr
.AccessDeniedException
;
7 import javax
.jcr
.InvalidItemStateException
;
8 import javax
.jcr
.InvalidSerializedDataException
;
9 import javax
.jcr
.ItemExistsException
;
10 import javax
.jcr
.NamespaceRegistry
;
11 import javax
.jcr
.NoSuchWorkspaceException
;
12 import javax
.jcr
.PathNotFoundException
;
13 import javax
.jcr
.RepositoryException
;
14 import javax
.jcr
.Session
;
15 import javax
.jcr
.UnsupportedRepositoryOperationException
;
16 import javax
.jcr
.Workspace
;
17 import javax
.jcr
.lock
.LockException
;
18 import javax
.jcr
.lock
.LockManager
;
19 import javax
.jcr
.nodetype
.ConstraintViolationException
;
20 import javax
.jcr
.nodetype
.NodeTypeManager
;
21 import javax
.jcr
.observation
.ObservationManager
;
22 import javax
.jcr
.query
.QueryManager
;
23 import javax
.jcr
.version
.Version
;
24 import javax
.jcr
.version
.VersionException
;
25 import javax
.jcr
.version
.VersionManager
;
27 import org
.xml
.sax
.ContentHandler
;
29 public class CmsWorkspace
implements Workspace
{
31 private Session session
;
34 public Session
getSession() {
39 public String
getName() {
44 public void copy(String srcAbsPath
, String destAbsPath
) throws ConstraintViolationException
, VersionException
,
45 AccessDeniedException
, PathNotFoundException
, ItemExistsException
, LockException
, RepositoryException
{
46 throw new UnsupportedOperationException();
50 public void copy(String srcWorkspace
, String srcAbsPath
, String destAbsPath
)
51 throws NoSuchWorkspaceException
, ConstraintViolationException
, VersionException
, AccessDeniedException
,
52 PathNotFoundException
, ItemExistsException
, LockException
, RepositoryException
{
53 throw new UnsupportedOperationException();
57 public void clone(String srcWorkspace
, String srcAbsPath
, String destAbsPath
, boolean removeExisting
)
58 throws NoSuchWorkspaceException
, ConstraintViolationException
, VersionException
, AccessDeniedException
,
59 PathNotFoundException
, ItemExistsException
, LockException
, RepositoryException
{
60 throw new UnsupportedOperationException();
64 public void move(String srcAbsPath
, String destAbsPath
) throws ConstraintViolationException
, VersionException
,
65 AccessDeniedException
, PathNotFoundException
, ItemExistsException
, LockException
, RepositoryException
{
66 throw new UnsupportedOperationException();
70 public void restore(Version
[] versions
, boolean removeExisting
)
71 throws ItemExistsException
, UnsupportedRepositoryOperationException
, VersionException
, LockException
,
72 InvalidItemStateException
, RepositoryException
{
73 throw new UnsupportedOperationException();
77 public LockManager
getLockManager() throws UnsupportedRepositoryOperationException
, RepositoryException
{
78 throw new UnsupportedOperationException();
82 public QueryManager
getQueryManager() throws RepositoryException
{
83 throw new UnsupportedOperationException();
87 public NamespaceRegistry
getNamespaceRegistry() throws RepositoryException
{
88 throw new UnsupportedOperationException();
92 public NodeTypeManager
getNodeTypeManager() throws RepositoryException
{
93 throw new UnsupportedOperationException();
97 public ObservationManager
getObservationManager()
98 throws UnsupportedRepositoryOperationException
, RepositoryException
{
99 throw new UnsupportedOperationException();
103 public VersionManager
getVersionManager() throws UnsupportedRepositoryOperationException
, RepositoryException
{
104 // TODO Auto-generated method stub
109 public String
[] getAccessibleWorkspaceNames() throws RepositoryException
{
110 throw new UnsupportedOperationException();
114 public ContentHandler
getImportContentHandler(String parentAbsPath
, int uuidBehavior
) throws PathNotFoundException
,
115 ConstraintViolationException
, VersionException
, LockException
, AccessDeniedException
, RepositoryException
{
116 throw new UnsupportedOperationException();
120 public void importXML(String parentAbsPath
, InputStream in
, int uuidBehavior
) throws IOException
, VersionException
,
121 PathNotFoundException
, ItemExistsException
, ConstraintViolationException
, InvalidSerializedDataException
,
122 LockException
, AccessDeniedException
, RepositoryException
{
123 throw new UnsupportedOperationException();
127 public void createWorkspace(String name
)
128 throws AccessDeniedException
, UnsupportedRepositoryOperationException
, RepositoryException
{
129 throw new UnsupportedOperationException();
133 public void createWorkspace(String name
, String srcWorkspace
) throws AccessDeniedException
,
134 UnsupportedRepositoryOperationException
, NoSuchWorkspaceException
, RepositoryException
{
135 throw new UnsupportedOperationException();
139 public void deleteWorkspace(String name
) throws AccessDeniedException
, UnsupportedRepositoryOperationException
,
140 NoSuchWorkspaceException
, RepositoryException
{
141 throw new UnsupportedOperationException();