com.ibm.commerce.marketingcenter.objects
Class CampaignAccessBean

com.ibm.commerce.marketingcenter.objects.CampaignAccessBean

public class CampaignAccessBean

This bean provides access to the CAMPAIGN table.

The following is a description of this table:

This table holds the information related to a campaign.


Constructor Summary
CampaignAccessBean()
          Zero argument constructor used to initialize the access bean.
CampaignAccessBean(javax.ejb.EJBObject CampaignEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
CampaignAccessBean(java.lang.Integer campaignId, java.lang.String campaignName, java.lang.Integer storeId, java.sql.Timestamp lastUpdate, java.lang.String lastUpdatedBy)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
CampaignAccessBean(java.lang.String campaignName, java.lang.Integer storeId, java.sql.Timestamp lastUpdate, java.lang.String lastUpdatedBy)
          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
 java.util.Enumeration findAllByStoreIdAndCampaignName(java.lang.Integer storeId, java.lang.String campaignName)
          This finder returns all the campaigns in an enumeration with the given store reference number and the campaign name.
 java.util.Enumeration findAllByStoreIdSortedBy(java.lang.Integer storeId, java.lang.String orderByColumn)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the given column.
 java.util.Enumeration findAllByStoreIdSortedByDescription(java.lang.Integer storeId)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by description.
 java.util.Enumeration findAllByStoreIdSortedByLastUpdate(java.lang.Integer storeId)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the last updated date.
 java.util.Enumeration findAllByStoreIdSortedByLastUpdatedBy(java.lang.Integer storeId)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the campaign.
 java.util.Enumeration findAllByStoreIdSortedByName(java.lang.Integer storeId)
          This finder returns all the campaigns 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 getCampaignId()
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCampaignIdInEJBType()
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCampaignOwner()
          This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64) NULL.
 java.lang.String getDescription()
          This method provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField1()
          This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLastUpdateDate()
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getLastUpdateDateInEJBType()
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getLastUpdatedBy()
          This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getName()
          This method provides access to the CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.
 java.lang.String getObjective()
          This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254) NULL.
 java.lang.Long getOwner()
          IBM internal use only.
 java.lang.String getStatus()
          This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1) NULL.
 java.lang.String getStoreId()
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getType()
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.
 java.lang.Integer getTypeInEJBType()
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.
protected  void instantiateEJB()
          IBM internal use only
protected  boolean instantiateEJBByPrimaryKey()
          IBM internal use only
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCampaignId(java.lang.Integer campaignId)
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 void setCampaignId(java.lang.String campaignId)
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 void setCampaignOwner(java.lang.String campaignOwner)
          This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64) NULL.
 void setDescription(java.lang.String description)
          This method provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setField1(java.lang.String field1)
          This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setInitKey_campaignId(java.lang.String newCampaignId)
          Set the primary key for this object.
 void setLastUpdateDate(java.lang.String lastUpdateDate)
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdateDate(java.sql.Timestamp lastUpdateDate)
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdatedBy(java.lang.String lastUpdatedBy)
          This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 void setName(java.lang.String name)
          This method provides access to the CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.
 void setObjective(java.lang.String objective)
          This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254) NULL.
 void setStatus(java.lang.String status)
          This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1) NULL.
 void setStoreId(java.lang.Integer storeId)
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String storeId)
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setType(java.lang.Integer type)
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.
 void setType(java.lang.String type)
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.
 

Constructor Detail

CampaignAccessBean

public CampaignAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.marketingcenter.objects.Campaign com.ibm.commerce.marketingcenter.objects.CampaignHome.findByPrimaryKey(com.ibm.commerce.marketingcenter.objects.CampaignKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_campaignId( java.lang.Integer )

CampaignAccessBean

public CampaignAccessBean(javax.ejb.EJBObject CampaignEJBObj)
                   throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
Parameters:
CampaignEJBObj - - a Campaign EJBObject reference
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.

CampaignAccessBean

public CampaignAccessBean(java.lang.Integer campaignId,
                          java.lang.String campaignName,
                          java.lang.Integer storeId,
                          java.sql.Timestamp lastUpdate,
                          java.lang.String lastUpdatedBy)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
Parameters:
campaignId - - the internal reference number of the campaign
campaignName - - the name of the campaign
storeId - - the internal reference number of the store
lastUpdate - - the last updated date of the campaign
lastUpdatedBy - - the logon of the user who last updated the campaign
Throws:
javax.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.

CampaignAccessBean

public CampaignAccessBean(java.lang.String campaignName,
                          java.lang.Integer storeId,
                          java.sql.Timestamp lastUpdate,
                          java.lang.String lastUpdatedBy)
                   throws javax.naming.NamingException,
                          javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
Parameters:
campaignName - - the name of the campaign
storeId - - the internal reference number of the store
lastUpdate - - the last updated date of the campaign
lastUpdatedBy - - the logon of the user who last updated the campaign
Throws:
javax.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

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).
Throws:
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.

defaultJNDIName

protected java.lang.String defaultJNDIName()
Obtain the JNDI name for this EJB
Returns:
java.lang.String - the JNDI name for this EJB

findAllByStoreIdAndCampaignName

public java.util.Enumeration findAllByStoreIdAndCampaignName(java.lang.Integer storeId,
                                                             java.lang.String campaignName)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number and the campaign name.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId and T1.name = campaignName )

Parameters:
storeId - - the internal reference number of the store
campaignName - - the name of the campaign
Returns:
java.util.Enumeration - all the returned campaigns
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 - - Thrown when a naming exception is encountered.

findAllByStoreIdSortedBy

public java.util.Enumeration findAllByStoreIdSortedBy(java.lang.Integer storeId,
                                                      java.lang.String orderByColumn)
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the given column.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.orderByColumn

Parameters:
storeId - - the internal reference number of the campaign
orderByColumn - - the name of the column that will be sorted
Returns:
java.util.Enumeration - all the returned campaigns
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 - - Thrown when a naming exception is encountered.

findAllByStoreIdSortedByDescription

public java.util.Enumeration findAllByStoreIdSortedByDescription(java.lang.Integer storeId)
                                                          throws java.rmi.RemoteException,
                                                                 javax.ejb.FinderException,
                                                                 javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by description.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.description

Parameters:
storeId - - the internal reference number of the store
Returns:
java.util.Enumeration - all the returned campaigns
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 - - Thrown when a naming exception is encountered.

findAllByStoreIdSortedByLastUpdate

public java.util.Enumeration findAllByStoreIdSortedByLastUpdate(java.lang.Integer storeId)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the last updated date.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.lastupdate

Parameters:
storeId - - the internal reference number of the store
Returns:
java.util.Enumeration - all the returned campaigns
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 - - Thrown when a naming exception is encountered.

findAllByStoreIdSortedByLastUpdatedBy

public java.util.Enumeration findAllByStoreIdSortedByLastUpdatedBy(java.lang.Integer storeId)
                                                            throws java.rmi.RemoteException,
                                                                   javax.ejb.FinderException,
                                                                   javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the campaign.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.lastupdatedby

Parameters:
storeId - - the internal reference number of the store
Returns:
java.util.Enumeration - all the returned campaigns
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 - - Thrown when a naming exception is encountered.

findAllByStoreIdSortedByName

public java.util.Enumeration findAllByStoreIdSortedByName(java.lang.Integer storeId)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by name.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.name

Parameters:
storeId - - the internal reference number of the store
Returns:
java.util.Enumeration - all the returned campaigns
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 - - Thrown when a naming exception is encountered.

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
IBM internal use only.
Parameters:
arg0 - - java.lang.Long
arg1 - - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - - The java.rmi.RemoteException exception
java.lang.Exception - - The java.lang.Exception exception
javax.ejb.FinderException - - The javax.ejb.FinderException exception
javax.naming.NamingException - - The javax.naming.NamingException exception

getCampaignId

public java.lang.String getCampaignId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException
This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this campaign.

Returns:
java.lang.String
Throws:
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.

getCampaignIdInEJBType

public java.lang.Integer getCampaignIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this campaign.

Returns:
java.lang.Integer
Throws:
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.

getCampaignOwner

public java.lang.String getCampaignOwner()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException
This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The name of the owner of this campaign.

Returns:
java.lang.String
Throws:
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.

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The description of this campaign.

Returns:
java.lang.String
Throws:
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.

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException
This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field of this campaign.

Returns:
java.lang.String
Throws:
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.

getLastUpdateDate

public java.lang.String getLastUpdateDate()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The timestamp of the last updated date of this campaign.

Returns:
java.lang.String
Throws:
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.

getLastUpdateDateInEJBType

public java.sql.Timestamp getLastUpdateDateInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException
This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The timestamp of the last updated date of this campaign.

Returns:
java.sql.Timestamp
Throws:
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.

getLastUpdatedBy

public java.lang.String getLastUpdatedBy()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException
This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The logon ID of the individual who last updated this campaign.

Returns:
java.lang.String
Throws:
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.

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
This method provides access to the CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

The name of this campaign.

Returns:
java.lang.String
Throws:
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.

getObjective

public java.lang.String getObjective()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The marketing objective and goals of this campaign.

Returns:
java.lang.String
Throws:
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.

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
IBM internal use only.
Returns:
java.lang.Long
Throws:
java.lang.Exception - - The java.lang.Exception exception
java.rmi.RemoteException - - The java.rmi.RemoteException exception
javax.ejb.FinderException - - The javax.ejb.FinderException exception
javax.naming.NamingException - - The javax.naming.NamingException exception

getStatus

public java.lang.String getStatus()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException
This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The status of this campaign.

Returns:
java.lang.String
Throws:
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.

getStoreId

public java.lang.String getStoreId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this campaign belongs to. This field is a foreign key to the STOREENT table.

Returns:
java.lang.String
Throws:
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.

getStoreIdInEJBType

public java.lang.Integer getStoreIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException
This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this campaign belongs to. This field is a foreign key to the STOREENT table.

Returns:
java.lang.Integer
Throws:
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.

getType

public java.lang.String getType()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of this campaign.

Returns:
java.lang.String
Throws:
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.

getTypeInEJBType

public java.lang.Integer getTypeInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of this campaign.

Returns:
java.lang.Integer
Throws:
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.

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
IBM internal use only

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
IBM internal use only

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Load data from the EJBObject.
Throws:
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.

setCampaignId

public void setCampaignId(java.lang.Integer campaignId)
This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this campaign.

Parameters:
java.lang.Integer -  

setCampaignId

public void setCampaignId(java.lang.String campaignId)
This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this campaign.

Parameters:
java.lang.String -  

setCampaignOwner

public void setCampaignOwner(java.lang.String campaignOwner)
This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The name of the owner of this campaign.

Parameters:
java.lang.String -  

setDescription

public void setDescription(java.lang.String description)
This method provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The description of this campaign.

Parameters:
java.lang.String -  

setField1

public void setField1(java.lang.String field1)
This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field of this campaign.

Parameters:
java.lang.String -  

setInitKey_campaignId

public void setInitKey_campaignId(java.lang.String newCampaignId)
Set the primary key for this object.
Parameters:
newCampaignId - - the reference number of the campaign

setLastUpdateDate

public void setLastUpdateDate(java.lang.String lastUpdateDate)
This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The timestamp of the last updated date of this campaign.

Parameters:
java.lang.String -  

setLastUpdateDate

public void setLastUpdateDate(java.sql.Timestamp lastUpdateDate)
This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The timestamp of the last updated date of this campaign.

Parameters:
java.sql.Timestamp -  

setLastUpdatedBy

public void setLastUpdatedBy(java.lang.String lastUpdatedBy)
This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The logon ID of the individual who last updated this campaign.

Parameters:
java.lang.String -  

setName

public void setName(java.lang.String name)
This method provides access to the CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

The name of this campaign.

Parameters:
java.lang.String -  

setObjective

public void setObjective(java.lang.String objective)
This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The marketing objective and goals of this campaign.

Parameters:
java.lang.String -  

setStatus

public void setStatus(java.lang.String status)
This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The status of this campaign.

Parameters:
java.lang.String -  

setStoreId

public void setStoreId(java.lang.Integer storeId)
This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this campaign belongs to. This field is a foreign key to the STOREENT table.

Parameters:
java.lang.Integer -  

setStoreId

public void setStoreId(java.lang.String storeId)
This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this campaign belongs to. This field is a foreign key to the STOREENT table.

Parameters:
java.lang.String -  

setType

public void setType(java.lang.Integer type)
This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of this campaign.

Parameters:
java.lang.Integer -  

setType

public void setType(java.lang.String type)
This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of this campaign.

Parameters:
java.lang.String -