com.ibm.commerce.catalog.objects

Class CatalogGroupAccessBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
  • All Implemented Interfaces:
    Protectable, java.io.Serializable
    Direct Known Subclasses:
    com.ibm.commerce.catalog.beansrc.CatalogGroupDataBeanBase, CategoryDataBean


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

    • Constructor Detail

      • CatalogGroupAccessBean

        public CatalogGroupAccessBean()
      • CatalogGroupAccessBean

        public CatalogGroupAccessBean(com.ibm.commerce.catalog.objects.CatalogGroup entity)
      • CatalogGroupAccessBean

        public CatalogGroupAccessBean(java.lang.Long memberId)
      • CatalogGroupAccessBean

        public CatalogGroupAccessBean(EntityBeanCreationData catalogGroupEntityCreationData)
      • CatalogGroupAccessBean

        public CatalogGroupAccessBean(java.lang.Long catalogGroupReferenceNumber,
                                      java.lang.Long memberId)
      • CatalogGroupAccessBean

        public CatalogGroupAccessBean(java.lang.Long memberId,
                                      java.lang.String identifier)
    • Method Detail

      • setInitKey_catalogGroupReferenceNumber

        public void setInitKey_catalogGroupReferenceNumber(java.lang.String catalogGroupReferenceNumber)
      • setInitKey_catalogGroupReferenceNumber

        public void setInitKey_catalogGroupReferenceNumber(java.lang.Long catalogGroupReferenceNumber)
      • findByMemberIdAndCategoryId

        public java.util.Enumeration findByMemberIdAndCategoryId(java.lang.Long memberId,
                                                                 java.lang.String categoryId)
      • findByMemberIdAndCategoryIdNoCache

        public java.util.Enumeration findByMemberIdAndCategoryIdNoCache(java.lang.Long memberId,
                                                                        java.lang.String categoryId)
      • findEntitledCatalogGroupsByCatalog

        public java.util.Enumeration findEntitledCatalogGroupsByCatalog(java.lang.Long anCatalogId,
                                                                        java.lang.Long[] aExcludedPSList)
      • findByMemberIdAndIdentifier

        public CatalogGroupAccessBean findByMemberIdAndIdentifier(java.lang.Long memberId,
                                                                  java.lang.String Identifier)
      • findByMemberIdAndIdentifierNoCache

        public CatalogGroupAccessBean findByMemberIdAndIdentifierNoCache(java.lang.Long memberId,
                                                                         java.lang.String Identifier)
      • findByCatalogId

        public java.util.Enumeration findByCatalogId(java.lang.Long catalogId)
      • findByCatalogIdNoCache

        public java.util.Enumeration findByCatalogIdNoCache(java.lang.Long catalogId)
      • findByChildGroupId

        public java.util.Enumeration findByChildGroupId(java.lang.Long catalogId,
                                                        java.lang.Long catalogChildGroupId)
      • findByChildGroupIdNoCache

        public java.util.Enumeration findByChildGroupIdNoCache(java.lang.Long catalogId,
                                                               java.lang.Long catalogChildGroupId)
      • findEntitledChildCatalogGroupsByCatalogAndParentGroup

        public java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroup(java.lang.Long anCatalogId,
                                                                                           java.lang.Long anCatalogGroupId,
                                                                                           java.lang.Long[] aExcludedPSList)
      • findByParentGroupId

        public java.util.Enumeration findByParentGroupId(java.lang.Long catalogId,
                                                         java.lang.Long catalogParentGroupId)
      • findByParentGroupIdNoCache

        public java.util.Enumeration findByParentGroupIdNoCache(java.lang.Long catalogId,
                                                                java.lang.Long catalogParentGroupId)
      • findByKeyAndStore

        public CatalogGroupAccessBean findByKeyAndStore(java.lang.Long catalogGroupId,
                                                        java.lang.Integer storeId)
      • findByKeyAndStoreNoCache

        public CatalogGroupAccessBean findByKeyAndStoreNoCache(java.lang.Long catalogGroupId,
                                                               java.lang.Integer storeId)
      • findByCatalogIdAndProductSetId

        public CatalogGroupAccessBean findByCatalogIdAndProductSetId(java.lang.Long catalogId,
                                                                     java.lang.Integer productSetId)
      • findByCatalogIdAndProductSetIdAndStore

        public CatalogGroupAccessBean findByCatalogIdAndProductSetIdAndStore(java.lang.Long catalogId,
                                                                             java.lang.Integer productSetId,
                                                                             java.lang.Integer storeId)
      • findByCatalogIdAndStore

        public java.util.Enumeration findByCatalogIdAndStore(java.lang.Long catalogId,
                                                             java.lang.Integer storeId)
      • findByCatalogIdAndStoreNoCache

        public java.util.Enumeration findByCatalogIdAndStoreNoCache(java.lang.Long catalogId,
                                                                    java.lang.Integer storeId)
      • findByChildGroupIdAndStore

        public java.util.Enumeration findByChildGroupIdAndStore(java.lang.Long catalogId,
                                                                java.lang.Long catalogChildGroupId,
                                                                java.lang.Integer storeId)
      • findByChildGroupIdAndStoreNoCache

        public java.util.Enumeration findByChildGroupIdAndStoreNoCache(java.lang.Long catalogId,
                                                                       java.lang.Long catalogChildGroupId,
                                                                       java.lang.Integer storeId)
      • findByParentGroupIdAndStore

        public java.util.Enumeration findByParentGroupIdAndStore(java.lang.Long catalogId,
                                                                 java.lang.Long catalogParentGroupId,
                                                                 java.lang.Integer storeId)
      • findByParentGroupIdAndStoreNoCache

        public java.util.Enumeration findByParentGroupIdAndStoreNoCache(java.lang.Long catalogId,
                                                                        java.lang.Long catalogParentGroupId,
                                                                        java.lang.Integer storeId)
      • findByIdentifierAndStore

        public java.util.Enumeration findByIdentifierAndStore(java.lang.String astrIdentifier,
                                                              java.lang.Integer anStoreId)
      • findByIdentifierAndStoreNoCache

        public java.util.Enumeration findByIdentifierAndStoreNoCache(java.lang.String astrIdentifier,
                                                                     java.lang.Integer anStoreId)
      • findEntitledCatalogGroupsByCatalogAndStore

        public java.util.Enumeration findEntitledCatalogGroupsByCatalogAndStore(java.lang.Long anCatalogId,
                                                                                java.lang.Integer anStoreId,
                                                                                java.lang.Long[] aExcludedPSList)
      • findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore

        public java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore(java.lang.Long anCatalogId,
                                                                                                   java.lang.Long anCatalogGroupId,
                                                                                                   java.lang.Integer anStoreId,
                                                                                                   java.lang.Long[] aExcludedPSList)
      • findByCatalogGroupIds

        public java.util.Enumeration findByCatalogGroupIds(java.lang.Long[] catGroupIds)
      • findByCatalogGroupIdsNoCache

        public java.util.Enumeration findByCatalogGroupIdsNoCache(java.lang.Long[] catGroupIds)
      • setIdentifier

        public void setIdentifier(java.lang.String identifier)
      • getIdentifier

        public java.lang.String getIdentifier()
      • setField1

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

        public java.lang.String getField1()
      • 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()
      • getCatalogGroupReferenceNumberInEntityType

        public java.lang.Long getCatalogGroupReferenceNumberInEntityType()
      • getCatalogGroupReferenceNumber

        public java.lang.String getCatalogGroupReferenceNumber()
      • 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()
      • setField2

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

        public java.lang.String getField2()
      • 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()
      • getCatalogEntries

        public CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long argCatalogId,
                                                          java.lang.Long[] arginclusivePSList,
                                                          java.lang.Long[] argExclusivePSList)
      • getCatalogEntries

        public CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long argCatalogId,
                                                          java.util.Vector[] arginclusivePSList,
                                                          java.util.Vector[] argExclusivePSList)
      • getEntitledSubCatalogGroups

        public CatalogGroupAccessBean[] getEntitledSubCatalogGroups(java.lang.Long nCatalogId,
                                                                    java.lang.Long[] arProductSetExclusionList)
      • getNumSubCatEntries

        public java.lang.Integer getNumSubCatEntries(java.lang.Long catalogId)
                                              throws java.sql.SQLException,
                                                     javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • getNumSubCatGroups

        public java.lang.Integer getNumSubCatGroups(java.lang.Long catalogId)
                                             throws java.sql.SQLException,
                                                    javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • getProductSetIds

        public java.lang.Integer[] getProductSetIds(java.lang.Long catalogId)
      • 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 userId,
                                                    UserAccessBean user,
                                                    java.lang.Integer store_id,
                                                    java.lang.String devicetype_id,
                                                    java.lang.Integer language_id)
      • getTemplateFileName

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

        public boolean isCatalogGroupInStore(java.lang.Integer arg1)
      • getCatalogEntriesByStore

        public CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long argCatalogId,
                                                                 java.lang.Integer anStoreId,
                                                                 java.lang.Long[] arginclusivePSList,
                                                                 java.lang.Long[] argExclusivePSList)
      • getCatalogEntriesByStore

        public CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long argCatalogId,
                                                                 java.lang.Integer anStoreId,
                                                                 java.util.Vector[] arginclusivePSList,
                                                                 java.util.Vector[] argExclusivePSList)
      • getCatalogEntriesByStore

        public CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long argCatalogId,
                                                                 java.lang.Integer anStoreId,
                                                                 java.util.Vector[] arginclusivePSList,
                                                                 java.util.Vector[] argExclusivePSList,
                                                                 java.lang.String[] subtypes)
      • getCatalogEntriesByStore

        public CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long anCatalogId,
                                                                 java.lang.Integer anStoreId)
      • getCatalogEntriesByStore

        public CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long anCatalogId,
                                                                 java.lang.Integer anStoreId,
                                                                 java.lang.String[] subtypes)
      • getCategoryAccessoryByStore

        public RelatedCatalogGroupAccessBean[] getCategoryAccessoryByStore(java.lang.String astrSemantic,
                                                                           java.lang.Integer anStoreId)
      • getCategoryCrossSellByStore

        public RelatedCatalogGroupAccessBean[] getCategoryCrossSellByStore(java.lang.String astrSemantic,
                                                                           java.lang.Integer anStoreId)
      • getCategoryUpSellByStore

        public RelatedCatalogGroupAccessBean[] getCategoryUpSellByStore(java.lang.String astrSemantic,
                                                                        java.lang.Integer anStoreId)
      • getEntitledSubCatalogGroupsByStore

        public CatalogGroupAccessBean[] getEntitledSubCatalogGroupsByStore(java.lang.Long anCatalogId,
                                                                           java.lang.Integer anStoreId,
                                                                           java.lang.Long[] anProductSetExclusionList)
      • getEntitledSubCatalogGroupsByStore

        public CatalogGroupAccessBean[] getEntitledSubCatalogGroupsByStore(java.lang.Long anCatalogId,
                                                                           java.lang.Integer anStoreId,
                                                                           java.util.Vector[] vecInclusionProductSets,
                                                                           java.util.Vector[] vecExclusionProductSets)
      • getNumSubCatEntriesByStore

        public java.lang.Integer getNumSubCatEntriesByStore(java.lang.Long anCatalogId,
                                                            java.lang.Integer anStoreId)
                                                     throws java.sql.SQLException,
                                                            javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • getNumSubCatGroupsByStore

        public java.lang.Integer getNumSubCatGroupsByStore(java.lang.Long anCatalogId,
                                                           java.lang.Integer anStoreId)
                                                    throws java.sql.SQLException,
                                                           javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • getSubCatalogGroupsByStore

        public CatalogGroupAccessBean[] getSubCatalogGroupsByStore(java.lang.Long anCatalogId,
                                                                   java.lang.Integer anStoreId)
      • getCatalogEntriesByStoreOrderByPartNumber

        public CatalogEntryAccessBean[] getCatalogEntriesByStoreOrderByPartNumber(java.lang.Long argCatalogId,
                                                                                  java.lang.Integer anStoreId,
                                                                                  java.lang.Long[] argInclusivePS,
                                                                                  java.lang.Long[] argExclusivePS)
      • getCatalogEntriesByStoreOrderByPartNumber

        public CatalogEntryAccessBean[] getCatalogEntriesByStoreOrderByPartNumber(java.lang.Long argCatalogId,
                                                                                  java.lang.Integer anStoreId,
                                                                                  java.util.Vector[] argInclusivePS,
                                                                                  java.util.Vector[] argExclusivePS)
      • 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.CatalogGroup getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean