public class ProcessExecutor extends ProcessGroup
groupId, roleId
Constructor and Description |
---|
ProcessExecutor() |
ProcessExecutor(int executor,
int groupId,
int roleId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static java.util.Set<ProcessExecutor> |
getProcessExecutors(java.util.Set<ProcessExecutor> processExecutors,
ProcessGroup processGroup) |
static java.util.Set<ProcessExecutor> |
getProcessExecutors(java.util.Set<ProcessExecutor> processExecutors,
java.util.Set<ProcessGroup> processGroups) |
int |
getUserId() |
int |
hashCode() |
boolean |
isInProcessGroup(ProcessGroup pg) |
static java.util.Set<ProcessExecutor> |
parseSafe(java.lang.String value,
java.util.Set<ProcessGroup> processGroups) |
static java.util.Set<ProcessExecutor> |
parseUnsafe(java.util.Set<java.lang.String> values,
java.util.Set<ProcessGroup> processGroups) |
static java.lang.String |
serialize(java.util.Set<ProcessExecutor> processExecutors) |
void |
setUserId(int userId) |
static java.util.Set<java.lang.Integer> |
toExecutorSet(java.util.Set<ProcessExecutor> processExecutors) |
static java.util.Set<java.lang.Integer> |
toGroupSet(java.util.Set<ProcessExecutor> processExecutors) |
static java.util.Set<ProcessExecutor> |
toProcessExecutorSet(java.util.Set<java.lang.Integer> userIds,
ProcessGroup processGroup) |
static void |
updateProcessExecutors(java.util.Set<ProcessExecutor> processExecutors,
ProcessGroup processGroup,
java.util.Set<java.lang.Integer> executorIds) |
checkGroupAndRole, createProcessGroup, getGroupId, getGroupsWithRole, getRoleId, isGroupWithRoleExist, parseFromStringSet, parseIdTitleSet, parseStringArray, serialize, setGroupId, setRoleId, toGroupRolePair, toGroupSet, toProcessGroupSet
public ProcessExecutor()
public ProcessExecutor(int executor, int groupId, int roleId)
public int getUserId()
public void setUserId(int userId)
public boolean isInProcessGroup(ProcessGroup pg)
public int hashCode()
hashCode
in class ProcessGroup
public boolean equals(java.lang.Object obj)
equals
in class ProcessGroup
public static final java.util.Set<ProcessExecutor> parseSafe(java.lang.String value, java.util.Set<ProcessGroup> processGroups)
public static final java.util.Set<ProcessExecutor> parseUnsafe(java.util.Set<java.lang.String> values, java.util.Set<ProcessGroup> processGroups) throws BGException
BGException
public static final java.lang.String serialize(java.util.Set<ProcessExecutor> processExecutors)
public static final java.util.Set<java.lang.Integer> toGroupSet(java.util.Set<ProcessExecutor> processExecutors)
public static final java.util.Set<java.lang.Integer> toExecutorSet(java.util.Set<ProcessExecutor> processExecutors)
public static final java.util.Set<ProcessExecutor> toProcessExecutorSet(java.util.Set<java.lang.Integer> userIds, ProcessGroup processGroup)
public static final java.util.Set<ProcessExecutor> getProcessExecutors(java.util.Set<ProcessExecutor> processExecutors, ProcessGroup processGroup)
public static final java.util.Set<ProcessExecutor> getProcessExecutors(java.util.Set<ProcessExecutor> processExecutors, java.util.Set<ProcessGroup> processGroups)
public static final void updateProcessExecutors(java.util.Set<ProcessExecutor> processExecutors, ProcessGroup processGroup, java.util.Set<java.lang.Integer> executorIds)