Method Summary |
|
UserTicket | cloneAsGlobalSupervisor() Clones a ticket with global supervisor permissions. |
ACLAssignment[] | getACLAssignments() Returns all ACLAssignments for the user. |
ACLAssignment[] | getACLAssignments(ACL.Category category, long ownerId, ACL.Permission... perms) Returns all ACLAssignments for the user matching the filter parameters.
A ACL may accure multiple times within the result, since the ACLAssignment object contains
the groupId that the ACL is assigned to. |
ACL[] | getACLs(long owner, ACL.Category category, ACL.Permission... perms) Returns the id of all ACLs for the user matching the filter parameters. |
String | getACLsCSV(long ownerId, ACL.Category category, ACL.Permission... perms) Returns the id of all ACLs for the user matching the filter parameters as comma separated list. |
Long[] | getACLsId(long ownerId, ACL.Category category, ACL.Permission... perms) Returns the id of all ACLs for the user matching the filter parameters. |
String | getApplicationId() Returns the application id the ticket belongs to. |
public AuthenticationSource | getAuthenticationSource() |
FxPK | getContactData() |
long | getCreationTime() Returns the time that this ticket was created at. |
public long | getFailedLoginAttempts() |
long[] | getGroups() Returns all groups the user is in. |
FxLanguage | getLanguage() |
String | getLoginName() Returns the unique login name of the user. |
long | getMandatorId() Returns the id of the mandator the user belongs to. |
long | getUserId() |
String | getUserName() |
boolean | isAssignedToACL(long aclId) Returns true if the user is assigned to a given ACL. |
boolean | isGlobalSupervisor() Return true if the user is a global supervisor. |
boolean | isGuest() Returns true if the ticket is a guest user. |
boolean | isInAtLeastOneGroup(long[] groups) Returns true if the user is a member of at least one of the given groups. |
boolean | isInGroup(long group) Returns true if the user is a member of the given group. |
boolean | isInGroups(int groups) Returns true if the user is a member of all the given group. |
boolean | isInRole(Role role) Returns true if the user is assigned to the given role. |
boolean | isMandatorSupervisor() |
boolean | isMultiLogin() Returns true if more than one session with the tickets user can be logged in at the same time. |
boolean | isWebDav() Returns true if this is a ticket for the webdav part of the application. |
boolean | mayCreateACL(long aclId, long ownerId) Returns true if the user may create objects using the given ACL. |
boolean | mayDeleteACL(long aclId, long ownerId) Returns true if the user may edit objects using the given ACL. |
boolean | mayEditACL(long aclId, long ownerId) Returns true if the user may edit objects using the given ACL. |
boolean | mayExportACL(long aclId, long ownerId) Returns true if the user may export objects using the given ACL. |
boolean | mayReadACL(long aclId, long ownerId) Returns true if the user may read objects using the given ACL. |
boolean | mayRelateACL(long aclId, long ownerId) Returns true if the user may relate objects to a object using the given ACL. |
public void | overrideLanguage(FxLanguage language) Override the users language.
Please note that overriding a language will only work for the
current session. |