Class SalesOrderBatchLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.sales.server.logic.SalesOrderBatchLogic
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseLogic
coreControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbatchEntryExists(ExecutionErrorAccumulator eea, Order order, Batch batch, String... workflowStepNames) booleanbooleancheckBatchInWorkflowSteps(ExecutionErrorAccumulator eea, Batch batch, String... workflowStepNames) createBatch(ExecutionErrorAccumulator eea, Currency currency, PaymentMethod paymentMethod, Long count, Long amount, BasePK createdBy) createBatchEntity(ExecutionErrorAccumulator eea, Order order, Batch batch, BasePK createdBy) voiddeleteBatch(ExecutionErrorAccumulator eea, Batch batch, BasePK deletedBy) getBatchByName(ExecutionErrorAccumulator eea, String batchName) getBatchByNameForUpdate(ExecutionErrorAccumulator eea, String batchName) getBatchOrders(Batch batch) static SalesOrderBatchLogicgetSalesOrderBatchStatusChoices(String defaultSalesOrderBatchStatusChoice, Language language, boolean allowNullChoice, Batch batch, PartyPK partyPK) voidsetSalesOrderBatchStatus(Session session, ExecutionErrorAccumulator eea, Batch batch, String salesOrderBatchStatusChoice, PartyPK modifiedBy) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Constructor Details
-
SalesOrderBatchLogic
protected SalesOrderBatchLogic()
-
-
Method Details
-
getInstance
-
createBatch
public Batch createBatch(ExecutionErrorAccumulator eea, Currency currency, PaymentMethod paymentMethod, Long count, Long amount, BasePK createdBy) -
checkBatchInWorkflowSteps
public boolean checkBatchInWorkflowSteps(ExecutionErrorAccumulator eea, Batch batch, String... workflowStepNames) -
checkBatchAvailableForEntry
-
createBatchEntity
public BatchEntity createBatchEntity(ExecutionErrorAccumulator eea, Order order, Batch batch, BasePK createdBy) -
batchEntryExists
public boolean batchEntryExists(ExecutionErrorAccumulator eea, Order order, Batch batch, String... workflowStepNames) -
deleteBatch
-
getBatchByName
-
getBatchByNameForUpdate
-
getSalesOrderBatchStatusChoices
public SalesOrderBatchStatusChoicesBean getSalesOrderBatchStatusChoices(String defaultSalesOrderBatchStatusChoice, Language language, boolean allowNullChoice, Batch batch, PartyPK partyPK) -
setSalesOrderBatchStatus
public void setSalesOrderBatchStatus(Session session, ExecutionErrorAccumulator eea, Batch batch, String salesOrderBatchStatusChoice, PartyPK modifiedBy) -
getBatchOrders
-
getBatchOrderTotalsWithAdjustments
-