Package org.dromara.warm.flow.orm.entity
Class FlowDefinition
java.lang.Object
org.dromara.warm.flow.orm.entity.JPARootEntity<FlowDefinition>
org.dromara.warm.flow.orm.entity.FlowDefinition
- All Implemented Interfaces:
Serializable,org.dromara.warm.flow.core.entity.Definition,org.dromara.warm.flow.core.entity.RootEntity
@Entity
public class FlowDefinition
extends JPARootEntity<FlowDefinition>
implements org.dromara.warm.flow.core.entity.Definition
流程定义对象 flow_definition
- Since:
- 2024-05-08
- Author:
- vanlin
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Integer流程激活状态(0挂起 1激活)private String流程类别private JPAUpdateMergeFunction<FlowDefinition>private JPAPredicateFunction<javax.persistence.criteria.CriteriaBuilder,javax.persistence.criteria.Root<FlowDefinition>, List<javax.persistence.criteria.Predicate>> private String扩展字段,预留给业务系统使用private String流程编码private String流程名称private String审批表单是否自定义(Y是 2否)private String审批表单是否自定义(Y是 2否)private Integer是否发布(0未开启 1开启)private String监听器路径private String监听器类型private List<org.dromara.warm.flow.core.entity.Node>private List<org.dromara.warm.flow.core.entity.User>private String流程版本private String审批表单是否自定义(Y是 2否)Fields inherited from class org.dromara.warm.flow.orm.entity.JPARootEntity
JPA_ROOT_ENTITY_MAPPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionJPAPredicateFunction<javax.persistence.criteria.CriteriaBuilder,javax.persistence.criteria.Root<FlowDefinition>, List<javax.persistence.criteria.Predicate>> voidorderByField(String orderByColumn) Methods inherited from class org.dromara.warm.flow.orm.entity.JPARootEntity
commonPredicate, getCreateTime, getDelFlag, getId, getTenantId, getUpdateTime, setCreateTime, setDelFlag, setId, setTenantId, setUpdateTimeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dromara.warm.flow.core.entity.Definition
copy, getActivityStatus, getCategory, getCreateTime, getDelFlag, getExt, getFlowCode, getFlowName, getFormCustom, getFormPath, getId, getIsPublish, getListenerPath, getListenerType, getNodeList, getTenantId, getUpdateTime, getUserList, getVersion, getXmlString, setActivityStatus, setCategory, setCreateTime, setDelFlag, setExt, setFlowCode, setFlowName, setFormCustom, setFormPath, setId, setIsPublish, setListenerPath, setListenerType, setNodeList, setTenantId, setUpdateTime, setUserList, setVersion, setXmlString
-
Field Details
-
MAPPING
-
entityPredicate
private JPAPredicateFunction<javax.persistence.criteria.CriteriaBuilder,javax.persistence.criteria.Root<FlowDefinition>, entityPredicateList<javax.persistence.criteria.Predicate>> -
entityMerge
-
flowCode
流程编码 -
flowName
流程名称 -
category
流程类别 -
version
流程版本 -
isPublish
是否发布(0未开启 1开启) -
formCustom
审批表单是否自定义(Y是 2否) -
formPath
审批表单是否自定义(Y是 2否) -
activityStatus
流程激活状态(0挂起 1激活) -
listenerType
监听器类型 -
listenerPath
监听器路径 -
ext
扩展字段,预留给业务系统使用 -
xmlString
审批表单是否自定义(Y是 2否) -
nodeList
-
userList
-
-
Constructor Details
-
FlowDefinition
public FlowDefinition()
-
-
Method Details
-
entityPredicate
public JPAPredicateFunction<javax.persistence.criteria.CriteriaBuilder,javax.persistence.criteria.Root<FlowDefinition>, entityPredicate()List<javax.persistence.criteria.Predicate>> - Specified by:
entityPredicatein classJPARootEntity<FlowDefinition>
-
entityMerge
- Specified by:
entityMergein classJPARootEntity<FlowDefinition>
-
orderByField
- Specified by:
orderByFieldin classJPARootEntity<FlowDefinition>
-
initDefaultValue
public void initDefaultValue()- Specified by:
initDefaultValuein classJPARootEntity<FlowDefinition>
-