public interface WorkflowAttachmentService
| Modifier and Type | Method and Description |
|---|---|
List<WorkflowItemAttachmentModel> |
addItems(WorkflowModel workflow,
List<? extends ItemModel> itemsToAdd)
Adds items to workflow as an attachment
|
ItemModel |
containsItem(WorkflowModel workflow,
List<? extends ItemModel> itemsToCheck)
Checks if workflow contains item as an attachment and returns this item or null if not found
|
List<ItemModel> |
getAttachmentsForAction(WorkflowActionModel action)
Returns attachments assigned to action or empty list
|
List<ItemModel> |
getAttachmentsForAction(WorkflowActionModel action,
List<String> attachmentClassNames)
Returns attachments assigned to action that match all class names passed as a paremeter
|
List<ItemModel> |
getAttachmentsForAction(WorkflowActionModel action,
String attachmentClassName)
Returns attachments assigned to action that match class name or empty list
|
List<WorkflowItemAttachmentModel> addItems(WorkflowModel workflow, List<? extends ItemModel> itemsToAdd)
workflow - to which items should be addeditemsToAdd - items to addItemModel containsItem(WorkflowModel workflow, List<? extends ItemModel> itemsToCheck)
workflow - to checkitemsToCheck - items to checkList<ItemModel> getAttachmentsForAction(WorkflowActionModel action)
action - List<ItemModel> getAttachmentsForAction(WorkflowActionModel action, String attachmentClassName)
action - attachmentClassName - class name to be matchedList<ItemModel> getAttachmentsForAction(WorkflowActionModel action, List<String> attachmentClassNames)
action - attachmentClassNames - class names collection to be matchedCopyright © 2017 SAP SE. All Rights Reserved.