Class ResourceItemChoiceProvider
- java.lang.Object
 - 
- de.xima.fc.workflow.model.choices.ResourceItemChoiceProvider
 
 
- 
- All Implemented Interfaces:
 de.xima.cmn.validation.spec.IChoiceProviding<ResourceItem>
public class ResourceItemChoiceProvider extends Object implements de.xima.cmn.validation.spec.IChoiceProviding<ResourceItem>
A choice provider for the workflow that finds the available resource items from the currentbean validation contextobtained via CDI.To omit certain types of resources, include a string parameter named
omit*, e.g.@SingleChoice(value = AttachmentItemChoiceProvider.class, paramsString = "omitUpload") private AttachmentItem attachment;
Available parameter names are:- omitAttachmentSearch - omits attachment items of type 
ATTACHMENT_SEARCH - omitClientFile - omits attachment items of type 
CLIENT - omitExternal - omits attachment items of type 
EXTERNAL - omitFiredTrigger - omits attachment items of type 
FIRED_TRIGGER - omitFormFile - omits attachment items of type 
FORM - omitPreviousNode - omits attachment items of type 
FILE_PROVIDE_ACTION - omitUpload - omits attachment items of type 
UPLOAD 
ext:to filter by file extension, e.g.ext:pdf,png.- Since:
 - 8.2.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ResourceItemChoiceProvider() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>>getChoices(de.xima.cmn.validation.spec.IChoiceProvidingParams params) 
 - 
 
- 
- 
Method Detail
- 
getChoices
public List<? extends de.xima.cmn.validation.spec.IChoiceEntry<ResourceItem>> getChoices(de.xima.cmn.validation.spec.IChoiceProvidingParams params)
- Specified by:
 getChoicesin interfacede.xima.cmn.validation.spec.IChoiceProviding<ResourceItem>
 
 - 
 
 -