Class PriceAPIAction<ATTACHEDTO extends Help>
- Object
-
- Action
-
- PriceAPIAction<ATTACHEDTO>
-
- All Implemented Interfaces:
Help
public class PriceAPIAction<ATTACHEDTO extends Help> extends Action
This action starts selected Price API job. 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 PriceAPIAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String jobName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ATTACHEDTO
back()
Boolean
getExecute()
String
getJobName()
String
getObjectName()
PriceAPIAction<ATTACHEDTO>
setExecute(Boolean execute)
Whether the action is valid and should be executed or not.String
toString()
-
-
-
Constructor Detail
-
PriceAPIAction
public PriceAPIAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String jobName)
-
-
Method Detail
-
setExecute
public PriceAPIAction<ATTACHEDTO> setExecute(Boolean execute)
Whether the action is valid and should be executed or not.- Parameters:
execute
-- true - calculation of the Price API job is started as background process
- false - calculation of the Price API job is NOT started at all
-
back
public ATTACHEDTO back()
-
getObjectName
public String getObjectName()
-
getJobName
public String getJobName()
-
getExecute
public Boolean getExecute()
-
-