Class ProductConfigWrapper

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProductConfigWrapper
    extends java.lang.Object
    implements java.io.Serializable
    Product Config Wrapper: gets product config to display
    See Also:
    Serialized Form
    • Field Detail

      • module

        public static final java.lang.String module
      • dispatcherName

        protected java.lang.String dispatcherName
      • productStoreId

        protected java.lang.String productStoreId
      • catalogId

        protected java.lang.String catalogId
      • webSiteId

        protected java.lang.String webSiteId
      • currencyUomId

        protected java.lang.String currencyUomId
      • delegator

        protected transient Delegator delegator
      • delegatorName

        protected java.lang.String delegatorName
      • listPrice

        protected java.math.BigDecimal listPrice
      • basePrice

        protected java.math.BigDecimal basePrice
      • defaultPrice

        protected java.math.BigDecimal defaultPrice
      • configId

        protected java.lang.String configId
    • Constructor Detail

      • ProductConfigWrapper

        public ProductConfigWrapper()
        Creates a new instance of ProductConfigWrapper
      • ProductConfigWrapper

        public ProductConfigWrapper​(Delegator delegator,
                                    LocalDispatcher dispatcher,
                                    java.lang.String productId,
                                    java.lang.String productStoreId,
                                    java.lang.String catalogId,
                                    java.lang.String webSiteId,
                                    java.lang.String currencyUomId,
                                    java.util.Locale locale,
                                    GenericValue autoUserLogin)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • loadConfig

        public void loadConfig​(Delegator delegator,
                               java.lang.String configId)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setSelected

        public void setSelected​(java.lang.String configItemId,
                                java.lang.Long sequenceNum,
                                java.lang.String configOptionId,
                                java.lang.String comments)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • resetConfig

        public void resetConfig()
      • setDefaultConfig

        public void setDefaultConfig()
      • getConfigId

        public java.lang.String getConfigId()
      • getDelegator

        public Delegator getDelegator()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setSelected

        public void setSelected​(int question,
                                int option,
                                java.lang.String comments)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setSelected

        public void setSelected​(int question,
                                int option,
                                int component,
                                java.lang.String componentOption)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTotalListPrice

        public java.math.BigDecimal getTotalListPrice()
      • getTotalPrice

        public java.math.BigDecimal getTotalPrice()
      • getDefaultPrice

        public java.math.BigDecimal getDefaultPrice()
      • isCompleted

        public boolean isCompleted()