|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.marketingcenter.objects.EMarketingSpotAccessBean
This bean provides access to the EMSPOT table.
The following is a description of this table:
This table holds the information related to an e-marketing spot.
Constructor Summary | |
EMarketingSpotAccessBean()
Zero argument constructor used to initialize the access bean. |
|
EMarketingSpotAccessBean(javax.ejb.EJBObject EMarketingSpotEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB. |
|
EMarketingSpotAccessBean(java.lang.Integer emSpotId,
java.lang.Integer storeId,
java.lang.String emSpotName)
Maps to a corresponding ejbCreate method in the home interface of the EJB. |
|
EMarketingSpotAccessBean(java.lang.Integer storeId,
java.lang.String emSpotName)
Maps to a corresponding ejbCreate method in the home interface of the EJB. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String |
defaultJNDIName()
Obtain the JNDI name for this EJB |
EMarketingSpotAccessBean |
findByStoreIdAndName(java.lang.Integer storeId,
java.lang.String emSpotName)
This finder returns the e-marketing spot in an access bean with the given store reference number and the e-marketing spot name. |
java.util.Enumeration |
findByStoreIdSortedByDescription(java.lang.Integer storeId)
This finder returns all the e-marketing spots in an enumeration with the given store reference number, sorted by description. |
java.util.Enumeration |
findByStoreIdSortedByName(java.lang.Integer storeId)
This finder returns all the e-marketing spots in an enumeration with the given store reference number, sorted by name. |
boolean |
fulfills(java.lang.Long arg0,
java.lang.String arg1)
IBM internal use only. |
java.lang.String |
getDescription()
This method provides access to the EMSPOT.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getEMarketingSpotId()
This method provides access to the EMSPOT.EMSPOT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getEMarketingSpotIdInEJBType()
This method provides access to the EMSPOT.EMSPOT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getName()
This method provides access to the EMSPOT.NAME column of DB2 type VARCHAR(64) NOT NULL. |
java.lang.Long |
getOwner()
IBM internal use only. |
java.lang.String |
getStoreId()
This method provides access to the EMSPOT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreIdInEJBType()
This method provides access to the EMSPOT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getSupportedTypes()
This method provides access to the EMSPOT.SUPPORTEDTYPES column of DB2 type VARCHAR(20) NULL. |
protected void |
instantiateEJB()
IBM internal use only |
protected boolean |
instantiateEJBByPrimaryKey()
IBM internal use only |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDescription(java.lang.String description)
This method provides access to the EMSPOT.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
This method provides access to the EMSPOT.EMSPOT_ID column of DB2 type INTEGER NOT NULL. |
void |
setEMarketingSpotId(java.lang.String eMarketingSpotId)
This method provides access to the EMSPOT.EMSPOT_ID column of DB2 type INTEGER NOT NULL. |
void |
setInitKey__eMarketingSpotId(java.lang.String newEMarketingSpotId)
Set the primary key for this object. |
void |
setName(java.lang.String name)
This method provides access to the EMSPOT.NAME column of DB2 type VARCHAR(64) NOT NULL. |
void |
setStoreId(java.lang.Integer storeId)
This method provides access to the EMSPOT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreId(java.lang.String storeId)
This method provides access to the EMSPOT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setSupportedTypes(java.lang.String supportedTypes)
This method provides access to the EMSPOT.SUPPORTEDTYPES column of DB2 type VARCHAR(20) NULL. |
Constructor Detail |
public EMarketingSpotAccessBean()
public EMarketingSpotAccessBean(javax.ejb.EJBObject EMarketingSpotEJBObj) throws java.rmi.RemoteException
EMarketingSpotEJBObj
- - an EMarketingSpot EJBObject referencejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.public EMarketingSpotAccessBean(java.lang.Integer emSpotId, java.lang.Integer storeId, java.lang.String emSpotName) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
emSpotId
- - the internal reference number of the e-marketing spotstoreId
- - the internal reference number of the storeemSpotName
- - the name of the e-marketing spotjavax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.java.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public EMarketingSpotAccessBean(java.lang.Integer storeId, java.lang.String emSpotName) throws javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
storeId
- - the internal reference number of the storeemSpotName
- - the name of the e-marketing spotjavax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.java.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.naming.NamingException
- - Thrown when a naming exception is encountered.Method Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.protected java.lang.String defaultJNDIName()
public EMarketingSpotAccessBean findByStoreIdAndName(java.lang.Integer storeId, java.lang.String emSpotName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM EMSPOT T1 WHERE (T1.STOREENT_ID = storeId AND T1.NAME = emSpotName)
storeId
- - the reference number of the storeemSpotName
- - the name of the e-marketing spotjava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.util.Enumeration findByStoreIdSortedByDescription(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM EMSPOT T1 WHERE ( T1.STOREENT_ID = storeId ) ORDER BY T1.DESCRIPTION
storeId
- - the internal reference number of the storejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.util.Enumeration findByStoreIdSortedByName(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM EMSPOT T1 WHERE ( T1.STOREENT_ID = storeId ) ORDER BY T1.NAME
storeId
- - the internal reference number of the storejava.rmi.RemoteException
- - Thrown when the ejbCreate method is failed to invoke.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
arg0
- - java.lang.Longarg1
- - java.lang.Stringjava.rmi.RemoteException
- - The java.rmi.RemoteException exceptionjava.lang.Exception
- - The java.lang.Exception exceptionjavax.ejb.FinderException
- - The javax.ejb.FinderException exceptionjavax.naming.NamingException
- - The javax.naming.NamingException exceptionpublic java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The description of this e-marketing spot.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getEMarketingSpotId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of this e-marketing spot.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.Integer getEMarketingSpotIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of this e-marketing spot.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The name of this e-marketing spot.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.lang.Exception
- - The java.lang.Exception exceptionjava.rmi.RemoteException
- - The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- - The javax.ejb.FinderException exceptionjavax.naming.NamingException
- - The javax.naming.NamingException exceptionpublic java.lang.String getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of the store in which this e-marketing spot belongs to. This field is a foreign key to the STOREENT table.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.Integer getStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The internal reference number of the store in which this e-marketing spot belongs to. This field is a foreign key to the STOREENT table.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public java.lang.String getSupportedTypes() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The following is a description of this column:
The supported types of this e-marketing spot.
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.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 refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
- - Thrown when the remote method is failed to invoke.javax.ejb.CreateException
- - Thrown when the creation of the EJB object failed.javax.ejb.FinderException
- - Thrown when the finding of the requested EJB object failed.javax.naming.NamingException
- - Thrown when a naming exception is encountered.public void setDescription(java.lang.String description)
The following is a description of this column:
The description of this e-marketing spot.
java.lang.String
- public void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
The following is a description of this column:
The internal reference number of this e-marketing spot.
java.lang.Integer
- public void setEMarketingSpotId(java.lang.String eMarketingSpotId)
The following is a description of this column:
The internal reference number of this e-marketing spot.
java.lang.String
- public void setInitKey__eMarketingSpotId(java.lang.String newEMarketingSpotId)
newEMarketingSpotId
- - the reference number of the e-marketing spotpublic void setName(java.lang.String name)
The following is a description of this column:
The name of this e-marketing spot.
java.lang.String
- public void setStoreId(java.lang.Integer storeId)
The following is a description of this column:
The internal reference number of the store in which this e-marketing spot belongs to. This field is a foreign key to the STOREENT table.
java.lang.Integer
- public void setStoreId(java.lang.String storeId)
The following is a description of this column:
The internal reference number of the store in which this e-marketing spot belongs to. This field is a foreign key to the STOREENT table.
java.lang.String
- public void setSupportedTypes(java.lang.String supportedTypes)
The following is a description of this column:
The supported types of this e-marketing spot.
java.lang.String
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |