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