Package com.saperion.rmi
Class SaUserInfoImpl
- java.lang.Object
-
- com.saperion.rmi.MutableUserInformationImpl
-
- com.saperion.rmi.SaUserInfoImpl
-
- All Implemented Interfaces:
MutableUserInformation
,SaUserInfo
,java.io.Serializable
- Direct Known Subclasses:
WorkflowMemberImpl
public class SaUserInfoImpl extends MutableUserInformationImpl implements SaUserInfo
- Author:
- rbo
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description SaUserInfoImpl(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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDisplayName()
Deprecated.SaUserInfo.GroupKind
getGroupKind()
This method returns the kind of user management entity.int
getMandantUid()
java.lang.String
getName()
Deprecated.int
getOrgUnitUid()
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.UserName
getUserName()
This method returns the name of the entity.int
hashCode()
java.lang.String
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 Detail
-
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 Detail
-
getGroupKind
public SaUserInfo.GroupKind getGroupKind()
This method returns the kind of user management entity.- Specified by:
getGroupKind
in interfaceSaUserInfo
- Returns:
- the kind of user management entity
- See Also:
SaUserInfo.getGroupKind()
-
getMandantUid
public int getMandantUid()
- Specified by:
getMandantUid
in interfaceSaUserInfo
- Returns:
- the unique tenant id the user is assigned to
- See Also:
SaUserInfo.getMandantUid()
-
getName
@Deprecated public java.lang.String getName()
Deprecated.This method returns the name of the entity.- Specified by:
getName
in interfaceSaUserInfo
- Returns:
- the name of the entity
- See Also:
SaUserInfo.getName()
-
getOrgUnitUid
public int getOrgUnitUid()
- Specified by:
getOrgUnitUid
in interfaceSaUserInfo
- Returns:
- the unique organisation id the user is assigned to
- See Also:
SaUserInfo.getOrgUnitUid()
-
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:
SaUserInfo.getType()
-
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:
SaUserInfo.getUid()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getUserName
public UserName 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 public java.lang.String getDisplayName()
Deprecated.- Specified by:
getDisplayName
in interfaceSaUserInfo
- Returns:
- the users short name
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-