com.ibm.commerce.experimentation.objects

Class ExperimentAccessBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.experimentation.objects.ExperimentAccessBean
  • All Implemented Interfaces:
    java.io.Serializable


    public class ExperimentAccessBean
    extends com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • ExperimentAccessBean

        public ExperimentAccessBean()
      • ExperimentAccessBean

        public ExperimentAccessBean(com.ibm.commerce.experimentation.objects.Experiment entity)
      • ExperimentAccessBean

        public ExperimentAccessBean(java.lang.String name,
                                    java.sql.Timestamp lastUpdate,
                                    java.lang.String lastUpdatedBy,
                                    java.lang.Integer storeId,
                                    java.lang.Integer expTypeId,
                                    java.lang.Short priority,
                                    java.sql.Timestamp startDate,
                                    java.lang.String resultScope,
                                    java.lang.String status)
      • ExperimentAccessBean

        public ExperimentAccessBean(java.lang.Integer experimentId)
    • Method Detail

      • setInitKey_experimentId

        public void setInitKey_experimentId(java.lang.Integer experimentId)
      • findAllCurrent

        public java.util.Collection findAllCurrent()
      • findAllCurrentByStoreId

        public java.util.Collection findAllCurrentByStoreId(java.lang.Integer storeId)
      • findAllCurrentByStoreIdSortedByEndDate

        public java.util.Collection findAllCurrentByStoreIdSortedByEndDate(java.lang.Integer storeId)
      • findAllCurrentByStoreIdSortedByStartDate

        public java.util.Collection findAllCurrentByStoreIdSortedByStartDate(java.lang.Integer storeId)
      • findByStoreAndName

        public ExperimentAccessBean findByStoreAndName(java.lang.Integer storeId,
                                                       java.lang.String name)
      • setLastUpdatedBy

        public void setLastUpdatedBy(java.lang.String lastUpdatedBy)
      • getLastUpdatedBy

        public java.lang.String getLastUpdatedBy()
      • setEndDate

        public void setEndDate(java.sql.Timestamp endDate)
      • getEndDate

        public java.sql.Timestamp getEndDate()
      • setExpireCount

        public void setExpireCount(java.lang.Integer expireCount)
      • getExpireCount

        public java.lang.Integer getExpireCount()
      • setDescription

        public void setDescription(java.lang.String description)
      • getDescription

        public java.lang.String getDescription()
      • setExpTypeId

        public void setExpTypeId(java.lang.Integer expTypeId)
      • getExpTypeId

        public java.lang.Integer getExpTypeId()
      • setStoreId

        public void setStoreId(java.lang.Integer storeId)
      • getStoreId

        public java.lang.Integer getStoreId()
      • setPriority

        public void setPriority(java.lang.Short priority)
      • getPriority

        public java.lang.Short getPriority()
      • setField1

        public void setField1(java.lang.Integer field1)
      • getField1

        public java.lang.Integer getField1()
      • setPreferredElement

        public void setPreferredElement(java.lang.Short preferredElement)
      • getPreferredElement

        public java.lang.Short getPreferredElement()
      • setRuleXml

        public void setRuleXml(java.lang.String ruleXml)
      • getRuleXml

        public java.lang.String getRuleXml()
      • setLastUpdate

        public void setLastUpdate(java.sql.Timestamp lastUpdate)
      • getLastUpdate

        public java.sql.Timestamp getLastUpdate()
      • setName

        public void setName(java.lang.String name)
      • getName

        public java.lang.String getName()
      • setExperimentId

        public void setExperimentId(java.lang.Integer experimentId)
      • getExperimentId

        public java.lang.Integer getExperimentId()
      • setResultScope

        public void setResultScope(java.lang.String resultScope)
      • getResultScope

        public java.lang.String getResultScope()
      • setField3

        public void setField3(java.lang.Double field3)
      • getField3

        public java.lang.Double getField3()
      • setField2

        public void setField2(java.lang.Long field2)
      • getField2

        public java.lang.Long getField2()
      • setStartDate

        public void setStartDate(java.sql.Timestamp startDate)
      • getStartDate

        public java.sql.Timestamp getStartDate()
      • setStatus

        public void setStatus(java.lang.String status)
      • getStatus

        public java.lang.String getStatus()
      • setField4

        public void setField4(java.lang.String field4)
      • getField4

        public java.lang.String getField4()
      • fulfills

        public boolean fulfills(java.lang.Long member,
                                java.lang.String relationship)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getOwner

        public java.lang.Long getOwner()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • instantiateEntity

        public void instantiateEntity()
        Specified by:
        instantiateEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • getEntity

        public com.ibm.commerce.experimentation.objects.Experiment getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean