Package org.openbravo.costing
Class CostingBackground
- java.lang.Object
-
- org.openbravo.service.db.DalBaseProcess
-
- org.openbravo.costing.CostingBackground
-
- All Implemented Interfaces:
KillableProcess
,Process
public class CostingBackground extends DalBaseProcess implements KillableProcess
- Author:
- gorkaion
-
-
Field Summary
Fields Modifier and Type Field Description static String
AD_PROCESS_ID
static String
TRANSACTION_COST_DATEACCT_INITIALIZED
-
Fields inherited from interface org.openbravo.scheduling.Process
COMPLETE, ERROR, EXECUTION_ID, KILLED, MISFIRED, PREVENT_CONCURRENT_EXECUTIONS, PROCESS_ID, PROCESS_NAME, PROCESSING, SCHEDULED, SUCCESS, SYSTEM_RESTART, UNSCHEDULED
-
-
Constructor Summary
Constructors Constructor Description CostingBackground()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(ProcessBundle bundle)
void
kill(ProcessBundle processBundle)
Method to implement on background processes to execute the kill action-
Methods inherited from class org.openbravo.service.db.DalBaseProcess
execute, isDoCommit, setDoCommit
-
-
-
-
Field Detail
-
AD_PROCESS_ID
public static final String AD_PROCESS_ID
- See Also:
- Constant Field Values
-
TRANSACTION_COST_DATEACCT_INITIALIZED
public static final String TRANSACTION_COST_DATEACCT_INITIALIZED
- See Also:
- Constant Field Values
-
-
Method Detail
-
doExecute
protected void doExecute(ProcessBundle bundle) throws Exception
- Specified by:
doExecute
in classDalBaseProcess
- Throws:
Exception
-
kill
public void kill(ProcessBundle processBundle) throws Exception
Description copied from interface:KillableProcess
Method to implement on background processes to execute the kill action- Specified by:
kill
in interfaceKillableProcess
- Parameters:
processBundle
- bundle of the current execution, can be used to add log- Throws:
Exception
-
-