com.ibm.commerce.marketingcenter.campaign.objects
Class CollateralDescriptionAccessBean

com.ibm.commerce.marketingcenter.campaign.objects.CollateralDescriptionAccessBean

public class CollateralDescriptionAccessBean

This bean provides access to the COLLDESC table.

The following is a description of this table:

This table holds the information related to a collateral description.


Constructor Summary
CollateralDescriptionAccessBean()
          Zero argument constructor used to initialize the access bean.
CollateralDescriptionAccessBean(javax.ejb.EJBObject CollateralDescriptionEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
CollateralDescriptionAccessBean(java.lang.Integer collateralId, java.lang.Integer languageId)
          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.lang.String getCollateralId()
          This method provides access to the COLLDESC.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCollateralIdInEJBType()
          This method provides access to the COLLDESC.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCustomerField1()
          This method provides access to the COLLDESC.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCustomerField2()
          This method provides access to the COLLDESC.FIELD2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguageId()
          This method provides access to the COLLDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the COLLDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLocation()
          This method provides access to the COLLDESC.LOCATION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getMarketingText()
          This method provides access to the COLLDESC.MARKETINGTEXT column of DB2 type LONG VARCHAR(32700) NULL.
protected  void instantiateEJB()
          IBM internal use only
protected  boolean instantiateEJBByPrimaryKey()
          IBM internal use only
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCollateralId(java.lang.Integer collateralId)
          This method provides access to the COLLDESC.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 void setCollateralId(java.lang.String collateralId)
          This method provides access to the COLLDESC.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 void setCustomerField1(java.lang.String customerField1)
          This method provides access to the COLLDESC.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setCustomerField2(java.lang.String customerField2)
          This method provides access to the COLLDESC.FIELD2 column of DB2 type VARCHAR(254) NULL.
 void setInitKey_collateralId(java.lang.String newCollateralId)
          Set the primary key for this object.
 void setInitKey_languageId(java.lang.String newLanguageId)
          Set the primary key for this object.
 void setLanguageId(java.lang.Integer languageId)
          This method provides access to the COLLDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String languageId)
          This method provides access to the COLLDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLocation(java.lang.String location)
          This method provides access to the COLLDESC.LOCATION column of DB2 type VARCHAR(254) NULL.
 void setMarketingText(java.lang.String marketingText)
          This method provides access to the COLLDESC.MARKETINGTEXT column of DB2 type LONG VARCHAR(32700) NULL.
 

Constructor Detail

CollateralDescriptionAccessBean

public CollateralDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.marketingcenter.campaign.objects.CollateralDescription com.ibm.commerce.marketingcenter.campaign.objimpl.CollateralDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.marketingcenter.campaign.objects.CollateralDescriptionKey) 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_collateralId( java.lang.Integer ) setInitKey_languageId( java.lang.Integer )

CollateralDescriptionAccessBean

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

CollateralDescriptionAccessBean

public CollateralDescriptionAccessBean(java.lang.Integer collateralId,
                                       java.lang.Integer languageId)
                                throws javax.ejb.CreateException,
                                       java.rmi.RemoteException,
                                       javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
Parameters:
collateralId - - the internal reference number of the collateral
languageId - - the internal reference number of the language
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

getCollateralId

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

The following is a description of this column:

The internal reference number of this collateral. This field is a foreign key to the COLLATERAL 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.

getCollateralIdInEJBType

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

The following is a description of this column:

The internal reference number of this collateral. This field is a foreign key to the COLLATERAL 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.

getCustomerField1

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

The following is a description of this column:

The customizable field 1 of this collateral description.

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.

getCustomerField2

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

The following is a description of this column:

The customizable field 2 of this collateral description.

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.

getLanguageId

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

The following is a description of this column:

The internal reference number of the language in which this collateral description is in. This field is a foreign key to the LANGUAGE 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.

getLanguageIdInEJBType

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

The following is a description of this column:

The internal reference number of the language in which this collateral description is in. This field is a foreign key to the LANGUAGE 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.

getLocation

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

The following is a description of this column:

The image location of this collateral.

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.

getMarketingText

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

The following is a description of this column:

The marketing text of this collateral.

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.

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.

setCollateralId

public void setCollateralId(java.lang.Integer collateralId)
This method provides access to the COLLDESC.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this collateral. This field is a foreign key to the COLLATERAL table.

Parameters:
java.lang.Integer -  

setCollateralId

public void setCollateralId(java.lang.String collateralId)
This method provides access to the COLLDESC.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this collateral. This field is a foreign key to the COLLATERAL table.

Parameters:
java.lang.String -  

setCustomerField1

public void setCustomerField1(java.lang.String customerField1)
This method provides access to the COLLDESC.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field 1 of this collateral description.

Parameters:
java.lang.String -  

setCustomerField2

public void setCustomerField2(java.lang.String customerField2)
This method provides access to the COLLDESC.FIELD2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field 2 of this collateral description.

Parameters:
java.lang.String -  

setInitKey_collateralId

public void setInitKey_collateralId(java.lang.String newCollateralId)
Set the primary key for this object.
Parameters:
newCollateralId - - the reference number of the collateral

setInitKey_languageId

public void setInitKey_languageId(java.lang.String newLanguageId)
Set the primary key for this object.
Parameters:
newLanguageId - - the reference number of the language

setLanguageId

public void setLanguageId(java.lang.Integer languageId)
This method provides access to the COLLDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the language in which this collateral description is in. This field is a foreign key to the LANGUAGE table.

Parameters:
java.lang.Integer -  

setLanguageId

public void setLanguageId(java.lang.String languageId)
This method provides access to the COLLDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the language in which this collateral description is in. This field is a foreign key to the LANGUAGE table.

Parameters:
java.lang.String -  

setLocation

public void setLocation(java.lang.String location)
This method provides access to the COLLDESC.LOCATION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The image location of this collateral.

Parameters:
java.lang.String -  

setMarketingText

public void setMarketingText(java.lang.String marketingText)
This method provides access to the COLLDESC.MARKETINGTEXT column of DB2 type LONG VARCHAR(32700) NULL.

The following is a description of this column:

The marketing text of this collateral.

Parameters:
java.lang.String -