Package com.saperion.rmi
Class SaUserInfoImpl
java.lang.Object
com.saperion.rmi.MutableUserInformationImpl
com.saperion.rmi.SaUserInfoImpl
- All Implemented Interfaces:
MutableUserInformation
,SaUserInfo
,Serializable
- Direct Known Subclasses:
WorkflowMemberImpl
- Author:
- rbo
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.saperion.intf.SaUserInfo
SaUserInfo.GroupKind
-
Field Summary
Fields inherited from interface com.saperion.intf.SaUserInfo
UIDFAVORITE
-
Constructor Summary
ConstructorsConstructorDescriptionSaUserInfoImpl
(int id, int userType, UserName userName, int orgUnit, int mandant, boolean present) Deprecated.SaUserInfoImpl
(int id, int userType, UserName userName, int orgUnit, int mandant, boolean present, UserFlags flags) Literal Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.This method returns the kind of user management entity.int
getName()
Deprecated.int
int
getType()
This method returns the numerical value of the kind of user management entity.int
getUid()
This method returns the id of the user.This method returns the name of the entity.int
hashCode()
toString()
Methods inherited from class com.saperion.rmi.MutableUserInformationImpl
getUserFlags, isPresent
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.saperion.intf.MutableUserInformation
getUserFlags, isPresent
-
Constructor Details
-
SaUserInfoImpl
public SaUserInfoImpl(int id, int userType, UserName userName, int orgUnit, int mandant, boolean present, UserFlags flags) Literal Constructor.- Parameters:
id
- IDuserType
- TypeuserName
- NameorgUnit
- Org unitmandant
- Mandantpresent
- whether the user is presentflags
- The special flags concerning this user
-
SaUserInfoImpl
@Deprecated public SaUserInfoImpl(int id, int userType, UserName userName, int orgUnit, int mandant, boolean present) Deprecated.Constructor.- Parameters:
id
- IDuserType
- TypeuserName
- NameorgUnit
- Org unitmandant
- Mandantpresent
- whether the user is present
-
-
Method Details
-
getGroupKind
This method returns the kind of user management entity.- Specified by:
getGroupKind
in interfaceSaUserInfo
- Returns:
- the kind of user management entity
- See Also:
-
getMandantUid
public int getMandantUid()- Specified by:
getMandantUid
in interfaceSaUserInfo
- Returns:
- the unique tenant id the user is assigned to
- See Also:
-
getName
Deprecated.This method returns the name of the entity.- Specified by:
getName
in interfaceSaUserInfo
- Returns:
- the name of the entity
- See Also:
-
getOrgUnitUid
public int getOrgUnitUid()- Specified by:
getOrgUnitUid
in interfaceSaUserInfo
- Returns:
- the unique organisation id the user is assigned to
- See Also:
-
getType
public int getType()This method returns the numerical value of the kind of user management entity.- Specified by:
getType
in interfaceSaUserInfo
- Returns:
- the numerical value of the kind of user management entity
- See Also:
-
getUid
public int getUid()This method returns the id of the user.- Specified by:
getUid
in interfaceSaUserInfo
- Returns:
- the id of the user
- See Also:
-
toString
-
getUserName
Description copied from interface:SaUserInfo
This method returns the name of the entity.- Specified by:
getUserName
in interfaceSaUserInfo
- Returns:
- the name of the entity
-
getDisplayName
Deprecated.- Specified by:
getDisplayName
in interfaceSaUserInfo
- Returns:
- the users short name
-
hashCode
public int hashCode() -
equals
-
SaUserInfoImpl(int, int, UserName, int, int, boolean, UserFlags)
instead