public class DavSessionImpl extends JcrDavSession
DavSession interface. Stores
 lock tokens but does not yet store references.| Constructor and Description | 
|---|
| DavSessionImpl(javax.jcr.Session session)Creates a new DavSession based on a jcr session | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLockToken(String token)Adds a lock token to this  DavSession. | 
| void | addReference(Object reference)Adds a reference to this  DavSessionindicating 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. | 
checkImplementation, getRepositorySession, getRepositorySessionpublic DavSessionImpl(javax.jcr.Session session)
session - public void addReference(Object reference)
DavSessionDavSession 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)
DavSessionDavSession. If no more
 references are present, this session may be discarded.reference - to be removed.DavSession.removeReference(Object)public void addLockToken(String token)
DavSessionDavSession.addLockToken in interface DavSessionaddLockToken in class JcrDavSessionDavSession.addLockToken(String)public String[] getLockTokens()
DavSessionDavSession.getLockTokens in interface DavSessiongetLockTokens in class JcrDavSessionDavSession.getLockTokens()public void removeLockToken(String token)
DavSessionDavSession.removeLockToken in interface DavSessionremoveLockToken in class JcrDavSessionDavSession.removeLockToken(String)Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.