Package com.axelor.meta.db
Class MetaWorkflow
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.meta.db.MetaWorkflow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRevision of the stored XML; a new run is pinned to it.getId()Custom model name; null for a real entity.getModel()Entity class the workflow runs on; com.axelor.meta.db.MetaJsonRecord for a custom model.getName()Among definitions with the same name, the highest wins.Run order among workflows fired by the same change, lowest first.The start trigger, copied from the XML for the registry.getXml()getXmlId()The definition's id; runs, tasks and states refer to it.inthashCode()voidvoidsetCurrentRevision(Integer currentRevision) voidvoidsetJsonModel(String jsonModel) voidvoidvoidvoidsetPriority(Integer priority) voidsetSequence(Integer sequence) voidsetStudioProject(StudioResource studioProject) voidsetTriggerType(WorkflowTrigger triggerType) voidvoidtoString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods inherited from class com.axelor.db.Model
getArchived, getCid, getImportId, getVersion, isSelected, setArchived, setCid, setImportId, setSelected, setVersion
-
Constructor Details
-
MetaWorkflow
public MetaWorkflow() -
MetaWorkflow
-
-
Method Details
-
getId
-
setId
-
getXmlId
The definition's id; runs, tasks and states refer to it.- Returns:
- the property value
-
setXmlId
-
getName
-
setName
-
getModel
Entity class the workflow runs on; com.axelor.meta.db.MetaJsonRecord for a custom model.- Returns:
- the property value
-
setModel
-
getJsonModel
Custom model name; null for a real entity.- Returns:
- the property value
-
setJsonModel
-
getModule
-
setModule
-
getPriority
Among definitions with the same name, the highest wins.- Returns:
- the property value
-
setPriority
-
getSequence
Run order among workflows fired by the same change, lowest first.- Returns:
- the property value
-
setSequence
-
getActive
-
setActive
-
getTriggerType
The start trigger, copied from the XML for the registry.- Returns:
- the property value
-
setTriggerType
-
getXml
-
setXml
-
getStudioProject
-
setStudioProject
-
getCurrentRevision
Revision of the stored XML; a new run is pinned to it.- Returns:
- the property value
-
setCurrentRevision
-
equals
-
hashCode
public int hashCode() -
toString
-