|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.jcr.JcrDavSession
org.apache.jackrabbit.webdav.simple.DavSessionImpl
public class DavSessionImpl
Simple implementation of the DavSession
interface. Stores
lock tokens but does not yet store references.
Constructor Summary | |
---|---|
DavSessionImpl(Session session)
Creates a new DavSession based on a jcr session |
Method Summary | |
---|---|
void |
addLockToken(String token)
Adds a lock token to this DavSession . |
void |
addReference(Object reference)
Adds a reference to this DavSession indicating that this
session must not be discarded after completion of the current request. |
String[] |
getLockTokens()
Returns the lock tokens of this DavSession . |
void |
removeLockToken(String token)
Removes a lock token from this DavSession . |
void |
removeReference(Object reference)
Releasing a reference to this DavSession . |
Methods inherited from class org.apache.jackrabbit.webdav.jcr.JcrDavSession |
---|
checkImplementation, getRepositorySession, getRepositorySession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DavSessionImpl(Session session)
session
- Method Detail |
---|
public void addReference(Object reference)
DavSession
DavSession
indicating that this
session must not be discarded after completion of the current request.
reference
- to be added.DavSession.addReference(Object)
public void removeReference(Object reference)
DavSession
DavSession
. If no more
references are present, this session may be discarded.
reference
- to be removed.DavSession.removeReference(Object)
public void addLockToken(String token)
DavSession
DavSession
.
addLockToken
in interface DavSession
addLockToken
in class JcrDavSession
DavSession.addLockToken(String)
public String[] getLockTokens()
DavSession
DavSession
.
getLockTokens
in interface DavSession
getLockTokens
in class JcrDavSession
DavSession.getLockTokens()
public void removeLockToken(String token)
DavSession
DavSession
.
removeLockToken
in interface DavSession
removeLockToken
in class JcrDavSession
DavSession.removeLockToken(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |