Package de.xima.fc.workflow.itemlist
Class FcForEachLooptemListFormFieldRepetition
- java.lang.Object
-
- de.xima.fc.workflow.itemlist.FcForEachLooptemListFormFieldRepetition
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ItemList<?>evaluate(ListItemSourcePropsFormFieldRepetitions sourceProps, Mandant client, IFormDataAdapter formData, IXForm xForm, XItemConditionProcessor processor)Resolves an item list for the for-each loop of typeFORM_FIELD_REPETITIONS.ItemDataextractData(Integer repetitionId, int index)Lazily extracts the additional required data for an item in this list.Iterator<Integer>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
extractData
public ItemData extractData(Integer repetitionId, int index)
Description copied from interface:ItemListLazily extracts the additional required data for an item in this list.- Specified by:
extractDatain interfaceItemList<Integer>- Parameters:
repetitionId- An item as returned byIterable.iterator().index- 0-based index of the item returned byIterable.iterator().- Returns:
- The extracted item data for the given item of this list.
-
evaluate
public static ItemList<?> evaluate(ListItemSourcePropsFormFieldRepetitions sourceProps, Mandant client, IFormDataAdapter formData, IXForm xForm, XItemConditionProcessor processor)
Resolves an item list for the for-each loop of typeFORM_FIELD_REPETITIONS.- Parameters:
sourceProps- Configured properties.formData- Submitted form data of the form record.xForm- Form element definition of the form.processor- Processor for evaluating whether form items are available.- Returns:
- An item list with all resolved form field repetition items.
-
-