com.ibm.commerce.contract.objects

Class BusinessPolicyAccessBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.contract.objects.BusinessPolicyAccessBean
  • All Implemented Interfaces:
    Protectable, java.io.Serializable
    Direct Known Subclasses:
    com.ibm.commerce.contract.beansrc.BusinessPolicyDataBeanBase


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

    • Constructor Detail

      • BusinessPolicyAccessBean

        public BusinessPolicyAccessBean()
      • BusinessPolicyAccessBean

        public BusinessPolicyAccessBean(com.ibm.commerce.contract.objects.BusinessPolicy entity)
      • BusinessPolicyAccessBean

        public BusinessPolicyAccessBean(java.lang.String policyName,
                                        java.lang.String type,
                                        java.lang.Integer storeEntityId)
    • Method Detail

      • setInitKey_policyId

        public void setInitKey_policyId(java.lang.String policyId)
      • setInitKey_policyId

        public void setInitKey_policyId(java.lang.Long policyId)
      • findByType

        public java.util.Enumeration findByType(java.lang.String argPolicyType)
      • findProductSetPolicyByPropertyPredicate

        public java.util.Enumeration findProductSetPolicyByPropertyPredicate(java.lang.String argNamePredicate,
                                                                             java.lang.String argMemberPredicate)
      • findProductSetPolicyByPropertyPredicateNoCache

        public java.util.Enumeration findProductSetPolicyByPropertyPredicateNoCache(java.lang.String argNamePredicate,
                                                                                    java.lang.String argMemberPredicate)
      • findByTypeAndTrading

        public java.util.Enumeration findByTypeAndTrading(java.lang.String argPolicyType,
                                                          java.lang.Long argTrading)
      • findByTypeAndTradingNoCache

        public java.util.Enumeration findByTypeAndTradingNoCache(java.lang.String argPolicyType,
                                                                 java.lang.Long argTrading)
      • findByTrading

        public java.util.Enumeration findByTrading(java.lang.Long argTrading)
      • findByTradingNoCache

        public java.util.Enumeration findByTradingNoCache(java.lang.Long argTrading)
      • findByTCAndType

        public java.util.Enumeration findByTCAndType(java.lang.Long argTcId,
                                                     java.lang.String argPolicyType)
      • findByTCAndTypeNoCache

        public java.util.Enumeration findByTCAndTypeNoCache(java.lang.Long argTcId,
                                                            java.lang.String argPolicyType)
      • findByTC

        public java.util.Enumeration findByTC(java.lang.Long argTcId)
      • findByTCNoCache

        public java.util.Enumeration findByTCNoCache(java.lang.Long argTcId)
      • findByTypeAndStore

        public java.util.Enumeration findByTypeAndStore(java.lang.String argPolicyType,
                                                        java.lang.Integer argStoreId)
      • findByTypeAndStoreNoCache

        public java.util.Enumeration findByTypeAndStoreNoCache(java.lang.String argPolicyType,
                                                               java.lang.Integer argStoreId)
      • findTopLevelProductSetPoliciesByMasterCatalogIdAndStoreId

        public java.util.Enumeration findTopLevelProductSetPoliciesByMasterCatalogIdAndStoreId(java.lang.Long anMasterCatalogId,
                                                                                               java.lang.Integer anStoreId)
      • findStandardPriceListPolicyByStore

        public java.util.Enumeration findStandardPriceListPolicyByStore(java.lang.Integer argStoreId)
      • findSubProductSetPoliciesByMasterCatalogIdAndStoreIdAndProductSetId

        public java.util.Enumeration findSubProductSetPoliciesByMasterCatalogIdAndStoreIdAndProductSetId(java.lang.Long anMasterCatalogId,
                                                                                                         java.lang.Integer anStoreId,
                                                                                                         java.lang.Integer anProductSetId)
      • findByNameTypeAndStore

        public java.util.Enumeration findByNameTypeAndStore(java.lang.String argPolicyName,
                                                            java.lang.String argPolicyType,
                                                            java.lang.Integer argStoreId)
      • findByNameTypeAndStoreNoCache

        public java.util.Enumeration findByNameTypeAndStoreNoCache(java.lang.String argPolicyName,
                                                                   java.lang.String argPolicyType,
                                                                   java.lang.Integer argStoreId)
      • findByNameTypeAndStoreEntityId

        public BusinessPolicyAccessBean findByNameTypeAndStoreEntityId(java.lang.String argPolicyName,
                                                                       java.lang.String argPolicyType,
                                                                       java.lang.Integer argStoreEntityId)
      • findByNameTypeAndStoreEntityIdNoCache

        public BusinessPolicyAccessBean findByNameTypeAndStoreEntityIdNoCache(java.lang.String argPolicyName,
                                                                              java.lang.String argPolicyType,
                                                                              java.lang.Integer argStoreEntityId)
      • findByStoreEntityId

        public java.util.Enumeration findByStoreEntityId(java.lang.Integer argStoreEntityId)
      • findByStoreEntityIdNoCache

        public java.util.Enumeration findByStoreEntityIdNoCache(java.lang.Integer argStoreEntityId)
      • findByTypeAndStoreEntityId

        public java.util.Enumeration findByTypeAndStoreEntityId(java.lang.String argPolicyType,
                                                                java.lang.Integer argStoreEntityId)
      • findByTypeAndStoreEntityIdNoCache

        public java.util.Enumeration findByTypeAndStoreEntityIdNoCache(java.lang.String argPolicyType,
                                                                       java.lang.Integer argStoreEntityId)
      • findCreditPaymentPolicyByStoreEntityId

        public BusinessPolicyAccessBean findCreditPaymentPolicyByStoreEntityId(java.lang.Integer argStoreEntityId)
      • findCreditReturnsPolicyByStoreEntityId

        public BusinessPolicyAccessBean findCreditReturnsPolicyByStoreEntityId(java.lang.Integer argStoreEntityId)
      • findCustomPriceListPolicyByStoreEntityId

        public BusinessPolicyAccessBean findCustomPriceListPolicyByStoreEntityId(java.lang.Integer argStoreEntityId)
      • findCustomPriceListPolicyByStoreEntityIdNoCache

        public BusinessPolicyAccessBean findCustomPriceListPolicyByStoreEntityIdNoCache(java.lang.Integer argStoreEntityId)
      • findStandardPriceListPolicyByStoreEntityId

        public java.util.Enumeration findStandardPriceListPolicyByStoreEntityId(java.lang.Integer argStoreEntityId)
      • setPolicyId

        public void setPolicyId(java.lang.Long policyId)
      • getPolicyIdInEntityType

        public java.lang.Long getPolicyIdInEntityType()
      • setPolicyId

        public void setPolicyId(java.lang.String policyId)
      • getPolicyId

        public java.lang.String getPolicyId()
      • setPolicyName

        public void setPolicyName(java.lang.String policyName)
      • getPolicyName

        public java.lang.String getPolicyName()
      • setEndDate

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

        public java.sql.Timestamp getEndDateInEntityType()
      • setEndDate

        public void setEndDate(java.lang.String endDate)
      • getEndDate

        public java.lang.String getEndDate()
      • setStoreEntityId

        public void setStoreEntityId(java.lang.Integer storeEntityId)
      • getStoreEntityIdInEntityType

        public java.lang.Integer getStoreEntityIdInEntityType()
      • setStoreEntityId

        public void setStoreEntityId(java.lang.String storeEntityId)
      • getStoreEntityId

        public java.lang.String getStoreEntityId()
      • setType

        public void setType(java.lang.String type)
      • getType

        public java.lang.String getType()
      • setStartDate

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

        public java.sql.Timestamp getStartDateInEntityType()
      • setStartDate

        public void setStartDate(java.lang.String startDate)
      • getStartDate

        public java.lang.String getStartDate()
      • setProperties

        public void setProperties(java.lang.String properties)
      • getProperties

        public java.lang.String getProperties()
      • getDescriptionNoCache

        public PolicyDescriptionAccessBean getDescriptionNoCache(java.lang.Integer anLanguageId,
                                                                 java.lang.Integer anStoreId)
      • fulfills

        public boolean fulfills(java.lang.Long member,
                                java.lang.String relationship)
                         throws java.lang.Exception
        Description copied from interface: Protectable
        Determines if a given member fulfills a given relationship with the resource.
        Specified by:
        fulfills in interface Protectable
        Parameters:
        member - The member ID of the member.
        relationship - The relationship the member has with respect to the resource.
        Returns:
        true if the member fulfills the relationship with the resource
        Throws:
        java.lang.Exception
      • getOwner

        public java.lang.Long getOwner()
                                throws java.lang.Exception
        Description copied from interface: Protectable
        Returns the member ID of the owner.
        Specified by:
        getOwner in interface Protectable
        Returns:
        The member ID of the owner
        Throws:
        java.lang.Exception
      • instantiateEntity

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

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