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 booleanequals(java.lang.Object obj)java.lang.StringgetDisplayName()Deprecated.SaUserInfo.GroupKindgetGroupKind()This method returns the kind of user management entity.intgetMandantUid()java.lang.StringgetName()Deprecated.intgetOrgUnitUid()intgetType()This method returns the numerical value of the kind of user management entity.intgetUid()This method returns the id of the user.UserNamegetUserName()This method returns the name of the entity.inthashCode()java.lang.StringtoString()-
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:
getGroupKindin interfaceSaUserInfo- Returns:
- the kind of user management entity
- See Also:
SaUserInfo.getGroupKind()
-
getMandantUid
public int getMandantUid()
- Specified by:
getMandantUidin 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:
getNamein interfaceSaUserInfo- Returns:
- the name of the entity
- See Also:
SaUserInfo.getName()
-
getOrgUnitUid
public int getOrgUnitUid()
- Specified by:
getOrgUnitUidin 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:
getTypein 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:
getUidin interfaceSaUserInfo- Returns:
- the id of the user
- See Also:
SaUserInfo.getUid()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getUserName
public UserName getUserName()
Description copied from interface:SaUserInfoThis method returns the name of the entity.- Specified by:
getUserNamein interfaceSaUserInfo- Returns:
- the name of the entity
-
getDisplayName
@Deprecated public java.lang.String getDisplayName()
Deprecated.- Specified by:
getDisplayNamein interfaceSaUserInfo- Returns:
- the users short name
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-