Package com.saperion.wf
Class WorkflowMemberImpl
java.lang.Object
com.saperion.rmi.MutableUserInformationImpl
com.saperion.rmi.SaUserInfoImpl
com.saperion.wf.WorkflowMemberImpl
- All Implemented Interfaces:
MutableUserInformation,SaUserInfo,WorkflowMember,Serializable
- Author:
- rbo
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.saperion.intf.SaUserInfo
SaUserInfo.GroupKind -
Field Summary
FieldsFields inherited from interface com.saperion.intf.SaUserInfo
UIDFAVORITE -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for root user.WorkflowMemberImpl(int id, int userType, UserName userName, int orgUnit, int mandant, WorkflowMemberImpl parentUser, boolean present) Deprecated.WorkflowMemberImpl(int id, int userType, UserName userName, int orgUnit, int mandant, WorkflowMemberImpl parentUser, boolean present, UserFlags flags, String description) Literal Constructor.WorkflowMemberImpl(int id, int userType, String fullname, int orgUnit, int mandant, String displayname, WorkflowMemberImpl parentUser) Deprecated.use WorkflowMemberImpl#WorkflowMemberImpl(int, int, UserName, int, int, WorkflowMemberImpl, boolean) instead -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddChild(WorkflowMember child) final List<WorkflowMember>final WorkflowMemberfinal voidsetParent(WorkflowMember parentUser) toString()Methods inherited from class com.saperion.rmi.SaUserInfoImpl
equals, getDisplayName, getGroupKind, getMandantUid, getName, getOrgUnitUid, getType, getUid, getUserName, hashCodeMethods inherited from class com.saperion.rmi.MutableUserInformationImpl
getUserFlags, isPresentMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.saperion.intf.MutableUserInformation
getUserFlags, isPresentMethods inherited from interface com.saperion.intf.SaUserInfo
getDisplayName, getGroupKind, getMandantUid, getName, getOrgUnitUid, getType, getUid, getUserName
-
Field Details
-
ROOT
-
-
Constructor Details
-
WorkflowMemberImpl
public WorkflowMemberImpl(int id, int userType, UserName userName, int orgUnit, int mandant, WorkflowMemberImpl parentUser, boolean present, UserFlags flags, String description) Literal Constructor.- Parameters:
id- IDuserType- TypeuserName- NameorgUnit- Org unitmandant- MandantparentUser- Parent userpresent- Whether the user is presentflags-description-
-
WorkflowMemberImpl
@Deprecated public WorkflowMemberImpl(int id, int userType, UserName userName, int orgUnit, int mandant, WorkflowMemberImpl parentUser, boolean present) Deprecated.Constructor.- Parameters:
id- IDuserType- TypeuserName- NameorgUnit- Org unitmandant- MandantparentUser- Parent userpresent- whether the user is present
-
WorkflowMemberImpl
@Deprecated public WorkflowMemberImpl(int id, int userType, String fullname, int orgUnit, int mandant, String displayname, WorkflowMemberImpl parentUser) Deprecated.use WorkflowMemberImpl#WorkflowMemberImpl(int, int, UserName, int, int, WorkflowMemberImpl, boolean) insteadOld constructor for convenience.- Parameters:
id- IDuserType- Typefullname- full nameorgUnit- Org unitmandant- Mandantdisplayname- display nameparentUser- Parent user
-
WorkflowMemberImpl
public WorkflowMemberImpl()Constructor for root user.
-
-
Method Details
-
getParent
- Specified by:
getParentin interfaceWorkflowMember- Returns:
- the parent
- See Also:
-
setParent
- Specified by:
setParentin interfaceWorkflowMember- Parameters:
parentUser- the parent to set- See Also:
-
addChild
- Specified by:
addChildin interfaceWorkflowMember- Parameters:
child- the child to add- See Also:
-
getChildren
- Specified by:
getChildrenin interfaceWorkflowMember- Returns:
- the children
- See Also:
-
getDescription
- Specified by:
getDescriptionin interfaceWorkflowMember- Returns:
- The description of the given user.
-
toString
- Overrides:
toStringin classSaUserInfoImpl
-
WorkflowMemberImpl(int, int, com.saperion.users.UserName, int, int, WorkflowMemberImpl, boolean, com.saperion.users.UserFlags, String)instead