Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Index
  • Help
  • Summary:

    • Nested
    • Field
    • Constr
    • Method
  • Detail:

    • Field
    • Constr
    • Method
  • Summary: 
  • Nested | 
  • Field | 
  • Constr | 
  • Method
  • Detail: 
  • Field | 
  • Constr | 
  • Method
SEARCH
Package com.echothree.model.control.offer.server.control

Class OfferControl

java.lang.Object
com.echothree.util.server.control.BaseModelControl
com.echothree.model.control.offer.server.control.BaseOfferControl
com.echothree.model.control.offer.server.control.OfferControl

@CommandScope public class OfferControl extends BaseOfferControl
  • Field Summary

    Fields inherited from class com.echothree.util.server.control.BaseModelControl

    entityInstanceControl, eventControl, partyControl, session, workflowControl
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    OfferControl()
    Creates a new instance of OfferControl
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    countOfferChainTypesByChainType(ChainType chainType)
     
    long
    countOfferChainTypesByOffer(Offer offer)
     
    long
    countOfferCustomerTypesByCustomerType(CustomerType customerType)
     
    long
    countOfferCustomerTypesByOffer(Offer offer)
     
    long
    countOffers()
     
    long
    countOffersByDepartmentParty(Party departmentParty)
     
    long
    countOffersByFilter(Filter filter)
     
    long
    countOffersBySalesOrderSequence(Sequence sequence)
     
    long
    countOffersBySelector(Selector selector)
     
    Offer
    createOffer(String offerName, Sequence salesOrderSequence, Party departmentParty, Selector offerItemSelector, Filter offerItemPriceFilter, Boolean isDefault, Integer sortOrder, BasePK createdBy)
    Use the function in OfferLogic instead.
    OfferChainType
    createOfferChainType(Offer offer, ChainType chainType, Chain chain, BasePK createdBy)
     
    OfferCustomerType
    createOfferCustomerType(Offer offer, CustomerType customerType, Boolean isDefault, Integer sortOrder, BasePK createdBy)
     
    OfferDescription
    createOfferDescription(Offer offer, Language language, String description, BasePK createdBy)
     
    OfferTime
    createOfferTime(Offer offer)
     
    void
    deleteOffer(Offer offer, BasePK deletedBy)
    Use the function in OfferLogic instead.
    void
    deleteOfferChainType(OfferChainType offerChainType, BasePK deletedBy)
     
    void
    deleteOfferChainTypes(List<OfferChainType> offerChainTypes, BasePK deletedBy)
     
    void
    deleteOfferChainTypesByChain(Chain chain, BasePK deletedBy)
     
    void
    deleteOfferChainTypesByChainType(ChainType chainType, BasePK deletedBy)
     
    void
    deleteOfferChainTypesByOffer(Offer offer, BasePK deletedBy)
     
    void
    deleteOfferCustomerType(OfferCustomerType offerCustomerType, BasePK deletedBy)
     
    void
    deleteOfferCustomerTypes(List<OfferCustomerType> offerCustomerTypes, BasePK deletedBy)
     
    void
    deleteOfferCustomerTypesByCustomerType(CustomerType customerType, BasePK deletedBy)
     
    void
    deleteOfferCustomerTypesByOffer(Offer offer, BasePK deletedBy)
     
    void
    deleteOfferDescription(OfferDescription offerDescription, BasePK deletedBy)
     
    void
    deleteOfferDescriptionsByOffer(Offer offer, BasePK deletedBy)
     
    String
    getBestOfferDescription(Offer offer, Language language)
     
    Offer
    getDefaultOffer()
     
    Offer
    getDefaultOffer(EntityPermission entityPermission)
     
    OfferCustomerType
    getDefaultOfferCustomerType(Offer offer)
     
    OfferCustomerType
    getDefaultOfferCustomerTypeForUpdate(Offer offer)
     
    OfferCustomerTypeValue
    getDefaultOfferCustomerTypeValueForUpdate(Offer offer)
     
    OfferDetailValue
    getDefaultOfferDetailValueForUpdate()
     
    Offer
    getDefaultOfferForUpdate()
     
    List<Selector>
    getDistinctOfferItemSelectors()
    Gets a List that contains all the Selectors used by Offers.
    Offer
    getOfferByEntityInstance(EntityInstance entityInstance)
     
    Offer
    getOfferByEntityInstance(EntityInstance entityInstance, EntityPermission entityPermission)
    Assume that the entityInstance passed to this function is a ECHO_THREE.Offer
    Offer
    getOfferByEntityInstanceForUpdate(EntityInstance entityInstance)
     
    Offer
    getOfferByName(String offerName)
     
    Offer
    getOfferByName(String offerName, EntityPermission entityPermission)
     
    Offer
    getOfferByNameForUpdate(String offerName)
     
    OfferChainType
    getOfferChainType(Offer offer, ChainType chainType)
     
    OfferChainType
    getOfferChainTypeForUpdate(Offer offer, ChainType chainType)
     
    List<OfferChainType>
    getOfferChainTypesByChain(Chain chain)
     
    List<OfferChainType>
    getOfferChainTypesByChainForUpdate(Chain chain)
     
    List<OfferChainType>
    getOfferChainTypesByChainType(ChainType chainType)
     
    List<OfferChainType>
    getOfferChainTypesByChainTypeForUpdate(ChainType chainType)
     
    List<OfferChainType>
    getOfferChainTypesByOffer(Offer offer)
     
    List<OfferChainType>
    getOfferChainTypesByOfferForUpdate(Offer offer)
     
    OfferChainTypeTransfer
    getOfferChainTypeTransfer(UserVisit userVisit, OfferChainType offerChainType)
     
    List<OfferChainTypeTransfer>
    getOfferChainTypeTransfers(UserVisit userVisit, Collection<OfferChainType> offerChainTypes)
     
    List<OfferChainTypeTransfer>
    getOfferChainTypeTransfersByChainType(UserVisit userVisit, ChainType chainType)
     
    List<OfferChainTypeTransfer>
    getOfferChainTypeTransfersByOffer(UserVisit userVisit, Offer offer)
     
    OfferChainTypeValue
    getOfferChainTypeValue(OfferChainType offerChainType)
     
    OfferChainTypeValue
    getOfferChainTypeValueForUpdate(Offer offer, ChainType chainType)
     
    OfferChoicesBean
    getOfferChoices(String defaultOfferChoice, Language language, boolean allowNullChoice)
     
    OfferCustomerType
    getOfferCustomerType(Offer offer, CustomerType customerType)
     
    OfferCustomerType
    getOfferCustomerTypeForUpdate(Offer offer, CustomerType customerType)
     
    List<OfferCustomerType>
    getOfferCustomerTypesByCustomerType(CustomerType customerType)
     
    List<OfferCustomerType>
    getOfferCustomerTypesByCustomerTypeForUpdate(CustomerType customerType)
     
    List<OfferCustomerType>
    getOfferCustomerTypesByOffer(Offer offer)
     
    List<OfferCustomerType>
    getOfferCustomerTypesByOfferForUpdate(Offer offer)
     
    OfferCustomerTypeTransfer
    getOfferCustomerTypeTransfer(UserVisit userVisit, OfferCustomerType offerCustomerType)
     
    List<OfferCustomerTypeTransfer>
    getOfferCustomerTypeTransfers(UserVisit userVisit, Collection<OfferCustomerType> offerCustomerTypes)
     
    List<OfferCustomerTypeTransfer>
    getOfferCustomerTypeTransfersByCustomerType(UserVisit userVisit, CustomerType customerType)
     
    List<OfferCustomerTypeTransfer>
    getOfferCustomerTypeTransfersByOffer(UserVisit userVisit, Offer offer)
     
    OfferCustomerTypeValue
    getOfferCustomerTypeValueForUpdate(Offer offer, CustomerType customerType)
     
    OfferDescription
    getOfferDescription(Offer offer, Language language)
     
    OfferDescription
    getOfferDescriptionForUpdate(Offer offer, Language language)
     
    List<OfferDescription>
    getOfferDescriptionsByOffer(Offer offer)
     
    List<OfferDescription>
    getOfferDescriptionsByOfferForUpdate(Offer offer)
     
    OfferDescriptionTransfer
    getOfferDescriptionTransfer(UserVisit userVisit, OfferDescription offerDescription)
     
    List<OfferDescriptionTransfer>
    getOfferDescriptionTransfers(UserVisit userVisit, Offer offer)
     
    OfferDescriptionValue
    getOfferDescriptionValue(OfferDescription offerDescription)
     
    OfferDescriptionValue
    getOfferDescriptionValueForUpdate(Offer offer, Language language)
     
    OfferDetailValue
    getOfferDetailValueByNameForUpdate(String offerName)
     
    OfferDetailValue
    getOfferDetailValueForUpdate(Offer offer)
     
    List<OfferResultTransfer>
    getOfferResultTransfers(UserVisit userVisit, UserVisitSearch userVisitSearch)
     
    List<Offer>
    getOffers()
     
    List<Offer>
    getOffersByDepartmentParty(Party departmentParty)
     
    List<Offer>
    getOffersByOfferItemSelector(Selector offerItemSelector)
     
    List<Offer>
    getOffersForUpdate()
     
    OfferTime
    getOfferTime(Offer offer)
     
    OfferTime
    getOfferTimeForUpdate(Offer offer)
     
    OfferTransfer
    getOfferTransfer(UserVisit userVisit, Offer offer)
     
    List<OfferTransfer>
    getOfferTransfers(UserVisit userVisit)
     
    List<OfferTransfer>
    getOfferTransfers(UserVisit userVisit, Collection<Offer> offers)
     
    void
    removeOfferTimeByOffer(Offer offer)
     
    void
    updateOfferChainTypeFromValue(OfferChainTypeValue offerChainTypeValue, BasePK updatedBy)
     
    void
    updateOfferCustomerTypeFromValue(OfferCustomerTypeValue offerCustomerTypeValue, BasePK updatedBy)
     
    void
    updateOfferDescriptionFromValue(OfferDescriptionValue offerDescriptionValue, BasePK updatedBy)
     
    void
    updateOfferFromValue(OfferDetailValue offerDetailValue, BasePK updatedBy)
    Use the function in OfferLogic instead.

    Methods inherited from class com.echothree.util.server.control.BaseModelControl

    getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getLog, init, sendEvent, sendEvent, sendEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OfferControl

      protected OfferControl()
      Creates a new instance of OfferControl
  • Method Details

    • createOffer

      public Offer createOffer(String offerName, Sequence salesOrderSequence, Party departmentParty, Selector offerItemSelector, Filter offerItemPriceFilter, Boolean isDefault, Integer sortOrder, BasePK createdBy)
      Use the function in OfferLogic instead.
    • countOffers

      public long countOffers()
    • countOffersBySalesOrderSequence

      public long countOffersBySalesOrderSequence(Sequence sequence)
    • countOffersByDepartmentParty

      public long countOffersByDepartmentParty(Party departmentParty)
    • countOffersBySelector

      public long countOffersBySelector(Selector selector)
    • countOffersByFilter

      public long countOffersByFilter(Filter filter)
    • getOfferByEntityInstance

      public Offer getOfferByEntityInstance(EntityInstance entityInstance, EntityPermission entityPermission)
      Assume that the entityInstance passed to this function is a ECHO_THREE.Offer
    • getOfferByEntityInstance

      public Offer getOfferByEntityInstance(EntityInstance entityInstance)
    • getOfferByEntityInstanceForUpdate

      public Offer getOfferByEntityInstanceForUpdate(EntityInstance entityInstance)
    • getDefaultOffer

      public Offer getDefaultOffer(EntityPermission entityPermission)
    • getDefaultOffer

      public Offer getDefaultOffer()
    • getDefaultOfferForUpdate

      public Offer getDefaultOfferForUpdate()
    • getDefaultOfferDetailValueForUpdate

      public OfferDetailValue getDefaultOfferDetailValueForUpdate()
    • getOfferByName

      public Offer getOfferByName(String offerName, EntityPermission entityPermission)
    • getOfferByName

      public Offer getOfferByName(String offerName)
    • getOfferByNameForUpdate

      public Offer getOfferByNameForUpdate(String offerName)
    • getOfferDetailValueForUpdate

      public OfferDetailValue getOfferDetailValueForUpdate(Offer offer)
    • getOfferDetailValueByNameForUpdate

      public OfferDetailValue getOfferDetailValueByNameForUpdate(String offerName)
    • getOffersByDepartmentParty

      public List<Offer> getOffersByDepartmentParty(Party departmentParty)
    • getOffersByOfferItemSelector

      public List<Offer> getOffersByOfferItemSelector(Selector offerItemSelector)
    • getOffers

      public List<Offer> getOffers()
    • getOffersForUpdate

      public List<Offer> getOffersForUpdate()
    • getDistinctOfferItemSelectors

      public List<Selector> getDistinctOfferItemSelectors()
      Gets a List that contains all the Selectors used by Offers.
    • getOfferTransfer

      public OfferTransfer getOfferTransfer(UserVisit userVisit, Offer offer)
    • getOfferTransfers

      public List<OfferTransfer> getOfferTransfers(UserVisit userVisit, Collection<Offer> offers)
    • getOfferTransfers

      public List<OfferTransfer> getOfferTransfers(UserVisit userVisit)
    • getOfferChoices

      public OfferChoicesBean getOfferChoices(String defaultOfferChoice, Language language, boolean allowNullChoice)
    • updateOfferFromValue

      public void updateOfferFromValue(OfferDetailValue offerDetailValue, BasePK updatedBy)
      Use the function in OfferLogic instead.
    • deleteOffer

      public void deleteOffer(Offer offer, BasePK deletedBy)
      Use the function in OfferLogic instead.
    • createOfferDescription

      public OfferDescription createOfferDescription(Offer offer, Language language, String description, BasePK createdBy)
    • getOfferDescription

      public OfferDescription getOfferDescription(Offer offer, Language language)
    • getOfferDescriptionForUpdate

      public OfferDescription getOfferDescriptionForUpdate(Offer offer, Language language)
    • getOfferDescriptionValue

      public OfferDescriptionValue getOfferDescriptionValue(OfferDescription offerDescription)
    • getOfferDescriptionValueForUpdate

      public OfferDescriptionValue getOfferDescriptionValueForUpdate(Offer offer, Language language)
    • getOfferDescriptionsByOffer

      public List<OfferDescription> getOfferDescriptionsByOffer(Offer offer)
    • getOfferDescriptionsByOfferForUpdate

      public List<OfferDescription> getOfferDescriptionsByOfferForUpdate(Offer offer)
    • getBestOfferDescription

      public String getBestOfferDescription(Offer offer, Language language)
    • getOfferDescriptionTransfer

      public OfferDescriptionTransfer getOfferDescriptionTransfer(UserVisit userVisit, OfferDescription offerDescription)
    • getOfferDescriptionTransfers

      public List<OfferDescriptionTransfer> getOfferDescriptionTransfers(UserVisit userVisit, Offer offer)
    • updateOfferDescriptionFromValue

      public void updateOfferDescriptionFromValue(OfferDescriptionValue offerDescriptionValue, BasePK updatedBy)
    • deleteOfferDescription

      public void deleteOfferDescription(OfferDescription offerDescription, BasePK deletedBy)
    • deleteOfferDescriptionsByOffer

      public void deleteOfferDescriptionsByOffer(Offer offer, BasePK deletedBy)
    • createOfferTime

      public OfferTime createOfferTime(Offer offer)
    • getOfferTime

      public OfferTime getOfferTime(Offer offer)
    • getOfferTimeForUpdate

      public OfferTime getOfferTimeForUpdate(Offer offer)
    • removeOfferTimeByOffer

      public void removeOfferTimeByOffer(Offer offer)
    • createOfferCustomerType

      public OfferCustomerType createOfferCustomerType(Offer offer, CustomerType customerType, Boolean isDefault, Integer sortOrder, BasePK createdBy)
    • countOfferCustomerTypesByOffer

      public long countOfferCustomerTypesByOffer(Offer offer)
    • countOfferCustomerTypesByCustomerType

      public long countOfferCustomerTypesByCustomerType(CustomerType customerType)
    • getOfferCustomerType

      public OfferCustomerType getOfferCustomerType(Offer offer, CustomerType customerType)
    • getOfferCustomerTypeForUpdate

      public OfferCustomerType getOfferCustomerTypeForUpdate(Offer offer, CustomerType customerType)
    • getOfferCustomerTypeValueForUpdate

      public OfferCustomerTypeValue getOfferCustomerTypeValueForUpdate(Offer offer, CustomerType customerType)
    • getDefaultOfferCustomerType

      public OfferCustomerType getDefaultOfferCustomerType(Offer offer)
    • getDefaultOfferCustomerTypeForUpdate

      public OfferCustomerType getDefaultOfferCustomerTypeForUpdate(Offer offer)
    • getDefaultOfferCustomerTypeValueForUpdate

      public OfferCustomerTypeValue getDefaultOfferCustomerTypeValueForUpdate(Offer offer)
    • getOfferCustomerTypesByOffer

      public List<OfferCustomerType> getOfferCustomerTypesByOffer(Offer offer)
    • getOfferCustomerTypesByOfferForUpdate

      public List<OfferCustomerType> getOfferCustomerTypesByOfferForUpdate(Offer offer)
    • getOfferCustomerTypesByCustomerType

      public List<OfferCustomerType> getOfferCustomerTypesByCustomerType(CustomerType customerType)
    • getOfferCustomerTypesByCustomerTypeForUpdate

      public List<OfferCustomerType> getOfferCustomerTypesByCustomerTypeForUpdate(CustomerType customerType)
    • getOfferCustomerTypeTransfers

      public List<OfferCustomerTypeTransfer> getOfferCustomerTypeTransfers(UserVisit userVisit, Collection<OfferCustomerType> offerCustomerTypes)
    • getOfferCustomerTypeTransfersByOffer

      public List<OfferCustomerTypeTransfer> getOfferCustomerTypeTransfersByOffer(UserVisit userVisit, Offer offer)
    • getOfferCustomerTypeTransfersByCustomerType

      public List<OfferCustomerTypeTransfer> getOfferCustomerTypeTransfersByCustomerType(UserVisit userVisit, CustomerType customerType)
    • getOfferCustomerTypeTransfer

      public OfferCustomerTypeTransfer getOfferCustomerTypeTransfer(UserVisit userVisit, OfferCustomerType offerCustomerType)
    • updateOfferCustomerTypeFromValue

      public void updateOfferCustomerTypeFromValue(OfferCustomerTypeValue offerCustomerTypeValue, BasePK updatedBy)
    • deleteOfferCustomerType

      public void deleteOfferCustomerType(OfferCustomerType offerCustomerType, BasePK deletedBy)
    • deleteOfferCustomerTypes

      public void deleteOfferCustomerTypes(List<OfferCustomerType> offerCustomerTypes, BasePK deletedBy)
    • deleteOfferCustomerTypesByOffer

      public void deleteOfferCustomerTypesByOffer(Offer offer, BasePK deletedBy)
    • deleteOfferCustomerTypesByCustomerType

      public void deleteOfferCustomerTypesByCustomerType(CustomerType customerType, BasePK deletedBy)
    • createOfferChainType

      public OfferChainType createOfferChainType(Offer offer, ChainType chainType, Chain chain, BasePK createdBy)
    • countOfferChainTypesByOffer

      public long countOfferChainTypesByOffer(Offer offer)
    • countOfferChainTypesByChainType

      public long countOfferChainTypesByChainType(ChainType chainType)
    • getOfferChainType

      public OfferChainType getOfferChainType(Offer offer, ChainType chainType)
    • getOfferChainTypeForUpdate

      public OfferChainType getOfferChainTypeForUpdate(Offer offer, ChainType chainType)
    • getOfferChainTypeValue

      public OfferChainTypeValue getOfferChainTypeValue(OfferChainType offerChainType)
    • getOfferChainTypeValueForUpdate

      public OfferChainTypeValue getOfferChainTypeValueForUpdate(Offer offer, ChainType chainType)
    • getOfferChainTypesByOffer

      public List<OfferChainType> getOfferChainTypesByOffer(Offer offer)
    • getOfferChainTypesByOfferForUpdate

      public List<OfferChainType> getOfferChainTypesByOfferForUpdate(Offer offer)
    • getOfferChainTypesByChainType

      public List<OfferChainType> getOfferChainTypesByChainType(ChainType chainType)
    • getOfferChainTypesByChainTypeForUpdate

      public List<OfferChainType> getOfferChainTypesByChainTypeForUpdate(ChainType chainType)
    • getOfferChainTypesByChain

      public List<OfferChainType> getOfferChainTypesByChain(Chain chain)
    • getOfferChainTypesByChainForUpdate

      public List<OfferChainType> getOfferChainTypesByChainForUpdate(Chain chain)
    • getOfferChainTypeTransfer

      public OfferChainTypeTransfer getOfferChainTypeTransfer(UserVisit userVisit, OfferChainType offerChainType)
    • getOfferChainTypeTransfers

      public List<OfferChainTypeTransfer> getOfferChainTypeTransfers(UserVisit userVisit, Collection<OfferChainType> offerChainTypes)
    • getOfferChainTypeTransfersByOffer

      public List<OfferChainTypeTransfer> getOfferChainTypeTransfersByOffer(UserVisit userVisit, Offer offer)
    • getOfferChainTypeTransfersByChainType

      public List<OfferChainTypeTransfer> getOfferChainTypeTransfersByChainType(UserVisit userVisit, ChainType chainType)
    • updateOfferChainTypeFromValue

      public void updateOfferChainTypeFromValue(OfferChainTypeValue offerChainTypeValue, BasePK updatedBy)
    • deleteOfferChainType

      public void deleteOfferChainType(OfferChainType offerChainType, BasePK deletedBy)
    • deleteOfferChainTypes

      public void deleteOfferChainTypes(List<OfferChainType> offerChainTypes, BasePK deletedBy)
    • deleteOfferChainTypesByOffer

      public void deleteOfferChainTypesByOffer(Offer offer, BasePK deletedBy)
    • deleteOfferChainTypesByChainType

      public void deleteOfferChainTypesByChainType(ChainType chainType, BasePK deletedBy)
    • deleteOfferChainTypesByChain

      public void deleteOfferChainTypesByChain(Chain chain, BasePK deletedBy)
    • getOfferResultTransfers

      public List<OfferResultTransfer> getOfferResultTransfers(UserVisit userVisit, UserVisitSearch userVisitSearch)

Copyright 2002-2026 Echo Three, LLC