Class StateTemplate
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.datarecord.ProcessInstanceFieldTemplate
-
- org.silverpeas.core.workflow.engine.datarecord.StateTemplate
-
- All Implemented Interfaces:
Serializable
,FieldTemplate
public class StateTemplate extends ProcessInstanceFieldTemplate
A StateTemplate builds fields giving the current state of a process instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StateTemplate(String fieldName, ProcessModel processModel, String role, String lang)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Field
getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.-
Methods inherited from class org.silverpeas.core.workflow.engine.datarecord.ProcessInstanceFieldTemplate
getDisplayerName, getEmptyField, getEmptyField, getFieldName, getLabel, getLabel, getLanguages, getMaximumNumberOfOccurrences, getParameters, getParametersObj, getTemplateName, getTypeName, isDisabled, isHidden, isMandatory, isReadOnly, isRepeatable, isSearchable, isUsedAsFacet
-
-
-
-
Constructor Detail
-
StateTemplate
public StateTemplate(String fieldName, ProcessModel processModel, String role, String lang)
-
-
Method Detail
-
getField
public Field getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance.- Specified by:
getField
in classProcessInstanceFieldTemplate
-
-