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

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.marketingcenter.campaign.objects.CollateralDescriptionAccessBean

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

This table holds language-dependent information related to a Collateral. This access bean corresponds to the database table 'COLLDESC'.

See Also:
Serialized Form

Constructor Summary
CollateralDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
CollateralDescriptionAccessBean(java.lang.Integer arg1, java.lang.Integer arg2)
Maps to a corresponding ejbCreate method in the home interface of the EJB.
CollateralDescriptionAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
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).
java.lang.String getCustomerField2()
This method provides access to the COLLDESC.FIELD2 column of DB2 type VARCHAR(254).
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).
java.lang.String getMarketingText()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setCollateralId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setCollateralId(java.lang.String newValue)
This method accesses a non-CMP field
void setCustomerField1(java.lang.String newValue)
This method accesses a non-CMP field
void setCustomerField2(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_collateralId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
void setLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
void setLocation(java.lang.String newValue)
This method accesses a non-CMP field
void setMarketingText(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

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 o)
                                throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CollateralDescriptionAccessBean

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

setInitKey_collateralId

public void setInitKey_collateralId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_languageId

public void setInitKey_languageId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

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

instantiateEJB

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

instantiateEJBByPrimaryKey

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

commitCopyHelper

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

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

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

refreshCopyHelper

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

Load data from the EJBObject.

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

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 Identifier of the language. For a list of language components, see the LANGUAGE table.

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

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 Identifier of the language. For a list of language components, see the LANGUAGE table.

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

setLanguageId

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

setLanguageId

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

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 that indicates the Collateral that this language specific information relates to.

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

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 that indicates the Collateral that this language specific information relates to.

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

setCollateralId

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

setCollateralId

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

getMarketingText

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

setMarketingText

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

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

The following is a description of this column:

The full image path of the Collateral in the Web application.

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

setLocation

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

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

The following is a description of this column:

Customizable.

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

setCustomerField2

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

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

The following is a description of this column:

Customizable.

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

setCustomerField1

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

Feedback