Package com.logicaldoc.webdav.session
Class DavSessionImpl
- java.lang.Object
-
- com.logicaldoc.webdav.session.DavSessionImpl
-
- All Implemented Interfaces:
DavSession
,org.apache.jackrabbit.webdav.DavSession
public class DavSessionImpl extends Object implements DavSession
For more informations, please visitDavSessionImpl
- Author:
- Sebastian Wenzky
-
-
Constructor Summary
Constructors Constructor Description DavSessionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLockToken(String arg0)
void
addReference(Object arg0)
String[]
getLockTokens()
Object
getObject(String key)
Gets an object by passing the appropriated keylong
getTenantId()
The tenant of this sessionvoid
putObject(String key, Object value)
Puts an object to the session mapvoid
removeLockToken(String arg0)
void
removeReference(Object arg0)
void
setTenantId(long tenantId)
-
-
-
Method Detail
-
getObject
public Object getObject(String key)
Description copied from interface:DavSession
Gets an object by passing the appropriated key- Specified by:
getObject
in interfaceDavSession
- Parameters:
key
- The Key- Returns:
- the corresponding object
- See Also:
DavSession.getObject(String)
-
putObject
public void putObject(String key, Object value)
Description copied from interface:DavSession
Puts an object to the session map- Specified by:
putObject
in interfaceDavSession
- Parameters:
key
- The Keyvalue
- the corresponding object- See Also:
DavSession.putObject(String, Object)
-
addLockToken
public void addLockToken(String arg0)
- Specified by:
addLockToken
in interfaceorg.apache.jackrabbit.webdav.DavSession
-
addReference
public void addReference(Object arg0)
- Specified by:
addReference
in interfaceorg.apache.jackrabbit.webdav.DavSession
-
getLockTokens
public String[] getLockTokens()
- Specified by:
getLockTokens
in interfaceorg.apache.jackrabbit.webdav.DavSession
-
removeLockToken
public void removeLockToken(String arg0)
- Specified by:
removeLockToken
in interfaceorg.apache.jackrabbit.webdav.DavSession
-
removeReference
public void removeReference(Object arg0)
- Specified by:
removeReference
in interfaceorg.apache.jackrabbit.webdav.DavSession
-
getTenantId
public long getTenantId()
Description copied from interface:DavSession
The tenant of this session- Specified by:
getTenantId
in interfaceDavSession
- Returns:
- identifier of the tenant
-
setTenantId
public void setTenantId(long tenantId)
-
-