public class AddWorkflowAttachmentAction
extends AbstractComponentWidgetAdapterAware
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
APPEND_NOTIFICATION_KEY |
protected static java.lang.String |
NOTIFICATION_KEY_MULTIPLE_SUFFIX |
protected static java.lang.String |
NOTIFICATION_KEY_SINGLE_SUFFIX |
protected static java.lang.String |
NOTIFICATION_KEY_SUCCESS_SUFFIX |
protected static java.lang.String |
NOTIFICATION_KEY_WARNING_SUFFIX |
static java.lang.String |
PARAM_ATTACHMENT_TYPE |
protected static java.lang.String |
SOCKET_IN_CHOSEN_ATTACHMENTS |
protected static java.lang.String |
SOCKET_OUT_REFERENCE_SEARCH_CTX |
protected static java.lang.String |
SOCKET_OUT_UPDATED_WORKFLOW |
| Constructor and Description |
|---|
AddWorkflowAttachmentAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPerform(<any> ctx) |
protected <any> |
createSearchContext(WorkflowModel workflow,
java.lang.String attachmentType) |
protected CockpitEventQueue |
getCockpitEventQueue() |
protected java.util.List<ItemModel> |
getItemsFromAttachments(WorkflowModel workflow) |
protected java.lang.String |
getLevelSourceSuffix(NotificationEvent.Level level) |
protected java.util.List<ItemModel> |
getNotAttachedItems(WorkflowModel workflow,
java.util.List<ItemModel> toBeAttached) |
protected NotificationService |
getNotificationService() |
WorkflowFacade |
getWorkflowFacade() |
protected void |
notifyAttachmentsOperation(java.util.Collection<ItemModel> duplicates,
NotificationEvent.Level level) |
protected void |
notifyMultiple(java.util.Collection<ItemModel> existed,
NotificationEvent.Level level) |
protected void |
notifySingle(ItemModel existed,
NotificationEvent.Level level) |
void |
onChosenAttachments(WorkflowModel workflow,
java.util.List<ItemModel> attachments) |
<any> |
perform(<any> actionContext) |
void |
setCockpitEventQueue(CockpitEventQueue cockpitEventQueue) |
void |
setNotificationService(NotificationService notificationService) |
void |
setWorkflowFacade(WorkflowFacade workflowFacade) |
protected static final java.lang.String APPEND_NOTIFICATION_KEY
protected static final java.lang.String NOTIFICATION_KEY_WARNING_SUFFIX
protected static final java.lang.String NOTIFICATION_KEY_SINGLE_SUFFIX
protected static final java.lang.String NOTIFICATION_KEY_SUCCESS_SUFFIX
protected static final java.lang.String NOTIFICATION_KEY_MULTIPLE_SUFFIX
protected static final java.lang.String SOCKET_OUT_REFERENCE_SEARCH_CTX
protected static final java.lang.String SOCKET_OUT_UPDATED_WORKFLOW
protected static final java.lang.String SOCKET_IN_CHOSEN_ATTACHMENTS
public static final java.lang.String PARAM_ATTACHMENT_TYPE
public <any> perform(<any> actionContext)
protected <any> createSearchContext(WorkflowModel workflow, java.lang.String attachmentType)
public void onChosenAttachments(WorkflowModel workflow, java.util.List<ItemModel> attachments)
protected java.util.List<ItemModel> getNotAttachedItems(WorkflowModel workflow, java.util.List<ItemModel> toBeAttached)
protected void notifyAttachmentsOperation(java.util.Collection<ItemModel> duplicates, NotificationEvent.Level level)
protected java.util.List<ItemModel> getItemsFromAttachments(WorkflowModel workflow)
protected void notifySingle(ItemModel existed, NotificationEvent.Level level)
protected void notifyMultiple(java.util.Collection<ItemModel> existed, NotificationEvent.Level level)
protected java.lang.String getLevelSourceSuffix(NotificationEvent.Level level)
public boolean canPerform(<any> ctx)
public WorkflowFacade getWorkflowFacade()
public void setWorkflowFacade(WorkflowFacade workflowFacade)
protected CockpitEventQueue getCockpitEventQueue()
public void setCockpitEventQueue(CockpitEventQueue cockpitEventQueue)
protected NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
Copyright © 2018 SAP SE. All Rights Reserved.