Class LotLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.inventory.server.logic.LotLogic
-
Method Summary
Modifier and TypeMethodDescriptioncreateLot
(ExecutionErrorAccumulator eea, String lotName, Party ownerParty, Item item, UnitOfMeasureType unitOfMeasureType, InventoryCondition inventoryCondition, Long quantity, Currency currency, Long unitCost, BasePK createdBy) void
deleteLot
(ExecutionErrorAccumulator eea, Lot lot, BasePK deletedBy) static LotLogic
getLotByName
(ExecutionErrorAccumulator eea, String lotName) getLotByName
(ExecutionErrorAccumulator eea, String lotName, EntityPermission entityPermission) getLotByNameForUpdate
(ExecutionErrorAccumulator eea, String lotName) getLotByUniversalSpec
(ExecutionErrorAccumulator eea, LotUniversalSpec universalSpec) getLotByUniversalSpec
(ExecutionErrorAccumulator eea, LotUniversalSpec universalSpec, EntityPermission entityPermission) getLotByUniversalSpecForUpdate
(ExecutionErrorAccumulator eea, LotUniversalSpec universalSpec) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Method Details
-
getInstance
-
createLot
public Lot createLot(ExecutionErrorAccumulator eea, String lotName, Party ownerParty, Item item, UnitOfMeasureType unitOfMeasureType, InventoryCondition inventoryCondition, Long quantity, Currency currency, Long unitCost, BasePK createdBy) -
getLotByName
public Lot getLotByName(ExecutionErrorAccumulator eea, String lotName, EntityPermission entityPermission) -
getLotByName
-
getLotByNameForUpdate
-
getLotByUniversalSpec
public Lot getLotByUniversalSpec(ExecutionErrorAccumulator eea, LotUniversalSpec universalSpec, EntityPermission entityPermission) -
getLotByUniversalSpec
-
getLotByUniversalSpecForUpdate
public Lot getLotByUniversalSpecForUpdate(ExecutionErrorAccumulator eea, LotUniversalSpec universalSpec) -
deleteLot
-