Package org.bonitasoft.web.client.model
Class ProcessSupervisor
- java.lang.Object
-
- org.bonitasoft.web.client.model.ProcessSupervisor
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ProcessSupervisor extends Object implements Serializable
The process supervisor has management rights over a process. He can configure and monitor it. You can give the ProcessSupervisor rights to some users by specifying a role and or a group, or a specific user. In order to be able to manage the processes he supervises in the portal, a user should also have the profile `Process Manager`- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_GROUP_IDstatic StringJSON_PROPERTY_PROCESS_IDstatic StringJSON_PROPERTY_ROLE_IDstatic StringJSON_PROPERTY_USER_ID
-
Constructor Summary
Constructors Constructor Description ProcessSupervisor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetGroupId()Id of group, or -1 if the supervisor type is not group or membershipStringgetProcessId()Id of the processStringgetRoleId()Id of role, or -1 if the supervisor type is not role or membershipStringgetUserId()Id of user, or -1 if the supervisor type is not userProcessSupervisorgroupId(String groupId)inthashCode()ProcessSupervisorprocessId(String processId)ProcessSupervisorroleId(String roleId)voidsetGroupId(String groupId)voidsetProcessId(String processId)voidsetRoleId(String roleId)voidsetUserId(String userId)StringtoString()ProcessSupervisoruserId(String userId)
-
-
-
Field Detail
-
JSON_PROPERTY_PROCESS_ID
public static final String JSON_PROPERTY_PROCESS_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROLE_ID
public static final String JSON_PROPERTY_ROLE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUP_ID
public static final String JSON_PROPERTY_GROUP_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_ID
public static final String JSON_PROPERTY_USER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
processId
public ProcessSupervisor processId(String processId)
-
setProcessId
public void setProcessId(String processId)
-
roleId
public ProcessSupervisor roleId(String roleId)
-
getRoleId
@Nullable public String getRoleId()
Id of role, or -1 if the supervisor type is not role or membership- Returns:
- roleId
-
setRoleId
public void setRoleId(String roleId)
-
groupId
public ProcessSupervisor groupId(String groupId)
-
getGroupId
@Nullable public String getGroupId()
Id of group, or -1 if the supervisor type is not group or membership- Returns:
- groupId
-
setGroupId
public void setGroupId(String groupId)
-
userId
public ProcessSupervisor userId(String userId)
-
getUserId
@Nullable public String getUserId()
Id of user, or -1 if the supervisor type is not user- Returns:
- userId
-
setUserId
public void setUserId(String userId)
-
-