Package io.tesler.core.service.action
Class ResponseServiceAction<T extends DataResponseDTO>
- java.lang.Object
-
- io.tesler.core.service.action.ResponseServiceAction<T>
-
- Direct Known Subclasses:
WorkflowVersionMigrateTaskAction
public abstract class ResponseServiceAction<T extends DataResponseDTO> extends Object
-
-
Constructor Summary
Constructors Constructor Description ResponseServiceAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<String>
dataValidator(BusinessComponent bc, DataResponseDTO data, T entityDto)
abstract String
getButtonName()
Map<String,String>
getCustomParameters()
ActionIconSpecifier
getIcon()
ActionScope
getScope()
abstract ActionResultDTO<T>
invoke(BusinessComponent bc, T data)
boolean
isAutoSaveBefore()
abstract boolean
isAvailable(BusinessComponent bc)
boolean
isIconWithText()
List<PreActionEvent>
preActionEventSpecifier(BusinessComponent bc)
PreAction
preActionSpecifier(BusinessComponent bc)
-
-
-
Method Detail
-
getButtonName
public abstract String getButtonName()
-
isAvailable
public abstract boolean isAvailable(BusinessComponent bc)
-
invoke
public abstract ActionResultDTO<T> invoke(BusinessComponent bc, T data)
-
preActionSpecifier
public PreAction preActionSpecifier(BusinessComponent bc)
-
preActionEventSpecifier
public List<PreActionEvent> preActionEventSpecifier(BusinessComponent bc)
-
dataValidator
public List<String> dataValidator(BusinessComponent bc, DataResponseDTO data, T entityDto)
-
getIcon
public ActionIconSpecifier getIcon()
-
getScope
public ActionScope getScope()
-
isAutoSaveBefore
public boolean isAutoSaveBefore()
-
isIconWithText
public boolean isIconWithText()
-
-