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

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractSessionAccessBean
      com.ibm.commerce.marketingcenter.campaign.objects.MCCollateralDescriptionJDBCHelperAccessBean

public class MCCollateralDescriptionJDBCHelperAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractSessionAccessBean
See Also:
Serialized Form

Constructor Summary
MCCollateralDescriptionJDBCHelperAccessBean()
Zero argument constructor used to initialize the access bean.
MCCollateralDescriptionJDBCHelperAccessBean(javax.ejb.EJBObject o)
This method was generated by the VisualAge for Java Access Bean SmartGuide.
Method Summary
protected java.lang.String defaultJNDIName()
This method was generated by the VisualAge for Java Access Bean SmartGuide.
java.lang.String findCollateralDescriptionMarketingText(java.lang.Integer aCollateralId, java.lang.Integer aLanguageId)
This method gets the collateral marketing text of the given collateral.
java.lang.String findCollateralDescriptionMarketingText(java.lang.Integer aCollateralId, java.lang.Integer aLanguageId, boolean flush)
This method gets the collateral marketing text of the given collateral.
protected void instantiateEJB()
This method was generated by the VisualAge for Java Access Bean SmartGuide.
int updateCollateralDescriptionMarketingText(java.lang.Integer aCollateralId, java.lang.Integer aLanguageId, java.lang.String aMarketingText)
This method updates the collateral marketing text of the given collateral.
int updateCollateralDescriptionMarketingText(java.lang.Integer aCollateralId, java.lang.Integer aLanguageId, java.lang.String aMarketingText, boolean flush)
This method updates the collateral marketing text of the given collateral.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MCCollateralDescriptionJDBCHelperAccessBean

public MCCollateralDescriptionJDBCHelperAccessBean()
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.MCCollateralDescriptionJDBCHelper com.ibm.commerce.marketingcenter.campaign.objects.MCCollateralDescriptionJDBCHelperHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException

MCCollateralDescriptionJDBCHelperAccessBean

public MCCollateralDescriptionJDBCHelperAccessBean(javax.ejb.EJBObject o)
                                            throws java.rmi.RemoteException
This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
Method Detail

defaultJNDIName

protected java.lang.String defaultJNDIName()
This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.

instantiateEJB

protected void instantiateEJB()
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.naming.NamingException
This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

updateCollateralDescriptionMarketingText

public int updateCollateralDescriptionMarketingText(java.lang.Integer aCollateralId,
                                                    java.lang.Integer aLanguageId,
                                                    java.lang.String aMarketingText)
                                             throws javax.naming.NamingException,
                                                    java.sql.SQLException,
                                                    java.rmi.RemoteException,
                                                    javax.ejb.CreateException
This method updates the collateral marketing text of the given collateral. This field will be updated upon successful completion: COLLDESC.MARKETINGTEXT
Parameters:
aCollateralId - - the internal reference number of the collateral
aLanguageId - - the internal reference number of the language the description is in
aMarketingText - - the marketing text of the collateral
Returns:
int - the total number of rows that have been successfully updated
Throws:
javax.naming.NamingException - - Thrown when a naming exception is encountered.
java.sql.SQLException - - Thrown when an error occurs during the execution of the SQL prepared statement.
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.CreateException

updateCollateralDescriptionMarketingText

public int updateCollateralDescriptionMarketingText(java.lang.Integer aCollateralId,
                                                    java.lang.Integer aLanguageId,
                                                    java.lang.String aMarketingText,
                                                    boolean flush)
                                             throws javax.naming.NamingException,
                                                    java.sql.SQLException,
                                                    java.rmi.RemoteException,
                                                    javax.ejb.CreateException
This method updates the collateral marketing text of the given collateral. This field will be updated upon successful completion: COLLDESC.MARKETINGTEXT
Parameters:
aCollateralId - - the internal reference number of the collateral
aLanguageId - - the internal reference number of the language the description is in
aMarketingText - - the marketing text of the collateral
flush - - the flag indicates that if a flush is needed
Returns:
int - the total number of rows that have been successfully updated
Throws:
javax.naming.NamingException - - Thrown when a naming exception is encountered.
java.sql.SQLException - - Thrown when an error occurs during the execution of the SQL prepared statement.
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.CreateException

findCollateralDescriptionMarketingText

public java.lang.String findCollateralDescriptionMarketingText(java.lang.Integer aCollateralId,
                                                               java.lang.Integer aLanguageId)
                                                        throws javax.naming.NamingException,
                                                               java.sql.SQLException,
                                                               java.rmi.RemoteException,
                                                               javax.ejb.CreateException
This method gets the collateral marketing text of the given collateral. This field will be loaded upon successful completion: COLLDESC.MARKETINGTEXT
Parameters:
aCollateralId - - the internal reference number of the collateral
aLanguageId - - the internal reference number of the language the description is in
Returns:
java.lang.String - the marketing text of the collateral
Throws:
javax.naming.NamingException - - Thrown when a naming exception is encountered.
java.sql.SQLException - - Thrown when an error occurs during the execution of the SQL prepared statement.
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.CreateException

findCollateralDescriptionMarketingText

public java.lang.String findCollateralDescriptionMarketingText(java.lang.Integer aCollateralId,
                                                               java.lang.Integer aLanguageId,
                                                               boolean flush)
                                                        throws javax.naming.NamingException,
                                                               java.sql.SQLException,
                                                               java.rmi.RemoteException,
                                                               javax.ejb.CreateException
This method gets the collateral marketing text of the given collateral. This field will be loaded upon successful completion: COLLDESC.MARKETINGTEXT
Parameters:
aCollateralId - - the internal reference number of the collateral
aLanguageId - - the internal reference number of the language the description is in
flush - - the flag indicates that if a flush is needed
Returns:
java.lang.String - the marketing text of the collateral
Throws:
javax.naming.NamingException - - Thrown when a naming exception is encountered.
java.sql.SQLException - - Thrown when an error occurs during the execution of the SQL prepared statement.
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.CreateException

Feedback