public class Session
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ROLE |
Constructor and Description |
---|
Session(CLBrowser browser,
Instance userInstance) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
getRoles() |
java.lang.Long |
getUserId() |
Instance |
getUserInstance() |
java.lang.String |
getUsername() |
boolean |
isSystemAdmin() |
public static final java.lang.String DEFAULT_ROLE
public Session(CLBrowser browser, Instance userInstance) throws QueryTreeException
QueryTreeException
public java.lang.String getUsername()
public java.lang.Long getUserId()
public java.lang.Object[] getRoles()
public Instance getUserInstance()
public boolean isSystemAdmin()