public class Process extends SearchableIdTitle implements java.lang.Comparable<Process>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LINK_TYPE_DEPEND |
static java.lang.String |
LINK_TYPE_LINK |
static java.lang.String |
LINK_TYPE_MADE |
static java.lang.String |
OBJECT_TYPE |
Constructor and Description |
---|
Process() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Process o) |
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.lang.Integer> |
getAllowedToChangeStatusIds() |
java.util.Date |
getCloseTime() |
int |
getCloseUserId() |
java.util.Date |
getCreateTime() |
int |
getCreateUserId() |
java.lang.String |
getDescription() |
java.util.Set<java.lang.Integer> |
getExecutorIds() |
java.util.Set<java.lang.Integer> |
getExecutorsIds() |
java.util.Set<java.lang.Integer> |
getGroupIds() |
int |
getPriority() |
java.util.Set<ProcessExecutor> |
getProcessExecutors() |
java.util.Set<ProcessGroup> |
getProcessGroups() |
java.lang.String |
getReference() |
java.util.Set<java.lang.Integer> |
getRoleSet() |
int |
getStatusId() |
java.util.Date |
getStatusTime() |
java.lang.String |
getStatusTitle() |
int |
getStatusUserId() |
int |
getTypeId() |
java.lang.String |
getTypeTitle() |
int |
getUnboundedExecutorsCount() |
int |
hashCode() |
boolean |
isEqualProperties(Process process) |
void |
setCloseTime(java.util.Date closeTime) |
void |
setCloseUserId(int closeUserId) |
void |
setCreateTime(java.util.Date createTime) |
void |
setCreateUserId(int createUserId) |
void |
setDescription(java.lang.String description) |
void |
setExecutorIds(java.util.Set<java.lang.Integer> executorIds)
Deprecated.
|
void |
setGroupIds(java.util.Set<java.lang.Integer> groupIds)
Deprecated.
|
void |
setPriority(int priority) |
void |
setProcessExecutors(java.util.Set<ProcessExecutor> processExecutors) |
void |
setProcessGroups(java.util.Set<ProcessGroup> processGroups) |
void |
setReference(java.lang.String reference) |
void |
setStatusId(int statusId) |
void |
setStatusTime(java.util.Date statusTime) |
void |
setStatusUserId(int statusUserId) |
void |
setTypeId(int typeId) |
java.lang.String |
toLog(java.sql.Connection con,
Process oldProcess) |
java.lang.String |
toString() |
getSearchMode, setSearchMode
public static final java.lang.String OBJECT_TYPE
public static final java.lang.String LINK_TYPE_LINK
public static final java.lang.String LINK_TYPE_DEPEND
public static final java.lang.String LINK_TYPE_MADE
public java.util.Set<ProcessExecutor> getProcessExecutors()
public void setProcessExecutors(java.util.Set<ProcessExecutor> processExecutors)
public java.util.Set<ProcessGroup> getProcessGroups()
public void setProcessGroups(java.util.Set<ProcessGroup> processGroups)
public int getTypeId()
public void setTypeId(int typeId)
public int getStatusId()
public void setStatusId(int statusId)
public java.util.Date getStatusTime()
public void setStatusTime(java.util.Date statusTime)
public int getStatusUserId()
public void setStatusUserId(int statusUserId)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getReference()
public void setReference(java.lang.String reference)
public java.util.Date getCreateTime()
public void setCreateTime(java.util.Date createTime)
public int getCreateUserId()
public void setCreateUserId(int createUserId)
public int getCloseUserId()
public void setCloseUserId(int closeUserId)
public java.util.Date getCloseTime()
public void setCloseTime(java.util.Date closeTime)
public java.lang.String getTypeTitle()
public java.util.Set<java.lang.Integer> getGroupIds()
@Deprecated public void setGroupIds(java.util.Set<java.lang.Integer> groupIds)
groupIds
- public java.util.Set<java.lang.Integer> getExecutorIds()
@Deprecated public void setExecutorIds(java.util.Set<java.lang.Integer> executorIds) throws BGException
BGException
public java.lang.String getStatusTitle()
public int getPriority()
public void setPriority(int priority)
public java.util.Set<java.lang.Integer> getRoleSet()
public java.util.Set<java.lang.Integer> getAllowedToChangeStatusIds()
public boolean isEqualProperties(Process process)
public java.lang.String toLog(java.sql.Connection con, Process oldProcess) throws BGException, java.sql.SQLException
BGException
java.sql.SQLException
public int compareTo(Process o)
compareTo
in interface java.lang.Comparable<Process>
public java.util.Set<java.lang.Integer> getExecutorsIds()
public int getUnboundedExecutorsCount()