java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.marketingcenter.objects.CampaignAccessBean
This table contains the meta-information for a campaign. This table is used by the Marketing subsystem. This access bean corresponds to the database table 'CAMPAIGN'.
Constructor Summary | |
CampaignAccessBean() Zero argument constructor used to initialize the access bean. |
|
CampaignAccessBean(java.lang.Integer campaignId, java.lang.String name, java.lang.Integer storeId, java.sql.Timestamp lastUpdateDate, java.lang.String lastUpdatedBy) Maps to a corresponding ejbCreate method in the home interface of the EJB. |
|
CampaignAccessBean(javax.ejb.EJBObject o) constructor |
|
CampaignAccessBean(java.lang.String name, java.lang.Integer storeId, java.sql.Timestamp lastUpdateDate, 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() |
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 column) 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) |
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). |
java.lang.String | getDescription() This method provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getField1() This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254). |
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). |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getStatus() This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1). |
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. |
java.lang.Integer | getTypeInEJBType() This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCampaignId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCampaignId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCampaignOwner(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_campaignId(java.lang.String newValue) Set the primary key for this object |
void | setLastUpdateDate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastUpdateDate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setLastUpdatedBy(java.lang.String newValue) This method accesses a non-CMP field |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setObjective(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(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 | setType(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setType(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 |
public CampaignAccessBean()
public CampaignAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CampaignAccessBean(java.lang.Integer campaignId, java.lang.String name, java.lang.Integer storeId, java.sql.Timestamp lastUpdateDate, java.lang.String lastUpdatedBy) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public CampaignAccessBean(java.lang.String name, java.lang.Integer storeId, java.sql.Timestamp lastUpdateDate, java.lang.String lastUpdatedBy) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Method Detail |
public java.util.Enumeration findAllByStoreIdAndCampaignName(java.lang.Integer storeId, java.lang.String campaignName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId and T1.name = campaignName )
public java.util.Enumeration findAllByStoreIdSortedBy(java.lang.Integer storeId, java.lang.String column) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.column
public java.util.Enumeration findAllByStoreIdSortedByDescription(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.description
public java.util.Enumeration findAllByStoreIdSortedByLastUpdate(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.lastupdate
public java.util.Enumeration findAllByStoreIdSortedByLastUpdatedBy(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.lastupdatedby
public java.util.Enumeration findAllByStoreIdSortedByName(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.name
public void setInitKey_campaignId(java.lang.String newValue)
Set the primary key for this object
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
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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).
The following is a description of this column:
This field contains the name of the owner of the campaign.
public void setCampaignOwner(java.lang.String newValue)
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).
The following is a description of this column:
This field provides a description of the campaign.
public void setDescription(java.lang.String newValue)
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:
This field contains the logon ID of the individual who last updated the campaign.
public void setLastUpdatedBy(java.lang.String newValue)
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:
This field contains the timestamp for the last updates made to the campaign.
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:
This field contains the timestamp for the last updates made to the campaign.
public void setLastUpdateDate(java.lang.String newValue)
public void setLastUpdateDate(java.sql.Timestamp newValue)
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).
The following is a description of this column:
Customizable.
public void setField1(java.lang.String newValue)
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).
The following is a description of this column:
This field contains the objectives and goals that the campaign intend to reach.
public void setObjective(java.lang.String newValue)
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:
This field contains the store ID to which the campaign belongs.
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:
This field contains the store ID to which the campaign belongs.
public void setStoreId(java.lang.String newValue)
public void setStoreId(java.lang.Integer newValue)
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:
Primary key.
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:
Primary key.
public void setCampaignId(java.lang.String newValue)
public void setCampaignId(java.lang.Integer newValue)
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).
The following is a description of this column:
Reserved for IBM internal use.
public void setStatus(java.lang.String newValue)
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.
The following is a description of this column:
Reserved for IBM internal use.
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.
The following is a description of this column:
Reserved for IBM internal use.
public void setType(java.lang.String newValue)
public void setType(java.lang.Integer newValue)
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:
This field contains the name of the campaign.
public void setName(java.lang.String newValue)
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 java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.