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) getBatchByName(ExecutionErrorAccumulator eea, String batchName, EntityPermission entityPermission) getBatchByNameForUpdate(ExecutionErrorAccumulator eea, String batchName) getBatchByUniversalSpec(ExecutionErrorAccumulator eea, SalesOrderBatchUniversalSpec universalSpec) getBatchByUniversalSpec(ExecutionErrorAccumulator eea, SalesOrderBatchUniversalSpec universalSpec, EntityPermission entityPermission) getBatchByUniversalSpecForUpdate(ExecutionErrorAccumulator eea, SalesOrderBatchUniversalSpec universalSpec) 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
public Batch getBatchByName(ExecutionErrorAccumulator eea, String batchName, EntityPermission entityPermission) -
getBatchByName
-
getBatchByNameForUpdate
-
getBatchByUniversalSpec
public Batch getBatchByUniversalSpec(ExecutionErrorAccumulator eea, SalesOrderBatchUniversalSpec universalSpec, EntityPermission entityPermission) -
getBatchByUniversalSpec
public Batch getBatchByUniversalSpec(ExecutionErrorAccumulator eea, SalesOrderBatchUniversalSpec universalSpec) -
getBatchByUniversalSpecForUpdate
public Batch getBatchByUniversalSpecForUpdate(ExecutionErrorAccumulator eea, SalesOrderBatchUniversalSpec universalSpec) -
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
-