public class ItemAccessBean extends com.ibm.commerce.persistence.AbstractJpaEntityAccessBean implements Protectable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Constructor and Description |
---|
ItemAccessBean() |
ItemAccessBean(EntityBeanCreationData catalogEntryEntityCreationData) |
ItemAccessBean(com.ibm.commerce.catalog.objects.Item entity) |
ItemAccessBean(java.lang.Long catalogEntryReferenceNumber) |
ItemAccessBean(java.lang.String partNumber,
java.lang.Long memberId) |
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
findByItemSpcId(java.lang.Long itemspcId) |
java.util.Enumeration |
findByItemSpcIdAndStore(java.lang.Long anItemspcId,
java.lang.Integer anStoreId) |
java.util.Enumeration |
findByItemSpcIdAndStoreNoCache(java.lang.Long anItemspcId,
java.lang.Integer anStoreId) |
java.util.Enumeration |
findByItemSpcIdNoCache(java.lang.Long itemspcId) |
java.util.Enumeration |
findByProduct(java.lang.Long catalogEntryReferenceNumber) |
java.util.Enumeration |
findByProductNoCache(java.lang.Long catalogEntryReferenceNumber) |
java.util.Enumeration |
findEntitledItemsByProduct(java.lang.Long anProductId,
java.lang.Long[] arnInclusionProductSets,
java.lang.Long[] arnExclusionProductSets) |
java.util.Enumeration |
findEntitledItemsByProduct(java.lang.Long anProductId,
java.util.Vector[] arnInclusionProductSets,
java.util.Vector[] arnExclusionProductSets) |
ItemAccessBean |
findSkuByAttributes(java.lang.Long anProductNum,
java.util.Hashtable ahshResolveableAttributes) |
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource.
|
AttributeValueAccessBean[] |
getAttributeValues(java.lang.Integer argLanguageId) |
java.sql.Timestamp |
getAvailabilityDate() |
BaseItemAccessBean |
getBaseItem() |
java.lang.String |
getBaseItemId() |
java.lang.Long |
getBaseItemIdInEntityType() |
java.lang.String |
getBuyable() |
java.lang.Integer |
getBuyableInEntityType() |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessory() |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessory(java.lang.Long[] inclusionPS,
java.lang.Long[] exclusionPS) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessory(java.lang.String arg1) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessory(java.util.Vector[] inclusionPS,
java.util.Vector[] exclusionPS) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessoryByStore(java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessoryByStore(java.lang.Long[] inclusionPS,
java.lang.Long[] exclusionPS,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessoryByStore(java.lang.String aStrSemantic,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesAccessoryByStore(java.util.Vector[] inclusionPS,
java.util.Vector[] exclusionPS,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType,
java.lang.Long[] inclusionPS,
java.lang.Long[] exclusionPS,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrSemantic,
java.lang.String astrMercAssocType,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType,
java.util.Vector[] inclusionPS,
java.util.Vector[] exclusionPS,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossell() |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossell(java.lang.Long[] inclusionPS,
java.lang.Long[] exclusionPS) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossell(java.lang.String arg1) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossell(java.util.Vector[] inclusionPS,
java.util.Vector[] exclusionPS) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossellByStore(java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossellByStore(java.lang.Long[] inclusionPS,
java.lang.Long[] exclusionPS,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossellByStore(java.lang.String aStrSemantic,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesCrossellByStore(java.util.Vector[] inclusionPS,
java.util.Vector[] exclusionPS,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSell() |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSell(java.lang.Long[] inclusionPS,
java.lang.Long[] exclusionPS) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSell(java.lang.String arg1) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSell(java.util.Vector[] inclusionPS,
java.util.Vector[] exclusionPS) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSellByStore(java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSellByStore(java.lang.Long[] inclusionPS,
java.lang.Long[] exclusionPS,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSellByStore(java.lang.String aStrSemantic,
java.lang.Integer anStoreId) |
RelatedCatalogEntryAccessBean[] |
getCatalogEntriesUpSellByStore(java.util.Vector[] inclusionPS,
java.util.Vector[] exclusionPS,
java.lang.Integer anStoreId) |
java.lang.String |
getCatalogEntryReferenceNumber() |
java.lang.Long |
getCatalogEntryReferenceNumberInEntityType() |
CatalogEntryDescriptionAccessBean |
getDescription() |
CatalogEntryDescriptionAccessBean |
getDescription(java.lang.Integer arg1) |
CatalogEntryDescriptionAccessBean |
getDescription(java.lang.Integer anLanguageId,
java.lang.Integer anStoreId) |
CatalogEntryDescriptionAccessBean |
getDescriptionNoCache(java.lang.Integer anLanguageId,
java.lang.Integer anStoreId) |
java.sql.Timestamp |
getDiscontinueDate() |
java.sql.Timestamp |
getEndDate() |
java.sql.Timestamp |
getEndOfServiceDate() |
com.ibm.commerce.catalog.objects.Item |
getEntity() |
java.lang.String |
getField1() |
java.lang.Integer |
getField1InEntityType() |
java.lang.String |
getField2() |
java.lang.Integer |
getField2InEntityType() |
java.lang.String |
getField3() |
java.math.BigDecimal |
getField3InEntityType() |
java.lang.String |
getField4() |
java.lang.String |
getField5() |
java.lang.String |
getItemspc_id() |
java.lang.Long |
getItemspc_idInEntityType() |
java.lang.String |
getLanguage_id() |
java.lang.Integer |
getLanguage_idInEntityType() |
java.sql.Timestamp |
getLastOrderDate() |
java.lang.String |
getLastUpdate() |
java.sql.Timestamp |
getLastUpdateInEntityType() |
ListPriceAccessBean |
getListPrice(java.lang.String currency) |
java.lang.String |
getManufacturerName() |
java.lang.String |
getManufacturerPartNumber() |
java.lang.String |
getMarkForDelete() |
java.lang.Integer |
getMarkForDeleteInEntityType() |
java.lang.String |
getMemberId() |
java.lang.Long |
getMemberIdInEntityType() |
java.lang.String |
getOid() |
java.lang.String |
getOnAuction() |
java.lang.Integer |
getOnAuctionInEntityType() |
java.lang.String |
getOnSpecial() |
java.lang.Integer |
getOnSpecialInEntityType() |
java.lang.Long |
getOwner()
Returns the member ID of the owner.
|
java.lang.String[] |
getParentCatalogEntryIds() |
java.lang.String |
getPartNumber() |
java.sql.Timestamp |
getStartDate() |
java.lang.String |
getState() |
java.lang.String |
getTemplateFileName(java.lang.Long[] arg1,
java.lang.Integer arg2,
java.lang.String arg3) |
java.lang.String |
getTemplateFileName(java.lang.Long arg1,
java.lang.Integer arg2,
java.lang.String arg3) |
java.lang.String |
getTemplateFileName(java.lang.Long arg1,
UserAccessBean arg2,
java.lang.Integer arg3,
java.lang.String arg4) |
java.lang.String |
getTemplateFileName(java.lang.Long userNumber,
UserAccessBean user,
java.lang.Integer store_id,
java.lang.String devicetype_id,
java.lang.Integer languageId) |
java.lang.String |
getType() |
java.lang.String |
getUrl() |
void |
instantiateEntity() |
boolean |
isCatalogEntryInStore(java.lang.Integer anStoreId) |
void |
setAvailabilityDate(java.sql.Timestamp availabilityDate) |
void |
setBaseItemId(java.lang.Long baseItemId) |
void |
setBaseItemId(java.lang.String baseItemId) |
void |
setBuyable(java.lang.Integer buyable) |
void |
setBuyable(java.lang.String buyable) |
void |
setDiscontinueDate(java.sql.Timestamp discontinueDate) |
void |
setEndDate(java.sql.Timestamp endDate) |
void |
setEndOfServiceDate(java.sql.Timestamp endOfServiceDate) |
void |
setField1(java.lang.Integer field1) |
void |
setField1(java.lang.String field1) |
void |
setField2(java.lang.Integer field2) |
void |
setField2(java.lang.String field2) |
void |
setField3(java.math.BigDecimal field3) |
void |
setField3(java.lang.String field3) |
void |
setField4(java.lang.String field4) |
void |
setField5(java.lang.String field5) |
void |
setInitKey_catalogEntryReferenceNumber(java.lang.Long catalogEntryReferenceNumber) |
void |
setInitKey_catalogEntryReferenceNumber(java.lang.String catalogEntryReferenceNumber) |
void |
setItemspc_id(java.lang.Long itemspc_id) |
void |
setItemspc_id(java.lang.String itemspc_id) |
void |
setLanguage_id(java.lang.Integer language_id) |
void |
setLanguage_id(java.lang.String language_id) |
void |
setLastOrderDate(java.sql.Timestamp lastOrderDate) |
void |
setLastUpdate(java.lang.String lastUpdate) |
void |
setLastUpdate(java.sql.Timestamp lastUpdate) |
void |
setManufacturerName(java.lang.String manufacturerName) |
void |
setManufacturerPartNumber(java.lang.String manufacturerPartNumber) |
void |
setMarkForDelete(java.lang.Integer markForDelete) |
void |
setMarkForDelete(java.lang.String markForDelete) |
void |
setMemberId(java.lang.Long memberId) |
void |
setMemberId(java.lang.String memberId) |
void |
setOid(java.lang.String oid) |
void |
setOnAuction(java.lang.Integer onAuction) |
void |
setOnAuction(java.lang.String onAuction) |
void |
setOnSpecial(java.lang.Integer onSpecial) |
void |
setOnSpecial(java.lang.String onSpecial) |
void |
setPartNumber(java.lang.String partNumber) |
void |
setStartDate(java.sql.Timestamp startDate) |
void |
setState(java.lang.String state) |
void |
setUrl(java.lang.String url) |
public static final java.lang.String COPYRIGHT
public ItemAccessBean()
public ItemAccessBean(com.ibm.commerce.catalog.objects.Item entity)
public ItemAccessBean(java.lang.String partNumber, java.lang.Long memberId)
public ItemAccessBean(java.lang.Long catalogEntryReferenceNumber)
public ItemAccessBean(EntityBeanCreationData catalogEntryEntityCreationData)
public void setInitKey_catalogEntryReferenceNumber(java.lang.String catalogEntryReferenceNumber)
public void setInitKey_catalogEntryReferenceNumber(java.lang.Long catalogEntryReferenceNumber)
public java.util.Enumeration findByItemSpcId(java.lang.Long itemspcId)
public java.util.Enumeration findByItemSpcIdNoCache(java.lang.Long itemspcId)
public ItemAccessBean findSkuByAttributes(java.lang.Long anProductNum, java.util.Hashtable ahshResolveableAttributes)
public java.util.Enumeration findByProduct(java.lang.Long catalogEntryReferenceNumber)
public java.util.Enumeration findByProductNoCache(java.lang.Long catalogEntryReferenceNumber)
public java.util.Enumeration findEntitledItemsByProduct(java.lang.Long anProductId, java.lang.Long[] arnInclusionProductSets, java.lang.Long[] arnExclusionProductSets)
public java.util.Enumeration findByItemSpcIdAndStore(java.lang.Long anItemspcId, java.lang.Integer anStoreId)
public java.util.Enumeration findByItemSpcIdAndStoreNoCache(java.lang.Long anItemspcId, java.lang.Integer anStoreId)
public java.util.Enumeration findEntitledItemsByProduct(java.lang.Long anProductId, java.util.Vector[] arnInclusionProductSets, java.util.Vector[] arnExclusionProductSets)
public void setBuyable(java.lang.Integer buyable)
public java.lang.Integer getBuyableInEntityType()
public void setBuyable(java.lang.String buyable)
public java.lang.String getBuyable()
public java.lang.Long getCatalogEntryReferenceNumberInEntityType()
public java.lang.String getCatalogEntryReferenceNumber()
public void setEndDate(java.sql.Timestamp endDate)
public java.sql.Timestamp getEndDate()
public void setManufacturerName(java.lang.String manufacturerName)
public java.lang.String getManufacturerName()
public void setAvailabilityDate(java.sql.Timestamp availabilityDate)
public java.sql.Timestamp getAvailabilityDate()
public void setMarkForDelete(java.lang.Integer markForDelete)
public java.lang.Integer getMarkForDeleteInEntityType()
public void setMarkForDelete(java.lang.String markForDelete)
public java.lang.String getMarkForDelete()
public void setOid(java.lang.String oid)
public java.lang.String getOid()
public void setLanguage_id(java.lang.Integer language_id)
public java.lang.Integer getLanguage_idInEntityType()
public void setLanguage_id(java.lang.String language_id)
public java.lang.String getLanguage_id()
public void setLastOrderDate(java.sql.Timestamp lastOrderDate)
public java.sql.Timestamp getLastOrderDate()
public java.lang.String getType()
public void setEndOfServiceDate(java.sql.Timestamp endOfServiceDate)
public java.sql.Timestamp getEndOfServiceDate()
public void setBaseItemId(java.lang.Long baseItemId)
public java.lang.Long getBaseItemIdInEntityType()
public void setBaseItemId(java.lang.String baseItemId)
public java.lang.String getBaseItemId()
public void setDiscontinueDate(java.sql.Timestamp discontinueDate)
public java.sql.Timestamp getDiscontinueDate()
public void setOnAuction(java.lang.Integer onAuction)
public java.lang.Integer getOnAuctionInEntityType()
public void setOnAuction(java.lang.String onAuction)
public java.lang.String getOnAuction()
public void setState(java.lang.String state)
public java.lang.String getState()
public void setMemberId(java.lang.Long memberId)
public java.lang.Long getMemberIdInEntityType()
public void setMemberId(java.lang.String memberId)
public java.lang.String getMemberId()
public void setUrl(java.lang.String url)
public java.lang.String getUrl()
public void setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
public java.lang.String getManufacturerPartNumber()
public void setItemspc_id(java.lang.Long itemspc_id)
public java.lang.Long getItemspc_idInEntityType()
public void setItemspc_id(java.lang.String itemspc_id)
public java.lang.String getItemspc_id()
public void setField1(java.lang.Integer field1)
public java.lang.Integer getField1InEntityType()
public void setField1(java.lang.String field1)
public java.lang.String getField1()
public void setOnSpecial(java.lang.Integer onSpecial)
public java.lang.Integer getOnSpecialInEntityType()
public void setOnSpecial(java.lang.String onSpecial)
public java.lang.String getOnSpecial()
public void setLastUpdate(java.sql.Timestamp lastUpdate)
public java.sql.Timestamp getLastUpdateInEntityType()
public void setLastUpdate(java.lang.String lastUpdate)
public java.lang.String getLastUpdate()
public void setPartNumber(java.lang.String partNumber)
public java.lang.String getPartNumber()
public void setField3(java.math.BigDecimal field3)
public java.math.BigDecimal getField3InEntityType()
public void setField3(java.lang.String field3)
public java.lang.String getField3()
public void setField2(java.lang.Integer field2)
public java.lang.Integer getField2InEntityType()
public void setField2(java.lang.String field2)
public java.lang.String getField2()
public void setField5(java.lang.String field5)
public java.lang.String getField5()
public void setStartDate(java.sql.Timestamp startDate)
public java.sql.Timestamp getStartDate()
public void setField4(java.lang.String field4)
public java.lang.String getField4()
public BaseItemAccessBean getBaseItem()
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessory()
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessory(java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessory(java.util.Vector[] inclusionPS, java.util.Vector[] exclusionPS)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessory(java.lang.String arg1)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossell()
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossell(java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossell(java.util.Vector[] inclusionPS, java.util.Vector[] exclusionPS)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossell(java.lang.String arg1)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSell()
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSell(java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSell(java.util.Vector[] inclusionPS, java.util.Vector[] exclusionPS)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSell(java.lang.String arg1)
public CatalogEntryDescriptionAccessBean getDescription()
public CatalogEntryDescriptionAccessBean getDescription(java.lang.Integer arg1)
public CatalogEntryDescriptionAccessBean getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
public CatalogEntryDescriptionAccessBean getDescriptionNoCache(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
public ListPriceAccessBean getListPrice(java.lang.String currency)
public java.lang.String[] getParentCatalogEntryIds()
public java.lang.String getTemplateFileName(java.lang.Long[] arg1, java.lang.Integer arg2, java.lang.String arg3)
public java.lang.String getTemplateFileName(java.lang.Long arg1, UserAccessBean arg2, java.lang.Integer arg3, java.lang.String arg4)
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)
public java.lang.String getTemplateFileName(java.lang.Long arg1, java.lang.Integer arg2, java.lang.String arg3)
public boolean isCatalogEntryInStore(java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessoryByStore(java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessoryByStore(java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessoryByStore(java.util.Vector[] inclusionPS, java.util.Vector[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesAccessoryByStore(java.lang.String aStrSemantic, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossellByStore(java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossellByStore(java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossellByStore(java.util.Vector[] inclusionPS, java.util.Vector[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesCrossellByStore(java.lang.String aStrSemantic, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSellByStore(java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSellByStore(java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSellByStore(java.util.Vector[] inclusionPS, java.util.Vector[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesUpSellByStore(java.lang.String aStrSemantic, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType, java.lang.Long[] inclusionPS, java.lang.Long[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrMercAssocType, java.util.Vector[] inclusionPS, java.util.Vector[] exclusionPS, java.lang.Integer anStoreId)
public RelatedCatalogEntryAccessBean[] getCatalogEntriesByMAssocTypeAndStore(java.lang.String astrSemantic, java.lang.String astrMercAssocType, java.lang.Integer anStoreId)
public AttributeValueAccessBean[] getAttributeValues(java.lang.Integer argLanguageId)
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception
Protectable
fulfills
in interface Protectable
member
- The member ID of the member.relationship
- The relationship the member has with respect to the resource.java.lang.Exception
public java.lang.Long getOwner() throws java.lang.Exception
Protectable
getOwner
in interface Protectable
java.lang.Exception
public void instantiateEntity()
instantiateEntity
in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
public com.ibm.commerce.catalog.objects.Item getEntity()
getEntity
in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean