Package ru.bgcrm.model.process
Class Process
java.lang.Object
org.bgerp.model.base.Id
ru.bgcrm.model.process.Process
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Process>
,Id<Integer>
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
boolean
getChangesLog
(Process oldProcess) int
int
getExecutorIdsWithGroupAndRole
(int groupId, int roleId) Returns the set of executor user IDs for the certain role and group.getExecutorIdsWithGroups
(Set<Integer> groupIds) Returns the set of executor user IDs for the certain groups.getExecutorIdsWithRole
(int roleId) Returns the set of executor user IDs for the certain role.getExecutorIdsWithRoles
(Set<Integer> roleIds) Returns the set of executor user IDs for the certain roles.getGroupIdsWithRole
(int roleId) Returns the set of execution group IDs for the certain role.getGroupIdsWithRoles
(Set<Integer> roleIds) Returns the set of execution group IDs for the certain roles.int
Deprecated.getProcessExecutorsInGroupWithRole
(int roleId, int groupId) Deprecated.getProcessExecutorsWithGroups
(Set<Integer> groupIds) Deprecated.getProcessExecutorsWithRole
(int roleId) Deprecated.getProcessExecutorsWithRoles
(Set<Integer> roleIds) Deprecated.Deprecated.getProcessGroupWithRole
(int roleId) Deprecated.getProcessGroupWithRoles
(Set<Integer> roleIds) Deprecated.int
int
getType()
int
int
hashCode()
boolean
isEqualProperties
(Process process) void
setCloseTime
(Date closeTime) void
setCloseUserId
(int closeUserId) void
setCreateTime
(Date createTime) void
setCreateUserId
(int createUserId) void
setDescription
(String value) void
setExecutors
(Set<ProcessExecutor> value) void
setGroups
(ProcessGroups value) void
setPriority
(int priority) void
setProcessExecutors
(Set<ProcessExecutor> processExecutors) Deprecated.void
setProcessGroups
(Set<ProcessGroup> processGroups) Deprecated.void
setReference
(String reference) void
setStatusChange
(StatusChange status) void
setStatusId
(int statusId) void
setStatusTime
(Date statusTime) void
setStatusUserId
(int statusUserId) void
setTypeId
(int value) toString()
withDescription
(String value) withExecutors
(Set<ProcessExecutor> value) withGroups
(ProcessGroups value) withTypeId
(int value)
-
Field Details
-
OBJECT_TYPE
- See Also:
-
LINK_TYPE_LINK
- See Also:
-
LINK_TYPE_DEPEND
- See Also:
-
LINK_TYPE_MADE
- See Also:
-
-
Constructor Details
-
Process
public Process() -
Process
public Process(int id)
-
-
Method Details
-
getProcessExecutors
Deprecated.UsegetExecutors()
. -
getExecutors
-
getProcessExecutorsWithRole
Deprecated. -
getExecutorIdsWithRole
Returns the set of executor user IDs for the certain role.- Parameters:
roleId
-- Returns:
-
getProcessExecutorsWithRoles
Deprecated. -
getExecutorIdsWithRoles
Returns the set of executor user IDs for the certain roles.- Parameters:
roleIds
-- Returns:
-
getProcessExecutorsInGroupWithRole
Deprecated. -
getExecutorIdsWithGroupAndRole
Returns the set of executor user IDs for the certain role and group.- Parameters:
groupId
-roleId
-- Returns:
-
getProcessExecutorsWithGroups
Deprecated. -
getExecutorIdsWithGroups
Returns the set of executor user IDs for the certain groups.- Parameters:
groupIds
-- Returns:
-
getExecutorIds
-
setProcessExecutors
Deprecated.UsesetExecutors(Set)
. -
setExecutors
-
withExecutors
-
getProcessGroups
Deprecated.UsegetGroups()
. -
getGroups
- Returns:
- execution groups.
-
getProcessGroupWithRole
Deprecated. -
getGroupIdsWithRole
Returns the set of execution group IDs for the certain role.- Parameters:
roleId
-- Returns:
-
getProcessGroupWithRoles
Deprecated. -
getGroupIdsWithRoles
Returns the set of execution group IDs for the certain roles.- Parameters:
roleIds
-- Returns:
-
getGroupIds
-
setProcessGroups
Deprecated.Useinvalid reference
#setGroups(Set)
-
setGroups
-
withGroups
-
getTypeId
public int getTypeId() -
setTypeId
public void setTypeId(int value) -
withTypeId
-
getType
- Returns:
- process type object from
ProcessTypeCache.getProcessTypeSafe(int)
.
-
getTypeTitle
- Returns:
- process types title from
getType()
.
-
getStatusId
public int getStatusId() -
setStatusId
public void setStatusId(int statusId) -
getStatus
- Returns:
- process status object from
ProcessTypeCache.getStatusSafe(int)
.
-
getStatusTime
-
setStatusTime
-
getStatusUserId
public int getStatusUserId() -
setStatusUserId
public void setStatusUserId(int statusUserId) -
getDescription
-
setDescription
-
withDescription
-
getReference
-
setReference
-
reference
-
getCreateTime
-
setCreateTime
-
getCreateUserId
public int getCreateUserId() -
setCreateUserId
public void setCreateUserId(int createUserId) -
getCloseUserId
public int getCloseUserId() -
setCloseUserId
public void setCloseUserId(int closeUserId) -
getCloseTime
-
setCloseTime
-
getStatusTitle
-
getStatusChange
-
setStatusChange
-
getPriority
public int getPriority() -
setPriority
public void setPriority(int priority) -
getRoleSet
-
getAllowedToChangeStatusIds
-
isEqualProperties
-
getChangesLog
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Process>
-
equals
-
hashCode
public int hashCode() -
toString
-
clone
-