Class RebateRecordAction<ATTACHEDTO extends Help>
- Object
-
- Action
-
- RebateRecordAction<ATTACHEDTO>
-
- All Implemented Interfaces:
Help
public class RebateRecordAction<ATTACHEDTO extends Help> extends Action
This action starts calculation of selected rebate record set records. It's a programmatic version of the same action available in UI. As such it allows user to schedule the action in calculation flow formula.
-
-
Constructor Summary
Constructors Constructor Description RebateRecordAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String rrscLabel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ATTACHEDTO
back()
Boolean
getCalculate()
String
getObjectName()
String
getRebateRecordSetCalculationLabel()
RebateRecordAction<ATTACHEDTO>
setCalculate(Boolean calculate)
Whether the action is valid and should be triggered or not.String
toString()
-
-
-
Constructor Detail
-
RebateRecordAction
public RebateRecordAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String rrscLabel)
-
-
Method Detail
-
setCalculate
public RebateRecordAction<ATTACHEDTO> setCalculate(Boolean calculate)
Whether the action is valid and should be triggered or not.- Parameters:
calculate
-- true - calculation of the RRS is started as background process
- false - calculation of the RRS is NOT started at all
-
back
public ATTACHEDTO back()
-
getObjectName
public String getObjectName()
-
getRebateRecordSetCalculationLabel
public String getRebateRecordSetCalculationLabel()
-
getCalculate
public Boolean getCalculate()
-
-