com.ibm.commerce.marketingcenter.objects
Class InitiativeAccessBean

com.ibm.commerce.marketingcenter.objects.InitiativeAccessBean

public class InitiativeAccessBean

This bean provides access to the INITIATIVE table.

The following is a description of this table:

This table holds the information related to an Initiative.


Constructor Summary
InitiativeAccessBean()
          Zero argument constructor used to initialize the access bean.
InitiativeAccessBean(javax.ejb.EJBObject InitiativeEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
InitiativeAccessBean(java.lang.Integer initiativeId, java.lang.Integer storeId, java.lang.String initiativeName, java.sql.Timestamp lastUpdate, java.lang.String lastUpdatedBy)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
InitiativeAccessBean(java.lang.Integer storeId, java.lang.String initiativeName, 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 findAllByStoreIdSortedBy(java.lang.Integer storeId, java.lang.String orderByColumn)
          This finder returns all the initiatives 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 initiatives 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 initiatives 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 initiatives in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the initiative.
 java.util.Enumeration findAllByStoreIdSortedByName(java.lang.Integer storeId)
          This finder returns all the initiatives in an enumeration with the given store reference number, sorted by name.
 InitiativeAccessBean findByStoreIdAndName(java.lang.Integer storeId, java.lang.String initiativeName)
          This finder returns the initiative in an access bean with the given store reference number and initiative 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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getCampaignIdInEJBType()
          This method provides access to the INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER NULL.
 java.lang.String getDescription()
          This method provides access to the INITIATIVE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField1()
          This method provides access to the INITIATIVE.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getInitiativeId()
          This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getInitiativeIdInEJBType()
          This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastUpdateDate()
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getLastUpdateDateInEJBType()
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getLastUpdatedBy()
          This method provides access to the INITIATIVE.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getName()
          This method provides access to the INITIATIVE.NAME column of DB2 type VARCHAR(64) NOT NULL.
 java.lang.Long getOwner()
          IBM internal use only.
 java.lang.String getResultType()
          This method provides access to the INITIATIVE.RESULTTYPE column of DB2 type CHAR(1) NULL.
 java.lang.String getRule()
          This method provides access to the INITIATIVE.RULE column of DB2 type LONG VARCHAR NULL.
 java.lang.String getSellType()
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER NULL.
 java.lang.Integer getSellTypeInEJBType()
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER NULL.
 java.lang.String getStatus()
          This method provides access to the INITIATIVE.STATUS column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getStoreId()
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getType()
          This method provides access to the INITIATIVE.TYPE column of DB2 type INTEGER NULL.
 java.lang.Integer getTypeInEJBType()
          This method provides access to the INITIATIVE.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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER NULL.
 void setCampaignId(java.lang.String campaignId)
          This method provides access to the INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER NULL.
 void setDescription(java.lang.String description)
          This method provides access to the INITIATIVE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setField1(java.lang.String field1)
          This method provides access to the INITIATIVE.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setInitiativeId(java.lang.Integer initiativeId)
          This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.
 void setInitiativeId(java.lang.String initiativeId)
          This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.
 void setInitKey_initiativeId(java.lang.String newInitiativeId)
          Set the primary key for this object.
 void setLastUpdateDate(java.lang.String lastUpdateDate)
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdateDate(java.sql.Timestamp lastUpdateDate)
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdatedBy(java.lang.String lastUpdatedBy)
          This method provides access to the INITIATIVE.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 void setName(java.lang.String name)
          This method provides access to the INITIATIVE.NAME column of DB2 type VARCHAR(64) NOT NULL.
 void setResultType(java.lang.String resultType)
          This method provides access to the INITIATIVE.RESULTTYPE column of DB2 type CHAR(1) NULL.
 void setRule(java.lang.String rule)
          This method provides access to the INITIATIVE.RULE column of DB2 type LONG VARCHAR NULL.
 void setSellType(java.lang.Integer sellType)
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER NULL.
 void setSellType(java.lang.String sellType)
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER NULL.
 void setStatus(java.lang.String status)
          This method provides access to the INITIATIVE.STATUS column of DB2 type CHAR(1) NOT NULL.
 void setStoreId(java.lang.Integer storeId)
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String storeId)
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setType(java.lang.Integer type)
          This method provides access to the INITIATIVE.TYPE column of DB2 type INTEGER NULL.
 void setType(java.lang.String type)
          This method provides access to the INITIATIVE.TYPE column of DB2 type INTEGER NULL.
 

Constructor Detail

InitiativeAccessBean

public InitiativeAccessBean()
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.Initiative com.ibm.commerce.marketingcenter.objects.InitiativeHome.findByPrimaryKey(com.ibm.commerce.marketingcenter.objects.InitiativeKey) 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_initiativeId( java.lang.Integer )

InitiativeAccessBean

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

InitiativeAccessBean

public InitiativeAccessBean(java.lang.Integer initiativeId,
                            java.lang.Integer storeId,
                            java.lang.String initiativeName,
                            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:
initiativeId - - the internal reference number of the initiative
storeId - - the internal reference number of the store
initiativeName - - the name of the initiative
lastUpdate - - the last updated date of the initiative
lastUpdatedBy - - the logon of the user who last updated the initiative
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.

InitiativeAccessBean

public InitiativeAccessBean(java.lang.Integer storeId,
                            java.lang.String initiativeName,
                            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:
storeId - - the internal reference number of the store
initiativeName - - the name of the initiative
lastUpdate - - the last updated date of the initiative
lastUpdatedBy - - the logon of the user who last updated the initiative
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

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 initiatives in an enumeration with the given store reference number, sorted by the given column.

SQL:

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

Parameters:
storeId - - the internal reference number of the store
orderByColumn - - the name of the column that will be sorted
Returns:
java.util.Enumeration - all the returned initiatives
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 initiatives in an enumeration with the given store reference number, sorted by description.

SQL:

SELECT * FROM INITIATIVE 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 initiatives
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 initiatives in an enumeration with the given store reference number, sorted by the last updated date.

SQL:

SELECT * FROM INITIATIVE 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 initiatives
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 initiatives in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the initiative.

SQL:

SELECT * FROM INITIATIVE 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 initiatives
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 initiatives in an enumeration with the given store reference number, sorted by name.

SQL:

SELECT * FROM INITIATIVE 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 initiatives
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.

findByStoreIdAndName

public InitiativeAccessBean findByStoreIdAndName(java.lang.Integer storeId,
                                                 java.lang.String initiativeName)
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException
This finder returns the initiative in an access bean with the given store reference number and initiative name.

SQL:

SELECT * FROM INITIATIVE T1 WHERE (T1.storeent_id = storeId and T1.name = initiativeName)

Parameters:
storeId - - the internal reference number of the store
initiativeName - - the name of the initiative
Returns:
com.ibm.commerce.marketingcenter.objects.InitiativeAccessBean - the returned initiative
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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The internal reference number of the campaign in which this initiative belongs to. This field is a foreign key to the CAMPAIGN 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.

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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The internal reference number of the campaign in which this initiative belongs to. This field is a foreign key to the CAMPAIGN 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.

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 INITIATIVE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The description of this initiative.

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 INITIATIVE.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field of this initiative.

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.

getInitiativeId

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

The following is a description of this column:

The internal reference number of this initiative.

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.

getInitiativeIdInEJBType

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

The following is a description of this column:

The internal reference number of this initiative.

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.

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 INITIATIVE.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 initiative.

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 INITIATIVE.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 initiative.

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 INITIATIVE.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 initiative.

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 INITIATIVE.NAME column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

The name of this initiative.

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

getResultType

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

The following is a description of this column:

The result type of this initiative.

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.

getRule

public java.lang.String getRule()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
This method provides access to the INITIATIVE.RULE column of DB2 type LONG VARCHAR NULL.

The following is a description of this column:

The rule XML document of this initiative.

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.

getSellType

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

The following is a description of this column:

The sell type of this initiative.

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.

getSellTypeInEJBType

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

The following is a description of this column:

The sell type of this initiative.

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.

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 INITIATIVE.STATUS column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

The status of this initiative.

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 INITIATIVE.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 initiative 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 INITIATIVE.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 initiative 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 INITIATIVE.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of this initiative.

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 INITIATIVE.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of this initiative.

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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

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

Parameters:
java.lang.Integer -  

setCampaignId

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

The following is a description of this column:

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

Parameters:
java.lang.String -  

setDescription

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

The following is a description of this column:

The description of this initiative.

Parameters:
java.lang.String -  

setField1

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

The following is a description of this column:

The customizable field of this initiative.

Parameters:
java.lang.String -  

setInitiativeId

public void setInitiativeId(java.lang.Integer initiativeId)
This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this initiative.

Parameters:
java.lang.Integer -  

setInitiativeId

public void setInitiativeId(java.lang.String initiativeId)
This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this initiative.

Parameters:
java.lang.String -  

setInitKey_initiativeId

public void setInitKey_initiativeId(java.lang.String newInitiativeId)
Set the primary key for this object.
Parameters:
newInitiativeId - - the reference number of the initiative

setLastUpdateDate

public void setLastUpdateDate(java.lang.String lastUpdateDate)
This method provides access to the INITIATIVE.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 initiative.

Parameters:
java.lang.String -  

setLastUpdateDate

public void setLastUpdateDate(java.sql.Timestamp lastUpdateDate)
This method provides access to the INITIATIVE.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 initiative.

Parameters:
java.sql.Timestamp -  

setLastUpdatedBy

public void setLastUpdatedBy(java.lang.String lastUpdatedBy)
This method provides access to the INITIATIVE.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 initiative.

Parameters:
java.lang.String -  

setName

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

The following is a description of this column:

The name of this initiative.

Parameters:
java.lang.String -  

setResultType

public void setResultType(java.lang.String resultType)
This method provides access to the INITIATIVE.RESULTTYPE column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The result type of this initiative.

Parameters:
java.lang.String -  

setRule

public void setRule(java.lang.String rule)
This method provides access to the INITIATIVE.RULE column of DB2 type LONG VARCHAR NULL.

The following is a description of this column:

The rule XML document of this initiative.

Parameters:
java.lang.String -  

setSellType

public void setSellType(java.lang.Integer sellType)
This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The sell type of this initiative.

Parameters:
java.lang.Integer -  

setSellType

public void setSellType(java.lang.String sellType)
This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The sell type of this initiative.

Parameters:
java.lang.String -  

setStatus

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

The following is a description of this column:

The status of this initiative.

Parameters:
java.lang.String -  

setStoreId

public void setStoreId(java.lang.Integer storeId)
This method provides access to the INITIATIVE.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 initiative 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 INITIATIVE.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 initiative 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 INITIATIVE.TYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of this initiative.

Parameters:
java.lang.Integer -  

setType

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

The following is a description of this column:

The type of this initiative.

Parameters:
java.lang.String -