public class DavSessionImpl extends JcrDavSession
DavSession
interface. Stores
lock tokens but does not yet store references.Constructor and Description |
---|
DavSessionImpl(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
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 . |
checkImplementation, getRepositorySession, getRepositorySession
public DavSessionImpl(Session session)
session
- 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)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.