Package de.xima.fc.workflow.itemlist
Interface ItemList<T>
-
- Type Parameters:
T- Type of the items in the list.
- All Superinterfaces:
Iterable<T>
- All Known Implementing Classes:
FcForEachLoopItemListAttachments,FcForEachLoopItemListCsv,FcForEachLoopItemListCsvRows,FcForEachLoopItemListEmpty,FcForEachLoopItemListFieldValues,FcForEachLoopItemListFiles,FcForEachLooptemListFormFieldRepetition
public interface ItemList<T> extends Iterable<T>
An item list used internally by theFC_FOR_EACH_LOOPworkflow node to represent the resolved the items for the selectedEForEachLoopItemListSource. Allows the data for each item to be extracted lazily.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ItemDataextractData(T item, int index)Lazily extracts the additional required data for an item in this list.inttotalCount()Gets the total number of items in the list.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
extractData
ItemData extractData(T item, int index)
Lazily extracts the additional required data for an item in this list.- Parameters:
item- 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.
-
totalCount
int totalCount()
Gets the total number of items in the list.- Returns:
- The total number of items in the list.
-
-