public class CatalogAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements CatalogAccessBeanData
Constructor and Description |
---|
CatalogAccessBean()
Default constructor.
|
CatalogAccessBean(javax.ejb.EJBObject o) |
CatalogAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData)
Constructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
|
CatalogAccessBean(java.lang.Long arg1)
Maps to a corresponding ejbCreate method in the home interface of the EJB.
|
CatalogAccessBean(java.lang.Long aMember_id, java.lang.String aIdentifier)
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
CatalogAccessBean | findByCatalogIdentifierAndStore(java.lang.String astrIdentifier, java.lang.Integer anStoreId)
Finds by catalog identifier and store.
|
CatalogAccessBean | findByKeyAndStore(java.lang.Long catalogId, java.lang.Integer storeId)
Finds the catalog with the key and storeID.
|
CatalogAccessBean | findByMemberIdAndCatalogIdentifier(java.lang.Long memberId, java.lang.String identifier)
Finds the catalog using the member ID and catalog identifier.
|
java.util.Enumeration | findByStoreId(java.lang.Integer storeId)
Finds the catalog by the store ID.
|
java.util.Enumeration | findMasterCatalogByStoreId(java.lang.Integer storeId)
This method returns an Enumeration of Catalog Access Bean that is the Master Catalog of the store with the specified Store ID.
|
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
CatalogGroupAccessBean[] | getCatalogGroups()
Gets the list of catalog groups.
|
CatalogGroupAccessBean[] | getCatalogGroupsByStore(java.lang.Integer anStoreId) |
java.lang.String | getCatalogReferenceNumber() |
java.lang.Long | getCatalogReferenceNumberInEJBType() |
CatalogDescriptionAccessBean | getDescription()
This method returns the bean that holds the language specific information for this Catalog.
|
CatalogDescriptionAccessBean | getDescription(java.lang.Integer arg1)
This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1.
|
CatalogDescriptionAccessBean | getDescription(java.lang.Integer arg1, java.lang.Integer arg2)
This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1 and the store identified by arg2.
|
java.lang.String | getDescriptions() |
CatalogGroupAccessBean[] | getEntitledCatalogGroups(java.lang.Long[] arg0) |
CatalogGroupAccessBean[] | getEntitledCatalogGroupsByStore(java.lang.Integer anStoreId, java.lang.Long[] arProductSetExclusionList)
getEntitledCatalogGroupsByStore
|
CatalogGroupAccessBean[] | getEntitledCatalogGroupsByStore(java.lang.Integer anStoreId, java.util.Vector[] arvecProductSetInclusionList, java.util.Vector[] arvecProductSetExclusionList)
getEntitledCatalogGroupsByStore
|
java.lang.String | getIdentifier() |
java.lang.String | getLanguage_id() |
java.lang.Integer | getLanguage_idInEJBType() |
java.lang.String | getMemberId() |
java.lang.Long | getMemberIdInEJBType() |
java.lang.Long | getOwner() |
java.lang.String | getTPCLevel() |
java.lang.Integer | getTPCLevelInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
boolean | isCatalogInStore(java.lang.Integer arg1)
Gets the flag indicating whether the catalog is in the store.
|
void | refreshCopyHelper() |
void | setDescriptions(java.lang.String newValue) |
void | setIdentifier(java.lang.String newValue) |
void | setInitKey_catalogReferenceNumber(java.lang.String newValue) |
void | setMemberId(java.lang.Long newValue) |
void | setMemberId(java.lang.String newValue) |
void | setTPCLevel(java.lang.Integer newValue) |
void | setTPCLevel(java.lang.String newValue) |
public CatalogAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CatalogAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CatalogAccessBean(java.lang.Long arg1) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog according to the catalog reference number.
public CatalogAccessBean(java.lang.Long aMember_id, java.lang.String aIdentifier) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog according to the owner ID and the Catalog Identifier.
public CatalogAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Constructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog according to the CatalogEntityCreationData.
public CatalogAccessBean findByKeyAndStore(java.lang.Long catalogId, java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog with the key and storeID.
SQL:
SELECT CATALOG.IDENTIFIER, CATALOG.MEMBER_ID, CATALOG.DESCRIPTION, CATALOG.CATALOG_ID, CATALOG.TPCLEVEL FROM CATALOG, STORECAT WHERE CATALOG.CATALOG_ID = catalogID AND STORECAT.STOREENT_ID = storeID AND STORECAT.CATALOG_ID = CATALOG.CATALOG_ID
public CatalogAccessBean findByMemberIdAndCatalogIdentifier(java.lang.Long memberId, java.lang.String identifier) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog using the member ID and catalog identifier.
SQL:
SELECT IDENTIFIER, MEMBER_ID, DESCRIPTION, CATALOG_ID, TPCLEVEL FROM CATALOG WHERE MEMBER_ID = memberID AND IDENTIFIER = identifier
public java.util.Enumeration findByStoreId(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog by the store ID.
SQL:
SELECT CATALOG.IDENTIFIER, CATALOG.MEMBER_ID, CATALOG.DESCRIPTION, CATALOG.CATALOG_ID, CATALOG.TPCLEVEL FROM CATALOG, STORECAT WHERE STORECAT.STOREENT_ID = storeId AND STORECAT.CATALOG_ID = CATALOG.CATALOG_ID
public java.util.Enumeration findMasterCatalogByStoreId(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns an Enumeration of Catalog Access Bean that is the Master Catalog of the store with the specified Store ID.
public void setInitKey_catalogReferenceNumber(java.lang.String newValue)
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getIdentifier() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setIdentifier(java.lang.String newValue)
public java.lang.String getDescriptions() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDescriptions(java.lang.String newValue)
public java.lang.String getCatalogReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getCatalogReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getLanguage_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getLanguage_idInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getTPCLevel() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getTPCLevelInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTPCLevel(java.lang.String newValue)
public void setTPCLevel(java.lang.Integer newValue)
public boolean isCatalogInStore(java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the flag indicating whether the catalog is in the store.
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public CatalogDescriptionAccessBean getDescription() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the bean that holds the language specific information for this Catalog.
public CatalogDescriptionAccessBean getDescription(java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1.
public CatalogDescriptionAccessBean getDescription(java.lang.Integer arg1, java.lang.Integer arg2) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1 and the store identified by arg2. This method will return an alternate language description if the specified description is not found.
public CatalogGroupAccessBean[] getEntitledCatalogGroups(java.lang.Long[] arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
public CatalogGroupAccessBean[] getCatalogGroups() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the list of catalog groups.
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public CatalogGroupAccessBean[] getCatalogGroupsByStore(java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public CatalogAccessBean findByCatalogIdentifierAndStore(java.lang.String astrIdentifier, java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public CatalogGroupAccessBean[] getEntitledCatalogGroupsByStore(java.lang.Integer anStoreId, java.lang.Long[] arProductSetExclusionList) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public CatalogGroupAccessBean[] getEntitledCatalogGroupsByStore(java.lang.Integer anStoreId, java.util.Vector[] arvecProductSetInclusionList, java.util.Vector[] arvecProductSetExclusionList) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException