Class AttachmentItemChoiceProvider
- java.lang.Object
 - 
- de.xima.fc.workflow.model.choices.AttachmentItemChoiceProvider
 
 
- 
- All Implemented Interfaces:
 de.xima.cmn.validation.spec.IChoiceProviding<AttachmentItem>
public class AttachmentItemChoiceProvider extends Object implements de.xima.cmn.validation.spec.IChoiceProviding<AttachmentItem>
A choice provider for the workflow that finds the available attachment items from the currentbean validation contextobtained via CDI.To omit certain types of attachments, include a string parameter named
omit*, e.g.@SingleChoice(value = AttachmentItemChoiceProvider.class, paramsString = "omitUpload") private AttachmentItem attachment;
Available parameter names are:- omitPreviousNode - omits attachment items of type 
PREVIOUS_NODE - omitSearch - omits attachment items of type 
SEARCH - omitUpload - omits attachment items of type 
UPLOAD 
- Since:
 - 8.1.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AttachmentItemChoiceProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends de.xima.cmn.validation.spec.IChoiceEntry<AttachmentItem>>getChoices(de.xima.cmn.validation.spec.IChoiceProvidingParams params) 
 - 
 
- 
- 
Method Detail
- 
getChoices
public List<? extends de.xima.cmn.validation.spec.IChoiceEntry<AttachmentItem>> getChoices(de.xima.cmn.validation.spec.IChoiceProvidingParams params)
- Specified by:
 getChoicesin interfacede.xima.cmn.validation.spec.IChoiceProviding<AttachmentItem>
 
 - 
 
 -