com.ibm.commerce.catalog.objects

Class ItemAccessBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.catalog.objects.ItemAccessBean
    • Field Detail

    • Constructor Detail

      • ItemAccessBean

        public ItemAccessBean()
      • ItemAccessBean

        public ItemAccessBean(com.ibm.commerce.catalog.objects.Item entity)
      • ItemAccessBean

        public ItemAccessBean(java.lang.String partNumber,
                              java.lang.Long memberId)
      • ItemAccessBean

        public ItemAccessBean(java.lang.Long catalogEntryReferenceNumber)
    • Method Detail

      • setInitKey_catalogEntryReferenceNumber

        public void setInitKey_catalogEntryReferenceNumber(java.lang.String catalogEntryReferenceNumber)
      • setInitKey_catalogEntryReferenceNumber

        public void setInitKey_catalogEntryReferenceNumber(java.lang.Long catalogEntryReferenceNumber)
      • findByItemSpcId

        public java.util.Enumeration findByItemSpcId(java.lang.Long itemspcId)
      • findByItemSpcIdNoCache

        public java.util.Enumeration findByItemSpcIdNoCache(java.lang.Long itemspcId)
      • findSkuByAttributes

        public ItemAccessBean findSkuByAttributes(java.lang.Long anProductNum,
                                                  java.util.Hashtable ahshResolveableAttributes)
      • findByProduct

        public java.util.Enumeration findByProduct(java.lang.Long catalogEntryReferenceNumber)
      • findByProductNoCache

        public java.util.Enumeration findByProductNoCache(java.lang.Long catalogEntryReferenceNumber)
      • findEntitledItemsByProduct

        public java.util.Enumeration findEntitledItemsByProduct(java.lang.Long anProductId,
                                                                java.lang.Long[] arnInclusionProductSets,
                                                                java.lang.Long[] arnExclusionProductSets)
      • findByItemSpcIdAndStore

        public java.util.Enumeration findByItemSpcIdAndStore(java.lang.Long anItemspcId,
                                                             java.lang.Integer anStoreId)
      • findByItemSpcIdAndStoreNoCache

        public java.util.Enumeration findByItemSpcIdAndStoreNoCache(java.lang.Long anItemspcId,
                                                                    java.lang.Integer anStoreId)
      • findEntitledItemsByProduct

        public java.util.Enumeration findEntitledItemsByProduct(java.lang.Long anProductId,
                                                                java.util.Vector[] arnInclusionProductSets,
                                                                java.util.Vector[] arnExclusionProductSets)
      • setBuyable

        public void setBuyable(java.lang.Integer buyable)
      • getBuyableInEntityType

        public java.lang.Integer getBuyableInEntityType()
      • setBuyable

        public void setBuyable(java.lang.String buyable)
      • getBuyable

        public java.lang.String getBuyable()
      • getCatalogEntryReferenceNumberInEntityType

        public java.lang.Long getCatalogEntryReferenceNumberInEntityType()
      • getCatalogEntryReferenceNumber

        public java.lang.String getCatalogEntryReferenceNumber()
      • setEndDate

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

        public java.sql.Timestamp getEndDate()
      • setManufacturerName

        public void setManufacturerName(java.lang.String manufacturerName)
      • getManufacturerName

        public java.lang.String getManufacturerName()
      • setAvailabilityDate

        public void setAvailabilityDate(java.sql.Timestamp availabilityDate)
      • getAvailabilityDate

        public java.sql.Timestamp getAvailabilityDate()
      • 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()
      • setOid

        public void setOid(java.lang.String oid)
      • getOid

        public java.lang.String getOid()
      • setLanguage_id

        public void setLanguage_id(java.lang.Integer language_id)
      • getLanguage_idInEntityType

        public java.lang.Integer getLanguage_idInEntityType()
      • setLanguage_id

        public void setLanguage_id(java.lang.String language_id)
      • getLanguage_id

        public java.lang.String getLanguage_id()
      • setLastOrderDate

        public void setLastOrderDate(java.sql.Timestamp lastOrderDate)
      • getLastOrderDate

        public java.sql.Timestamp getLastOrderDate()
      • getType

        public java.lang.String getType()
      • setEndOfServiceDate

        public void setEndOfServiceDate(java.sql.Timestamp endOfServiceDate)
      • getEndOfServiceDate

        public java.sql.Timestamp getEndOfServiceDate()
      • setBaseItemId

        public void setBaseItemId(java.lang.Long baseItemId)
      • getBaseItemIdInEntityType

        public java.lang.Long getBaseItemIdInEntityType()
      • setBaseItemId

        public void setBaseItemId(java.lang.String baseItemId)
      • getBaseItemId

        public java.lang.String getBaseItemId()
      • setDiscontinueDate

        public void setDiscontinueDate(java.sql.Timestamp discontinueDate)
      • getDiscontinueDate

        public java.sql.Timestamp getDiscontinueDate()
      • setOnAuction

        public void setOnAuction(java.lang.Integer onAuction)
      • getOnAuctionInEntityType

        public java.lang.Integer getOnAuctionInEntityType()
      • setOnAuction

        public void setOnAuction(java.lang.String onAuction)
      • getOnAuction

        public java.lang.String getOnAuction()
      • setState

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

        public java.lang.String getState()
      • setMemberId

        public void setMemberId(java.lang.Long memberId)
      • getMemberIdInEntityType

        public java.lang.Long getMemberIdInEntityType()
      • setMemberId

        public void setMemberId(java.lang.String memberId)
      • getMemberId

        public java.lang.String getMemberId()
      • setUrl

        public void setUrl(java.lang.String url)
      • getUrl

        public java.lang.String getUrl()
      • setManufacturerPartNumber

        public void setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
      • getManufacturerPartNumber

        public java.lang.String getManufacturerPartNumber()
      • setItemspc_id

        public void setItemspc_id(java.lang.Long itemspc_id)
      • getItemspc_idInEntityType

        public java.lang.Long getItemspc_idInEntityType()
      • setItemspc_id

        public void setItemspc_id(java.lang.String itemspc_id)
      • getItemspc_id

        public java.lang.String getItemspc_id()
      • setField1

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

        public java.lang.Integer getField1InEntityType()
      • setField1

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

        public java.lang.String getField1()
      • setOnSpecial

        public void setOnSpecial(java.lang.Integer onSpecial)
      • getOnSpecialInEntityType

        public java.lang.Integer getOnSpecialInEntityType()
      • setOnSpecial

        public void setOnSpecial(java.lang.String onSpecial)
      • getOnSpecial

        public java.lang.String getOnSpecial()
      • setLastUpdate

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

        public java.sql.Timestamp getLastUpdateInEntityType()
      • setLastUpdate

        public void setLastUpdate(java.lang.String lastUpdate)
      • getLastUpdate

        public java.lang.String getLastUpdate()
      • setPartNumber

        public void setPartNumber(java.lang.String partNumber)
      • getPartNumber

        public java.lang.String getPartNumber()
      • setField3

        public void setField3(java.math.BigDecimal field3)
      • getField3InEntityType

        public java.math.BigDecimal getField3InEntityType()
      • setField3

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

        public java.lang.String getField3()
      • setField2

        public void setField2(java.lang.Integer field2)
      • getField2InEntityType

        public java.lang.Integer getField2InEntityType()
      • setField2

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

        public java.lang.String getField2()
      • setField5

        public void setField5(java.lang.String field5)
      • getField5

        public java.lang.String getField5()
      • setStartDate

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

        public java.sql.Timestamp getStartDate()
      • setField4

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

        public java.lang.String getField4()
      • getCatalogEntriesAccessory

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessory(java.lang.Long[] inclusionPS,
                                                                          java.lang.Long[] exclusionPS)
      • getCatalogEntriesAccessory

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessory(java.util.Vector[] inclusionPS,
                                                                          java.util.Vector[] exclusionPS)
      • getCatalogEntriesCrossell

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossell(java.lang.Long[] inclusionPS,
                                                                         java.lang.Long[] exclusionPS)
      • getCatalogEntriesCrossell

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossell(java.util.Vector[] inclusionPS,
                                                                         java.util.Vector[] exclusionPS)
      • getCatalogEntriesUpSell

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSell(java.lang.Long[] inclusionPS,
                                                                       java.lang.Long[] exclusionPS)
      • getCatalogEntriesUpSell

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSell(java.util.Vector[] inclusionPS,
                                                                       java.util.Vector[] exclusionPS)
      • getParentCatalogEntryIds

        public java.lang.String[] getParentCatalogEntryIds()
      • getTemplateFileName

        public java.lang.String getTemplateFileName(java.lang.Long[] arg1,
                                                    java.lang.Integer arg2,
                                                    java.lang.String arg3)
      • getTemplateFileName

        public java.lang.String getTemplateFileName(java.lang.Long arg1,
                                                    UserAccessBean arg2,
                                                    java.lang.Integer arg3,
                                                    java.lang.String arg4)
      • getTemplateFileName

        public java.lang.String getTemplateFileName(java.lang.Long userNumber,
                                                    UserAccessBean user,
                                                    java.lang.Integer store_id,
                                                    java.lang.String devicetype_id,
                                                    java.lang.Integer languageId)
      • getTemplateFileName

        public java.lang.String getTemplateFileName(java.lang.Long arg1,
                                                    java.lang.Integer arg2,
                                                    java.lang.String arg3)
      • isCatalogEntryInStore

        public boolean isCatalogEntryInStore(java.lang.Integer anStoreId)
      • getCatalogEntriesAccessoryByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessoryByStore(java.lang.Long[] inclusionPS,
                                                                                 java.lang.Long[] exclusionPS,
                                                                                 java.lang.Integer anStoreId)
      • getCatalogEntriesAccessoryByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessoryByStore(java.util.Vector[] inclusionPS,
                                                                                 java.util.Vector[] exclusionPS,
                                                                                 java.lang.Integer anStoreId)
      • getCatalogEntriesAccessoryByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessoryByStore(java.lang.String aStrSemantic,
                                                                                 java.lang.Integer anStoreId)
      • getCatalogEntriesCrossellByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossellByStore(java.lang.Long[] inclusionPS,
                                                                                java.lang.Long[] exclusionPS,
                                                                                java.lang.Integer anStoreId)
      • getCatalogEntriesCrossellByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossellByStore(java.util.Vector[] inclusionPS,
                                                                                java.util.Vector[] exclusionPS,
                                                                                java.lang.Integer anStoreId)
      • getCatalogEntriesCrossellByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossellByStore(java.lang.String aStrSemantic,
                                                                                java.lang.Integer anStoreId)
      • getCatalogEntriesUpSellByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSellByStore(java.lang.Long[] inclusionPS,
                                                                              java.lang.Long[] exclusionPS,
                                                                              java.lang.Integer anStoreId)
      • getCatalogEntriesUpSellByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSellByStore(java.util.Vector[] inclusionPS,
                                                                              java.util.Vector[] exclusionPS,
                                                                              java.lang.Integer anStoreId)
      • getCatalogEntriesUpSellByStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSellByStore(java.lang.String aStrSemantic,
                                                                              java.lang.Integer anStoreId)
      • getCatalogEntriesByMAssocTypeAndStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType,
                                                                                     java.lang.Integer anStoreId)
      • getCatalogEntriesByMAssocTypeAndStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType,
                                                                                     java.lang.Long[] inclusionPS,
                                                                                     java.lang.Long[] exclusionPS,
                                                                                     java.lang.Integer anStoreId)
      • getCatalogEntriesByMAssocTypeAndStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType,
                                                                                     java.util.Vector[] inclusionPS,
                                                                                     java.util.Vector[] exclusionPS,
                                                                                     java.lang.Integer anStoreId)
      • getCatalogEntriesByMAssocTypeAndStore

        public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrSemantic,
                                                                                     java.lang.String astrMercAssocType,
                                                                                     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.catalog.objects.Item getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean