Class ItemLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.item.server.logic.ItemLogic
-
Method Summary
Modifier and TypeMethodDescriptioncreateItem
(ExecutionErrorAccumulator eea, String itemName, ItemType itemType, ItemUseType itemUseType, ItemCategory itemCategory, ItemAccountingCategory itemAccountingCategory, ItemPurchasingCategory itemPurchasingCategory, Party companyParty, ItemDeliveryType itemDeliveryType, ItemInventoryType itemInventoryType, Boolean inventorySerialized, Sequence serialNumberSequence, Boolean shippingChargeExempt, Long shippingStartTime, Long shippingEndTime, Long salesOrderStartTime, Long salesOrderEndTime, Long purchaseOrderStartTime, Long purchaseOrderEndTime, Boolean allowClubDiscounts, Boolean allowCouponDiscounts, Boolean allowAssociatePayments, UnitOfMeasureKind unitOfMeasureKind, ItemPriceType itemPriceType, CancellationPolicy cancellationPolicy, ReturnPolicy returnPolicy, StylePath stylePath, BasePK createdBy) static ItemLogic
getItemByName
(ExecutionErrorAccumulator eea, String itemName) getItemByNameThenAlias
(ExecutionErrorAccumulator eea, String itemNameOrAlias) getItemTypeByName
(ExecutionErrorAccumulator eea, String itemTypeName) getItemUseTypeByName
(ExecutionErrorAccumulator eea, String itemUseTypeName) void
setItemStatus
(Session session, ExecutionErrorAccumulator eea, Item item, String itemStatusChoice, PartyPK modifiedBy) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Method Details
-
getInstance
-
getItemTypeByName
-
getItemUseTypeByName
-
getItemByName
-
getItemByNameThenAlias
-
createItem
public Item createItem(ExecutionErrorAccumulator eea, String itemName, ItemType itemType, ItemUseType itemUseType, ItemCategory itemCategory, ItemAccountingCategory itemAccountingCategory, ItemPurchasingCategory itemPurchasingCategory, Party companyParty, ItemDeliveryType itemDeliveryType, ItemInventoryType itemInventoryType, Boolean inventorySerialized, Sequence serialNumberSequence, Boolean shippingChargeExempt, Long shippingStartTime, Long shippingEndTime, Long salesOrderStartTime, Long salesOrderEndTime, Long purchaseOrderStartTime, Long purchaseOrderEndTime, Boolean allowClubDiscounts, Boolean allowCouponDiscounts, Boolean allowAssociatePayments, UnitOfMeasureKind unitOfMeasureKind, ItemPriceType itemPriceType, CancellationPolicy cancellationPolicy, ReturnPolicy returnPolicy, StylePath stylePath, BasePK createdBy) -
setItemStatus
public void setItemStatus(Session session, ExecutionErrorAccumulator eea, Item item, String itemStatusChoice, PartyPK modifiedBy)
-