com.ibm.commerce.contract.objects

Class TradingAgreementAccessBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.contract.objects.TradingAgreementAccessBean
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    com.ibm.commerce.contract.beansrc.TradingAgreementDataBeanBase


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

    • Constructor Detail

      • TradingAgreementAccessBean

        public TradingAgreementAccessBean()
      • TradingAgreementAccessBean

        public TradingAgreementAccessBean(com.ibm.commerce.contract.objects.TradingAgreement entity)
      • TradingAgreementAccessBean

        public TradingAgreementAccessBean(java.lang.Integer tradingType,
                                          java.sql.Timestamp startTime,
                                          java.sql.Timestamp endTime)
      • TradingAgreementAccessBean

        public TradingAgreementAccessBean(java.lang.Integer tradingType)
    • Method Detail

      • setInitKey_tradingId

        public void setInitKey_tradingId(java.lang.String tradingId)
      • setInitKey_tradingId

        public void setInitKey_tradingId(java.lang.Long tradingId)
      • findDefaultAuctionTradingAgreement

        public java.util.Enumeration findDefaultAuctionTradingAgreement()
      • findAll

        public java.util.Enumeration findAll()
      • findAllByType

        public java.util.Enumeration findAllByType(java.lang.Integer argTradingTypeId)
      • findAllByReferenceId

        public java.util.Enumeration findAllByReferenceId(java.lang.Long argReferenceId)
      • findAllActive

        public java.util.Enumeration findAllActive()
      • findEntitledTradingAgreementForBuyerUnderStore

        public java.util.Enumeration findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId,
                                                                                    java.lang.Integer argStoreId)
      • findEntitledTradingAgreementByTypeForBuyerUnderStore

        public java.util.Enumeration findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId,
                                                                                          java.lang.Long argMemberId,
                                                                                          java.lang.Integer argStoreId)
      • findEntitledTradingAgreementByTypeForTSRUnderStore

        public java.util.Enumeration findEntitledTradingAgreementByTypeForTSRUnderStore(java.lang.Integer argTradingTypeId,
                                                                                        java.lang.Long argMemberId,
                                                                                        java.lang.String argMbrGrps,
                                                                                        java.lang.Integer argStoreId)
      • findAllEntitledTradingAgreementForBuyerUnderStore

        public java.util.Enumeration findAllEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId,
                                                                                       java.lang.String argMbrGrps,
                                                                                       java.lang.Integer argStoreId)
      • findAllEntitledTradingAgreementByTypeForBuyerUnderStore

        public java.util.Enumeration findAllEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId,
                                                                                             java.lang.Long argMemberId,
                                                                                             java.lang.String argMbrGrps,
                                                                                             java.lang.Integer argStoreId)
      • findEntitledTradingAgreementForBuyerUnderStore

        public java.util.Enumeration findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId,
                                                                                    java.lang.Integer argStoreId,
                                                                                    java.lang.Long argOrgentityId)
      • findEntitledTradingAgreementByTypeForBuyerUnderStore

        public java.util.Enumeration findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId,
                                                                                          java.lang.Long argMemberId,
                                                                                          java.lang.Integer argStoreId,
                                                                                          java.lang.Long argOrgentityId)
      • setAccountId

        public void setAccountId(java.lang.Long accountId)
      • getAccountIdInEntityType

        public java.lang.Long getAccountIdInEntityType()
      • setAccountId

        public void setAccountId(java.lang.String accountId)
      • getAccountId

        public java.lang.String getAccountId()
      • setTradingType

        public void setTradingType(java.lang.Integer tradingType)
      • getTradingTypeInEntityType

        public java.lang.Integer getTradingTypeInEntityType()
      • setTradingType

        public void setTradingType(java.lang.String tradingType)
      • getTradingType

        public java.lang.String getTradingType()
      • setReferenceCount

        public void setReferenceCount(java.lang.Integer referenceCount)
      • getReferenceCountInEntityType

        public java.lang.Integer getReferenceCountInEntityType()
      • setReferenceCount

        public void setReferenceCount(java.lang.String referenceCount)
      • getReferenceCount

        public java.lang.String getReferenceCount()
      • setTradingId

        public void setTradingId(java.lang.Long tradingId)
      • getTradingIdInEntityType

        public java.lang.Long getTradingIdInEntityType()
      • setTradingId

        public void setTradingId(java.lang.String tradingId)
      • getTradingId

        public java.lang.String getTradingId()
      • setStartTime

        public void setStartTime(java.sql.Timestamp startTime)
      • getStartTimeInEntityType

        public java.sql.Timestamp getStartTimeInEntityType()
      • setStartTime

        public void setStartTime(java.lang.String startTime)
      • getStartTime

        public java.lang.String getStartTime()
      • setMarkForDelete

        public void setMarkForDelete(java.lang.Integer markForDelete)
      • getMarkForDeleteInEntityType

        public java.lang.Integer getMarkForDeleteInEntityType()
      • setMarkForDelete

        public void setMarkForDelete(java.lang.String markForDelete)
      • getMarkForDelete

        public java.lang.String getMarkForDelete()
      • setState

        public void setState(java.lang.Integer state)
      • getStateInEntityType

        public java.lang.Integer getStateInEntityType()
      • setState

        public void setState(java.lang.String state)
      • getState

        public java.lang.String getState()
      • setEndTime

        public void setEndTime(java.sql.Timestamp endTime)
      • getEndTimeInEntityType

        public java.sql.Timestamp getEndTimeInEntityType()
      • setEndTime

        public void setEndTime(java.lang.String endTime)
      • getEndTime

        public java.lang.String getEndTime()
      • setCreditAllowedFlag

        public void setCreditAllowedFlag(java.lang.Integer creditAllowedFlag)
      • getCreditAllowedFlagInEntityType

        public java.lang.Integer getCreditAllowedFlagInEntityType()
      • setCreditAllowedFlag

        public void setCreditAllowedFlag(java.lang.String creditAllowedFlag)
      • getCreditAllowedFlag

        public java.lang.String getCreditAllowedFlag()
      • setReferenceId

        public void setReferenceId(java.lang.Long referenceId)
      • getReferenceIdInEntityType

        public java.lang.Long getReferenceIdInEntityType()
      • setReferenceId

        public void setReferenceId(java.lang.String referenceId)
      • getReferenceId

        public java.lang.String getReferenceId()
      • getDescriptionNoCache

        public TradingDescriptionAccessBean getDescriptionNoCache(java.lang.Integer anLanguageId,
                                                                  java.lang.Integer anStoreId)
      • getPoliciesByType

        public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType,
                                                            java.lang.Long argMemberId)
      • getTCsByTCSubType

        public TermConditionAccessBean[] getTCsByTCSubType(java.lang.String argTCSubType,
                                                           java.lang.Long argMemberId)
      • getTCsByTCType

        public TermConditionAccessBean[] getTCsByTCType(java.lang.String argTCType,
                                                        java.lang.Long argMemberId)
      • hasTCLevelParticipant

        public boolean hasTCLevelParticipant()
      • isValid

        public boolean isValid()
      • markForDelete

        public void markForDelete()
      • instantiateEntity

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

        public com.ibm.commerce.contract.objects.TradingAgreement getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean