com.ibm.commerce.marketingcenter.objects
Class EMarketingSpotAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.marketingcenter.objects.EMarketingSpotAccessBean

public class EMarketingSpotAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean

This table contains registered e-Marketing Spots.

See Also:
Serialized Form

Constructor Summary
EMarketingSpotAccessBean()
          constructor
EMarketingSpotAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.lang.String arg2)
          constructor
EMarketingSpotAccessBean(java.lang.Integer arg0, java.lang.String arg1)
          constructor
EMarketingSpotAccessBean(javax.ejb.EJBObject o)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
  EMarketingSpotAccessBean findByStoreIdAndName(java.lang.Integer arg0, java.lang.String arg1)
          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 arg0)
          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 arg0)
          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)
           
 java.lang.String getDescription()
          This method accesses a non-CMP field
 java.lang.String getEMarketingSpotId()
          This method accesses a non-CMP field
 java.lang.Integer getEMarketingSpotIdInEJBType()
          This method accesses a non-CMP field
 java.lang.String getName()
          This method accesses a non-CMP field
 java.lang.Long getOwner()
          This method accesses a non-CMP field
 java.lang.String getStoreId()
          This method accesses a non-CMP field
 java.lang.Integer getStoreIdInEJBType()
          This method accesses a non-CMP field
 java.lang.String getSupportedTypes()
          This method accesses a non-CMP field
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String newValue)
          This method accesses a non-CMP field
 void setEMarketingSpotId(java.lang.Integer newValue)
          This method accesses a non-CMP field
 void setEMarketingSpotId(java.lang.String newValue)
          This method accesses a non-CMP field
 void setInitKey__eMarketingSpotId(java.lang.String newValue)
          Set the primary key for this object
 void setName(java.lang.String newValue)
          This method accesses a non-CMP field
 void setStoreId(java.lang.Integer newValue)
          This method accesses a non-CMP field
 void setStoreId(java.lang.String newValue)
          This method accesses a non-CMP field
 void setSupportedTypes(java.lang.String newValue)
          This method accesses a non-CMP field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMarketingSpotAccessBean

public EMarketingSpotAccessBean()
constructor

EMarketingSpotAccessBean

public EMarketingSpotAccessBean(javax.ejb.EJBObject o)
                         throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

EMarketingSpotAccessBean

public EMarketingSpotAccessBean(java.lang.Integer arg0,
                                java.lang.Integer arg1,
                                java.lang.String arg2)
                         throws javax.ejb.CreateException,
                                java.rmi.RemoteException,
                                javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.Integer
arg2 - java.lang.String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

EMarketingSpotAccessBean

public EMarketingSpotAccessBean(java.lang.Integer arg0,
                                java.lang.String arg1)
                         throws javax.ejb.FinderException,
                                javax.naming.NamingException,
                                javax.ejb.CreateException,
                                java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.String
Throws:
javax.ejb.FinderException
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail

findByStoreIdAndName

public EMarketingSpotAccessBean findByStoreIdAndName(java.lang.Integer arg0,
                                                     java.lang.String arg1)
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException
This finder returns the e-marketing spot in an access bean with the given store reference number and the e-marketing spot name.

SQL:

SELECT * FROM EMSPOT T1 WHERE (T1.STOREENT_ID = storeId AND T1.NAME = emSpotName)

Returns:
com.ibm.commerce.marketingcenter.objects.EMarketingSpotAccessBean - the returned e-marketing spot
Throws:
java.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

findByStoreIdSortedByDescription

public java.util.Enumeration findByStoreIdSortedByDescription(java.lang.Integer arg0)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException
This finder returns all the e-marketing spots in an enumeration with the given store reference number, sorted by description.

SQL:

SELECT * FROM EMSPOT T1 WHERE ( T1.STOREENT_ID = storeId ) ORDER BY T1.DESCRIPTION

Returns:
java.util.Enumeration - all the returned e-marketing spots
Throws:
java.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

findByStoreIdSortedByName

public java.util.Enumeration findByStoreIdSortedByName(java.lang.Integer arg0)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException
This finder returns all the e-marketing spots in an enumeration with the given store reference number, sorted by name.

SQL:

SELECT * FROM EMSPOT T1 WHERE ( T1.STOREENT_ID = storeId ) ORDER BY T1.NAME

Returns:
java.util.Enumeration - all the returned e-marketing spots
Throws:
java.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

setInitKey__eMarketingSpotId

public void setInitKey__eMarketingSpotId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)
This method accesses a non-CMP field

getSupportedTypes

public java.lang.String getSupportedTypes()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSupportedTypes

public void setSupportedTypes(java.lang.String newValue)
This method accesses a non-CMP field

getStoreId

public java.lang.String getStoreId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreIdInEJBType

public java.lang.Integer getStoreIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreId

public void setStoreId(java.lang.String newValue)
This method accesses a non-CMP field

setStoreId

public void setStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)
This method accesses a non-CMP field

getEMarketingSpotId

public java.lang.String getEMarketingSpotId()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEMarketingSpotIdInEJBType

public java.lang.Integer getEMarketingSpotIdInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEMarketingSpotId

public void setEMarketingSpotId(java.lang.String newValue)
This method accesses a non-CMP field

setEMarketingSpotId

public void setEMarketingSpotId(java.lang.Integer newValue)
This method accesses a non-CMP field

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException