@Entity public class Operator extends BasicUser
| Constructor and Description |
|---|
Operator() |
| Modifier and Type | Method and Description |
|---|---|
OperatorGroup |
getGroup() |
UserNature |
getNature() |
User |
getUser()
Returns the user associated with this basic user
|
boolean |
isAliasOperator()
Returns whether the
Role.ALIAS_OPERATOR is granted |
boolean |
isMember()
returns true if user has member role.
|
boolean |
isOperator()
Returns whether the
Role.OPERATOR is granted |
boolean |
isRestricted() |
boolean |
isRestrictedOperator()
Returns whether the
Role.RESTRICTED_OPERATOR is granted |
void |
setGroup(OperatorGroup group) |
void |
setUser(User user) |
getCreationDate, getEmail, getName, getNetwork, getNewEmail, getPasswords, getRegistrationConfirmationDate, getRegistrationType, getSecurityAnswer, getSecurityQuestion, getStatus, getUsername, getValidationKey, getValidationKeyDate, getValidationKeyType, isActive, isAdmin, isBlocked, isBroker, isGlobalAdmin, isInactive, isNetworkAdmin, isPendingNewEmailValidation, isPendingValidation, isRemoved, isSendActivationEmail, isUserManager, setCreationDate, setEmail, setName, setNetwork, setNewEmail, setPasswords, setRegistrationConfirmationDate, setRegistrationType, setSecurityAnswer, setSecurityQuestion, setSendActivationEmail, setStatus, setUsername, setValidationKey, setValidationKeyDate, setValidationKeyType, toStringgetDataTranslationType, getLogType, getVersion, isGlobal, isPersistent, isTransientclone, equals, getEntityImportance, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCodepublic OperatorGroup getGroup()
public UserNature getNature()
public User getUser()
BasicUserpublic boolean isAliasOperator()
RoleContainerRole.ALIAS_OPERATOR is grantedisAliasOperator in interface RoleContainerisAliasOperator in class BasicUserpublic boolean isMember()
BasicUserisMember in interface RoleContainerisMember in class BasicUserpublic boolean isOperator()
RoleContainerRole.OPERATOR is grantedisOperator in interface RoleContainerisOperator in class BasicUserpublic boolean isRestricted()
public boolean isRestrictedOperator()
RoleContainerRole.RESTRICTED_OPERATOR is grantedisRestrictedOperator in interface RoleContainerisRestrictedOperator in class BasicUserpublic void setGroup(OperatorGroup group)
public void setUser(User user)