com.silverpeas.workflow.engine.dataRecord
Class StateTemplate

java.lang.Object
  extended by com.silverpeas.workflow.engine.dataRecord.ProcessInstanceFieldTemplate
      extended by 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.


Constructor Summary
StateTemplate(String fieldName, ProcessModel processModel, String role, String lang)
           
 
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
 

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 class ProcessInstanceFieldTemplate


Copyright © 2016 Silverpeas. All Rights Reserved.