- All Superinterfaces:
DomainContextDependable
,DomainContextProvider
- All Known Implementing Classes:
AdminExtensionAdapter
Remote session extension providing admin services for the middle tier.
- Author:
- harald
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Provides information about a logged in client session. -
Method Summary
Modifier and TypeMethodDescriptionGets the session data of all sessions currently logged into the middle tier.int
Kills all sessions of a given user.boolean
Submits a logout request to the modification tracker session of a given user.Methods inherited from interface org.tentackle.pdo.DomainContextDependable
createValidContext, determineContextId, getBaseContext, getContextId, isDomainContextImmutable, setDomainContext, setDomainContextImmutable
Methods inherited from interface org.tentackle.pdo.DomainContextProvider
getDomainContext, isWithinContext, isWithinContext, on, on, op, op
-
Method Details
-
getSessions
List<AdminExtension.SessionData> getSessions()Gets the session data of all sessions currently logged into the middle tier.- Returns:
- the session data
-
logout
Submits a logout request to the modification tracker session of a given user.- Parameters:
userId
- the user idsessionGroupId
- the optional session group, 0 = allapplicationName
- the optional application name, null = allapplicationId
- the optional application ID, 0 = all- Returns:
- true if request submitted, false if no such user session
-
kill
Kills all sessions of a given user.- Parameters:
userId
- the user idsessionGroupId
- the optional session group, 0 = allapplicationName
- the optional application name, null = allapplicationId
- the optional application ID, 0 = all- Returns:
- the number of sessions killed
-