Class WorkflowSummaryHelper
java.lang.Object
de.xima.fc.workflow.processor.logic.WorkflowSummaryHelper
Helper methods for creating the summary of workflow elements, shown when clicking on the small info icon at the top
right corner of a node or trigger.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ISummaryKeyValuePair>
getMultiFileSummaryKeyValuePairs
(IEntityContext ec, IWorkflowProvider provider, MultiFile multiFile) Creates summary entries for a specifiedMultiFile
instance.static List<ISummaryKeyValuePair>
getSingleFileSummaryKeyValuePairs
(IEntityContext ec, IWorkflowProvider wfProvider, SingleFile singleFile) Creates a summary entries for a givenSingleFile
instance.static List<ISummaryKeyValuePair>
getSingleFileSummaryKeyValuePairs
(IEntityContext ec, IWorkflowProvider provider, SingleFile singleFile, String i18nSingleFileResourceKey) Creates summary entries for a specifiedSingleFile
instance.
-
Method Details
-
getMultiFileSummaryKeyValuePairs
public static List<ISummaryKeyValuePair> getMultiFileSummaryKeyValuePairs(IEntityContext ec, IWorkflowProvider provider, MultiFile multiFile) Creates summary entries for a specifiedMultiFile
instance.- Parameters:
ec
- aIEntityContext
objectprovider
- aIWorkflowProvider
objectmultiFile
- aMultiFile
object- Returns:
- a list of
ISummaryKeyValuePair
with detailed information about theMultiFile
object
-
getSingleFileSummaryKeyValuePairs
public static List<ISummaryKeyValuePair> getSingleFileSummaryKeyValuePairs(IEntityContext ec, IWorkflowProvider wfProvider, SingleFile singleFile) Creates a summary entries for a givenSingleFile
instance.- Parameters:
ec
- theIEntityContext
wfProvider
- theIWorkflowProvider
singleFile
- theSingleFile
- Returns:
- a list of
ISummaryKeyValuePair
with detailed information about theSingleFile
object
-
getSingleFileSummaryKeyValuePairs
public static List<ISummaryKeyValuePair> getSingleFileSummaryKeyValuePairs(IEntityContext ec, IWorkflowProvider provider, SingleFile singleFile, String i18nSingleFileResourceKey) Creates summary entries for a specifiedSingleFile
instance.- Parameters:
ec
- theIEntityContext
provider
- theIWorkflowProvider
singleFile
- theSingleFile
i18nSingleFileResourceKey
- the i18n key for the resource parameter name in the result- Returns:
- a list of
ISummaryKeyValuePair
with detailed information about theSingleFile
object
-