Class ProductionRunHelper
java.lang.Object
org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRunHelper
Helper for Production Run maintenance
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
getLinkedProductionRuns
(Delegator delegator, LocalDispatcher dispatcher, String productionRunId, List<ProductionRun> productionRuns) getProductionRun
(Delegator delegator, String productionRunId) Get a Production Run.static String
getRootProductionRun
(Delegator delegator, String productionRunId) static boolean
-
Method Details
-
getProductionRun
Get a Production Run. Check if routing - product link exists.- Parameters:
delegator
- the delegatorproductionRunId
- the production run id- Returns:
- Map with the result of the service, the output parameters are
-
hasTask
public static boolean hasTask(Delegator delegator, String taskName, String workEffortId) throws GenericEntityException - Throws:
GenericEntityException
-
getLinkedProductionRuns
public static void getLinkedProductionRuns(Delegator delegator, LocalDispatcher dispatcher, String productionRunId, List<ProductionRun> productionRuns) throws GenericEntityException - Throws:
GenericEntityException
-
getRootProductionRun
public static String getRootProductionRun(Delegator delegator, String productionRunId) throws GenericEntityException - Throws:
GenericEntityException
-