public class DeleteJobOrCommentFromCommentLayerAction extends DeleteCommentAction
ListViewAction.ContextTRASH_ICON_UNAVAILABLE_URI, TRASH_ICON_URIAREA, BROWSER_AREA, EDITOR_AREA, PARENT, UPDATELISTENERalwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
DeleteJobOrCommentFromCommentLayerAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteComment(ListViewAction.Context context) |
EventListener |
getEventListener(ListViewAction.Context context)
Gets the
EventListener which is to be registered for the Events#ON_CLICK event. |
String |
getImageURI(ListViewAction.Context context)
Gets the image URI which represents the action button.
|
void |
setCommentLayerService(CommentLayerService commentLayerService) |
void |
setDeleteCommentFromCommentLayerAction(DeleteCommentFromCommentLayerAction deleteCommentFromCommentLayerAction) |
void |
setPrintCollaborationFacade(PrintCollaborationFacade printCollaborationFacade) |
protected boolean |
validateCommentDeletion(ListViewAction.Context context) |
protected boolean |
validateReplyDeletion(ListViewAction.Context context) |
doCreateContext, getContextPopup, getPopup, getTooltip, sendUpdateEventgetCockpitCommentService, getCommentService, getCommentType, getComponent, getDomain, setCommentType, setComponent, setDomaincreateContext, createContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledpublic DeleteJobOrCommentFromCommentLayerAction()
public EventListener getEventListener(ListViewAction.Context context)
ListViewActionEventListener which is to be registered for the Events#ON_CLICK event.getEventListener in interface ListViewActiongetEventListener in class DeleteCommentActionprotected boolean validateCommentDeletion(ListViewAction.Context context) throws InterruptedException
InterruptedExceptionprotected boolean validateReplyDeletion(ListViewAction.Context context) throws InterruptedException
InterruptedExceptionprotected void deleteComment(ListViewAction.Context context)
public String getImageURI(ListViewAction.Context context)
ListViewActiongetImageURI in interface ListViewActiongetImageURI in class DeleteCommentActionpublic void setCommentLayerService(CommentLayerService commentLayerService)
public void setPrintCollaborationFacade(PrintCollaborationFacade printCollaborationFacade)
public void setDeleteCommentFromCommentLayerAction(DeleteCommentFromCommentLayerAction deleteCommentFromCommentLayerAction)
Copyright © 2017 SAP SE. All Rights Reserved.