@Deprecated public class SessionService extends AbstractRPCService
Session
util
Constructor and Description |
---|
SessionService()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getSessionTimeOut()
Deprecated.
Gets the time in minutes when a session
is automatically logged out.
|
VersionInfo |
getVersion()
Deprecated.
Return information about which Base version is in use.
|
String |
login(String ID,
String login,
String password,
String comment)
Deprecated.
Service to login to BASE
|
String |
logout(String ID)
Deprecated.
Service to logout from BASE
|
String |
newSession(String externalClientId)
Deprecated.
Creates a new session control.
|
String |
refreshSession(String ID)
Deprecated.
Refresh a session so the time for logging out will be reset.
|
attachFile, getRemoteId, getSessionControl
public String newSession(String externalClientId)
externalClientId
- The external id of a BASE client, or null if
the application hasn't been registered as a client applicationpublic String login(String ID, String login, String password, String comment)
ID
- Id of a session controllogin
- Login name for the account to usepassword
- Password for the login above.comment
- Comment to be used with the new sessionpublic String logout(String ID)
ID
- Id of the session to logout.public Integer getSessionTimeOut()
public String refreshSession(String ID)
ID
- The session id as a stringpublic VersionInfo getVersion()
VersionInfo
object