com.silverpeas.workflow.engine.dataRecord
Class StateTemplate
java.lang.Object
com.silverpeas.workflow.engine.dataRecord.ProcessInstanceFieldTemplate
com.silverpeas.workflow.engine.dataRecord.StateTemplate
- All Implemented Interfaces:
- FieldTemplate
public class StateTemplate
- extends ProcessInstanceFieldTemplate
A StateTemplate builds fields giving the current state of a process instance.
Method Summary |
Field |
getField(ProcessInstance instance)
Returns a field built from this template and filled from the given process instance. |
Methods inherited from class com.silverpeas.workflow.engine.dataRecord.ProcessInstanceFieldTemplate |
getDisplayerName, getEmptyField, getEmptyField, getFieldName, getLabel, getLabel, getLanguages, getMaximumNumberOfOccurrences, getParameters, getParametersObj, getTemplateName, getTypeName, isDisabled, isHidden, isMandatory, isReadOnly, isRepeatable, isSearchable, isUsedAsFacet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateTemplate
public StateTemplate(String fieldName,
ProcessModel processModel,
String role,
String lang)
getField
public Field getField(ProcessInstance instance)
- Returns a field built from this template and filled from the given process instance.
- Specified by:
getField
in class ProcessInstanceFieldTemplate
Copyright © 2016 Silverpeas. All Rights Reserved.