|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.decorator.SessionDecorator
TODO
Constructor Summary | |
SessionDecorator(DecoratorFactory factory,
Repository repository,
Session session)
|
Method Summary | |
void |
addLockToken(String lt)
Forwards the method call to the underlying session. |
void |
checkPermission(String absPath,
String actions)
Forwards the method call to the underlying session. |
void |
exportDocumentView(String absPath,
ContentHandler contentHandler,
boolean binaryAsLink,
boolean noRecurse)
Forwards the method call to the underlying session. |
void |
exportDocumentView(String absPath,
OutputStream out,
boolean binaryAsLink,
boolean noRecurse)
Forwards the method call to the underlying session. |
void |
exportSystemView(String absPath,
ContentHandler contentHandler,
boolean binaryAsLink,
boolean noRecurse)
Forwards the method call to the underlying session. |
void |
exportSystemView(String absPath,
OutputStream out,
boolean binaryAsLink,
boolean noRecurse)
Forwards the method call to the underlying session. |
Object |
getAttribute(String name)
Forwards the method call to the underlying session. |
String[] |
getAttributeNames()
Forwards the method call to the underlying session. |
ContentHandler |
getImportContentHandler(String parentAbsPath,
int uuidBehaviour)
Forwards the method call to the underlying session. |
Item |
getItem(String absPath)
Forwards the method call to the underlying session. |
String[] |
getLockTokens()
Forwards the method call to the underlying session. |
String |
getNamespacePrefix(String uri)
Forwards the method call to the underlying session. |
String[] |
getNamespacePrefixes()
Forwards the method call to the underlying session. |
String |
getNamespaceURI(String prefix)
Forwards the method call to the underlying session. |
Node |
getNodeByUUID(String uuid)
Forwards the method call to the underlying session. |
Repository |
getRepository()
|
Node |
getRootNode()
Forwards the method call to the underlying session. |
String |
getUserID()
Forwards the method call to the underlying session. |
ValueFactory |
getValueFactory()
|
Workspace |
getWorkspace()
Forwards the method call to the underlying session. |
boolean |
hasPendingChanges()
Forwards the method call to the underlying session. |
Session |
impersonate(Credentials credentials)
Forwards the method call to the underlying session. |
void |
importXML(String parentAbsPath,
InputStream in,
int uuidBehaviour)
Forwards the method call to the underlying session. |
boolean |
isLive()
|
boolean |
itemExists(String path)
Forwards the method call to the underlying session. |
void |
logout()
Forwards the method call to the underlying session. |
void |
move(String srcAbsPath,
String destAbsPath)
Forwards the method call to the underlying session. |
void |
refresh(boolean keepChanges)
Forwards the method call to the underlying session. |
void |
removeLockToken(String lt)
Forwards the method call to the underlying session. |
void |
save()
Forwards the method call to the underlying session. |
void |
setNamespacePrefix(String prefix,
String uri)
Forwards the method call to the underlying session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SessionDecorator(DecoratorFactory factory, Repository repository, Session session)
Method Detail |
public Repository getRepository()
getRepository
in interface Session
public String getUserID()
getUserID
in interface Session
public Object getAttribute(String name)
getAttribute
in interface Session
public String[] getAttributeNames()
getAttributeNames
in interface Session
public Workspace getWorkspace()
getWorkspace
in interface Session
public Session impersonate(Credentials credentials) throws LoginException, RepositoryException
impersonate
in interface Session
LoginException
RepositoryException
public Node getRootNode() throws RepositoryException
getRootNode
in interface Session
RepositoryException
public Node getNodeByUUID(String uuid) throws ItemNotFoundException, RepositoryException
getNodeByUUID
in interface Session
ItemNotFoundException
RepositoryException
public Item getItem(String absPath) throws PathNotFoundException, RepositoryException
getItem
in interface Session
PathNotFoundException
RepositoryException
public boolean itemExists(String path) throws RepositoryException
itemExists
in interface Session
RepositoryException
public void move(String srcAbsPath, String destAbsPath) throws ItemExistsException, PathNotFoundException, VersionException, RepositoryException
move
in interface Session
ItemExistsException
PathNotFoundException
VersionException
RepositoryException
public void save() throws AccessDeniedException, ConstraintViolationException, InvalidItemStateException, VersionException, LockException, RepositoryException
save
in interface Session
AccessDeniedException
ConstraintViolationException
InvalidItemStateException
VersionException
LockException
RepositoryException
public void refresh(boolean keepChanges) throws RepositoryException
refresh
in interface Session
RepositoryException
public boolean hasPendingChanges() throws RepositoryException
hasPendingChanges
in interface Session
RepositoryException
public void checkPermission(String absPath, String actions) throws AccessControlException, RepositoryException
checkPermission
in interface Session
AccessControlException
RepositoryException
public ContentHandler getImportContentHandler(String parentAbsPath, int uuidBehaviour) throws PathNotFoundException, ConstraintViolationException, VersionException, LockException, RepositoryException
getImportContentHandler
in interface Session
PathNotFoundException
ConstraintViolationException
VersionException
LockException
RepositoryException
public void importXML(String parentAbsPath, InputStream in, int uuidBehaviour) throws IOException, PathNotFoundException, ItemExistsException, ConstraintViolationException, VersionException, InvalidSerializedDataException, LockException, RepositoryException
importXML
in interface Session
IOException
PathNotFoundException
ItemExistsException
ConstraintViolationException
VersionException
InvalidSerializedDataException
LockException
RepositoryException
public void exportSystemView(String absPath, ContentHandler contentHandler, boolean binaryAsLink, boolean noRecurse) throws PathNotFoundException, SAXException, RepositoryException
exportSystemView
in interface Session
PathNotFoundException
SAXException
RepositoryException
public void exportSystemView(String absPath, OutputStream out, boolean binaryAsLink, boolean noRecurse) throws IOException, PathNotFoundException, RepositoryException
exportSystemView
in interface Session
IOException
PathNotFoundException
RepositoryException
public void exportDocumentView(String absPath, ContentHandler contentHandler, boolean binaryAsLink, boolean noRecurse) throws PathNotFoundException, SAXException, RepositoryException
exportDocumentView
in interface Session
PathNotFoundException
SAXException
RepositoryException
public void exportDocumentView(String absPath, OutputStream out, boolean binaryAsLink, boolean noRecurse) throws IOException, PathNotFoundException, RepositoryException
exportDocumentView
in interface Session
IOException
PathNotFoundException
RepositoryException
public void setNamespacePrefix(String prefix, String uri) throws NamespaceException, RepositoryException
setNamespacePrefix
in interface Session
NamespaceException
RepositoryException
public String[] getNamespacePrefixes() throws RepositoryException
getNamespacePrefixes
in interface Session
RepositoryException
public String getNamespaceURI(String prefix) throws NamespaceException, RepositoryException
getNamespaceURI
in interface Session
NamespaceException
RepositoryException
public String getNamespacePrefix(String uri) throws NamespaceException, RepositoryException
getNamespacePrefix
in interface Session
NamespaceException
RepositoryException
public void logout()
logout
in interface Session
public void addLockToken(String lt)
addLockToken
in interface Session
public String[] getLockTokens()
getLockTokens
in interface Session
public void removeLockToken(String lt)
removeLockToken
in interface Session
public ValueFactory getValueFactory() throws UnsupportedRepositoryOperationException, RepositoryException
getValueFactory
in interface Session
UnsupportedRepositoryOperationException
RepositoryException
public boolean isLive()
isLive
in interface Session
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |