public class CloneAction extends AbstractComponentWidgetAdapterAware implements CockpitAction<Object,Object>
| Modifier and Type | Field and Description |
|---|---|
static String |
SOCKET_OUTPUT_CLONED_OBJECT |
| Constructor and Description |
|---|
CloneAction() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canCreateInstance(DataType type) |
boolean |
canPerform(ActionContext<Object> ctx)
Returns true if the action can be performed for the given context, false otherwise.
|
ObjectFacade |
getObjectFacade() |
PermissionFacade |
getPermissionFacade() |
TypeFacade |
getTypeFacade() |
protected boolean |
isDifferentThanOneObject(ActionContext<Object> ctx) |
protected boolean |
isTypeInstanceCreationAllowed(String typeCode) |
ActionResult<Object> |
perform(ActionContext<Object> ctx)
Performs the action.
|
protected Object |
resolveObjectToClone(ActionContext<Object> ctx) |
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfirmationMessage, needsConfirmationpublic static final String SOCKET_OUTPUT_CLONED_OBJECT
public ActionResult<Object> perform(ActionContext<Object> ctx)
CockpitActionperform in interface CockpitAction<Object,Object>ctx - context containing the data and other informationprotected Object resolveObjectToClone(ActionContext<Object> ctx)
public boolean canPerform(ActionContext<Object> ctx)
CockpitActioncanPerform in interface CockpitAction<Object,Object>ctx - context containing the data and other informationprotected boolean isDifferentThanOneObject(ActionContext<Object> ctx)
protected boolean isTypeInstanceCreationAllowed(String typeCode)
protected boolean canCreateInstance(DataType type)
public ObjectFacade getObjectFacade()
public PermissionFacade getPermissionFacade()
public TypeFacade getTypeFacade()
Copyright © 2018. All rights reserved.