public class CallbackFormActionDefinition extends ConfiguredActionDefinition
Constructor and Description |
---|
CallbackFormActionDefinition() |
Modifier and Type | Method and Description |
---|---|
String |
getSuccessActionName() |
boolean |
isCallSuccess() |
void |
setCallSuccess(boolean callSuccess) |
void |
setSuccessActionName(String successActionName) |
getAvailability, getDescription, getErrorMessage, getFailureMessage, getI18nBasename, getIcon, getImplementationClass, getLabel, getName, getSuccessMessage, setAvailability, setDescription, setErrorMessage, setFailureMessage, setI18nBasename, setIcon, setImplementationClass, setLabel, setName, setSuccessMessage
public boolean isCallSuccess()
public void setCallSuccess(boolean callSuccess)
callSuccess
- true (default) call Callback.onSuccess(String action). false
call Callback.onCancel()public String getSuccessActionName()
public void setSuccessActionName(String successActionName)
successActionName
- will be passed as parameter to Callback.onSuccess(String
successActionName) in case of callSuccess = true.Copyright © 2015 Magnolia International Ltd.. All rights reserved.