|
|||||||||||
| 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 Sessionpublic String getUserID()
getUserID in interface Sessionpublic Object getAttribute(String name)
getAttribute in interface Sessionpublic String[] getAttributeNames()
getAttributeNames in interface Sessionpublic Workspace getWorkspace()
getWorkspace in interface Session
public Session impersonate(Credentials credentials)
throws LoginException,
RepositoryException
impersonate in interface SessionLoginException
RepositoryException
public Node getRootNode()
throws RepositoryException
getRootNode in interface SessionRepositoryException
public Node getNodeByUUID(String uuid)
throws ItemNotFoundException,
RepositoryException
getNodeByUUID in interface SessionItemNotFoundException
RepositoryException
public Item getItem(String absPath)
throws PathNotFoundException,
RepositoryException
getItem in interface SessionPathNotFoundException
RepositoryException
public boolean itemExists(String path)
throws RepositoryException
itemExists in interface SessionRepositoryException
public void move(String srcAbsPath,
String destAbsPath)
throws ItemExistsException,
PathNotFoundException,
VersionException,
RepositoryException
move in interface SessionItemExistsException
PathNotFoundException
VersionException
RepositoryException
public void save()
throws AccessDeniedException,
ConstraintViolationException,
InvalidItemStateException,
VersionException,
LockException,
RepositoryException
save in interface SessionAccessDeniedException
ConstraintViolationException
InvalidItemStateException
VersionException
LockException
RepositoryException
public void refresh(boolean keepChanges)
throws RepositoryException
refresh in interface SessionRepositoryException
public boolean hasPendingChanges()
throws RepositoryException
hasPendingChanges in interface SessionRepositoryException
public void checkPermission(String absPath,
String actions)
throws AccessControlException,
RepositoryException
checkPermission in interface SessionAccessControlException
RepositoryException
public ContentHandler getImportContentHandler(String parentAbsPath,
int uuidBehaviour)
throws PathNotFoundException,
ConstraintViolationException,
VersionException,
LockException,
RepositoryException
getImportContentHandler in interface SessionPathNotFoundException
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 SessionIOException
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 SessionPathNotFoundException
SAXException
RepositoryException
public void exportSystemView(String absPath,
OutputStream out,
boolean binaryAsLink,
boolean noRecurse)
throws IOException,
PathNotFoundException,
RepositoryException
exportSystemView in interface SessionIOException
PathNotFoundException
RepositoryException
public void exportDocumentView(String absPath,
ContentHandler contentHandler,
boolean binaryAsLink,
boolean noRecurse)
throws PathNotFoundException,
SAXException,
RepositoryException
exportDocumentView in interface SessionPathNotFoundException
SAXException
RepositoryException
public void exportDocumentView(String absPath,
OutputStream out,
boolean binaryAsLink,
boolean noRecurse)
throws IOException,
PathNotFoundException,
RepositoryException
exportDocumentView in interface SessionIOException
PathNotFoundException
RepositoryException
public void setNamespacePrefix(String prefix,
String uri)
throws NamespaceException,
RepositoryException
setNamespacePrefix in interface SessionNamespaceException
RepositoryException
public String[] getNamespacePrefixes()
throws RepositoryException
getNamespacePrefixes in interface SessionRepositoryException
public String getNamespaceURI(String prefix)
throws NamespaceException,
RepositoryException
getNamespaceURI in interface SessionNamespaceException
RepositoryException
public String getNamespacePrefix(String uri)
throws NamespaceException,
RepositoryException
getNamespacePrefix in interface SessionNamespaceException
RepositoryExceptionpublic void logout()
logout in interface Sessionpublic void addLockToken(String lt)
addLockToken in interface Sessionpublic String[] getLockTokens()
getLockTokens in interface Sessionpublic void removeLockToken(String lt)
removeLockToken in interface Session
public ValueFactory getValueFactory()
throws UnsupportedRepositoryOperationException,
RepositoryException
getValueFactory in interface SessionUnsupportedRepositoryOperationException
RepositoryExceptionpublic boolean isLive()
isLive in interface Session
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||