public class SessionInfoImpl extends Object implements org.apache.jackrabbit.spi.SessionInfo, Serializable
SessionInfoImpl is a serializable bean based implementation of
SessionInfo.| Constructor and Description |
|---|
SessionInfoImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLockToken(String s) |
String[] |
getLockTokens() |
String |
getUserData()
Return the user data set via
setUserData(String) |
String |
getUserID() |
String |
getWorkspaceName() |
void |
removeLockToken(String s) |
void |
setUserData(String userData) |
void |
setUserID(String userId)
Sets the userId.
|
void |
setWorkspacename(String workspaceName)
Sets the name of the workspace to connect to.
|
public void setUserID(String userId)
userId - the userId or null if unknown.public void setWorkspacename(String workspaceName)
workspaceName - the name of the workspace or null if
this session info refers to the default workspace.public String getUserID()
getUserID in interface org.apache.jackrabbit.spi.SessionInfopublic String getWorkspaceName()
getWorkspaceName in interface org.apache.jackrabbit.spi.SessionInfopublic String[] getLockTokens()
getLockTokens in interface org.apache.jackrabbit.spi.SessionInfopublic void addLockToken(String s)
addLockToken in interface org.apache.jackrabbit.spi.SessionInfopublic void removeLockToken(String s)
removeLockToken in interface org.apache.jackrabbit.spi.SessionInfopublic void setUserData(String userData) throws RepositoryException
setUserData in interface org.apache.jackrabbit.spi.SessionInfoRepositoryExceptionpublic String getUserData()
setUserData(String)Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.