com.silverpeas.workflow.engine.dataRecord
Class ItemTemplate

java.lang.Object
  extended by com.silverpeas.workflow.engine.dataRecord.ProcessInstanceFieldTemplate
      extended by com.silverpeas.workflow.engine.dataRecord.ItemTemplate
All Implemented Interfaces:
FieldTemplate

public class ItemTemplate
extends ProcessInstanceFieldTemplate

A ItemTemplate builds fields giving the title of a process instance.


Constructor Summary
ItemTemplate(String fieldName, Item item, 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

ItemTemplate

public ItemTemplate(String fieldName,
                    Item item,
                    String role,
                    String lang)
Method Detail

getField

public Field getField(ProcessInstance instance)
               throws FormException
Returns a field built from this template and filled from the given process instance.

Specified by:
getField in class ProcessInstanceFieldTemplate
Throws:
FormException


Copyright © 2016 Silverpeas. All Rights Reserved.