public class ToggleItemLockAction
extends AbstractComponentWidgetAdapterAware
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
GLOBAL_EVENT_ITEM_LOCKED_STATE_CHANGED |
protected static java.lang.String |
LOCK_CONFIRMATION_MESSAGE |
protected static java.lang.String |
LOCK_CONFIRMATION_MESSAGE_MULTI |
protected static java.lang.String |
UNLOCK_CONFIRMATION_MESSAGE |
protected static java.lang.String |
UNLOCK_CONFIRMATION_MESSAGE_MULTI |
| Constructor and Description |
|---|
ToggleItemLockAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bulkChangeLock(java.util.Collection<?> collection) |
boolean |
canPerform(<any> ctx) |
protected void |
changeLock(ItemModel data,
boolean lock) |
java.lang.String |
getConfirmationMessage(<any> ctx) |
protected CockpitGlobalEventPublisher |
getEventPublisher() |
protected ItemLockingService |
getItemLockingService() |
protected NotificationService |
getNotificationService() |
boolean |
needsConfirmation(<any> ctx) |
<any> |
perform(<any> ctx) |
protected void |
publishGlobalNotificationOnLockingStateChange(java.util.Collection<?> data) |
void |
setEventPublisher(CockpitGlobalEventPublisher eventPublisher) |
void |
setItemLockingService(ItemLockingService itemLockingService) |
void |
setNotificationService(NotificationService notificationService) |
protected void |
showNotifications(<any> ctx,
java.util.Collection<?> dataList) |
protected void |
showNotifications(<any> ctx,
ItemModel data) |
protected static final java.lang.String GLOBAL_EVENT_ITEM_LOCKED_STATE_CHANGED
protected static final java.lang.String LOCK_CONFIRMATION_MESSAGE
protected static final java.lang.String UNLOCK_CONFIRMATION_MESSAGE
protected static final java.lang.String LOCK_CONFIRMATION_MESSAGE_MULTI
protected static final java.lang.String UNLOCK_CONFIRMATION_MESSAGE_MULTI
public <any> perform(<any> ctx)
protected void bulkChangeLock(java.util.Collection<?> collection)
protected void changeLock(ItemModel data, boolean lock)
protected void showNotifications(<any> ctx,
ItemModel data)
protected void showNotifications(<any> ctx,
java.util.Collection<?> dataList)
public boolean canPerform(<any> ctx)
public boolean needsConfirmation(<any> ctx)
public java.lang.String getConfirmationMessage(<any> ctx)
protected void publishGlobalNotificationOnLockingStateChange(java.util.Collection<?> data)
protected ItemLockingService getItemLockingService()
public void setItemLockingService(ItemLockingService itemLockingService)
protected CockpitGlobalEventPublisher getEventPublisher()
public void setEventPublisher(CockpitGlobalEventPublisher eventPublisher)
protected NotificationService getNotificationService()
public void setNotificationService(NotificationService notificationService)
Copyright © 2018 SAP SE. All Rights Reserved.