T - as Tenant type, Example: Organizationpublic interface SAASUser<T> extends User, MultiTenantRecord
BasicUser, however login information, like last
login date needs to be stored.OrgUserUser.BIT_MASKS| Modifier and Type | Method and Description |
|---|---|
T |
getPrimaryTenant()
The Primary Tenant/
Organization the user is associated with. |
Boolean |
getSuperAdmin()
Whether the
extends Organization> is allowed to have access to all Organizations. |
List<T> |
getTenants()
All Tenant/
Organizations the user is intended to have access to. |
void |
setPrimaryTenant(T tenant)
The Primary
Organization the user is associated with. |
void |
setSuperAdmin(Boolean superAdmin)
Whether the
extends Organization> is allowed to have access to all Organizations. |
void |
setTenants(List<T> tenants)
All Tenant/
Organizations the user is intended to have access to. |
copyAs, getAuthorizationMap, getBitmask, getEnvironmentSupplier, getId, getRoleNames, setAuthorizationMap, setBitmask, setId, setRoleNamesequals, getName, hashCode, implies, toStringgetTenantIdBoolean getSuperAdmin()
extends Organization> is allowed to have access to all Organizations. false.void setSuperAdmin(Boolean superAdmin)
extends Organization> is allowed to have access to all Organizations. false.List<T> getTenants()
Organizations the user is intended to have access to.void setTenants(List<T> tenants)
Organizations the user is intended to have access to.T getPrimaryTenant()
Organization the user is associated with. All environment
settings etc will be using this.#getOrganizations()void setPrimaryTenant(T tenant)
Organization the user is associated with. All environment
settings etc will be using this.Copyright © 2018. All rights reserved.