com.ibm.commerce.payment.objects
Class PaymentMethodDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.payment.objects.PaymentMethodDescriptionAccessBean
All Implemented Interfaces:
PaymentMethodDescriptionAccessBeanData, java.io.Serializable

public class PaymentMethodDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PaymentMethodDescriptionAccessBeanData

This bean provides access to the PAYMTHDDSC table.

The following is a description of this table:

This table is a site-wide table that contains a short description of the Cashier profiles in each of the supported language. This table is deprecated and is provided for backward compatibility only.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
PaymentMethodDescriptionAccessBean()
          Default constructor.
PaymentMethodDescriptionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
PaymentMethodDescriptionAccessBean(java.lang.Integer payMethodId, java.lang.Integer languageId, java.lang.String description)
          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).
 java.lang.String getDescription()
          This method provides access to the PAYMTHDDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguageId()
          This method provides access to the PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getPaymentMethodId()
          This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getPaymentMethodIdInEJBType()
          This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the PAYMTHDDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Sets the primary key for this object
 void setInitKey_paymentMethodId(java.lang.String aInitKey_paymentMethodId)
          Sets the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setPaymentMethodId(java.lang.Integer aPaymentMethodId)
          This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.
 void setPaymentMethodId(java.lang.String aPaymentMethodId)
          This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentMethodDescriptionAccessBean

public PaymentMethodDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


PaymentMethodDescriptionAccessBean

public PaymentMethodDescriptionAccessBean(javax.ejb.EJBObject object)
                                   throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

PaymentMethodDescriptionAccessBean

public PaymentMethodDescriptionAccessBean(java.lang.Integer payMethodId,
                                          java.lang.Integer languageId,
                                          java.lang.String description)
                                   throws javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
payMethodId - The ID of the payment method.
languageId - The language ID.
description - A short description of the payment method for the specified language.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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

The following is a description of this column:

Short description of the Cashier profile in the language identified by the language ID.

Specified by:
getDescription in interface PaymentMethodDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Language ID. Foreign key that references the LANGUAGE_ID column of the LANGUAGE table.

Specified by:
getLanguageId in interface PaymentMethodDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Language ID. Foreign key that references the LANGUAGE_ID column of the LANGUAGE table.

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

getPaymentMethodId

public java.lang.String getPaymentMethodId()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The unique integer ID of the Cashier profile. (Foreign key that references column payMthd_id of the PAYMTHD table.)

Specified by:
getPaymentMethodId in interface PaymentMethodDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPaymentMethodIdInEJBType

public java.lang.Integer getPaymentMethodIdInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The unique integer ID of the Cashier profile. (Foreign key that references column payMthd_id of the PAYMTHD table.)

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setDescription

public void setDescription(java.lang.String aDescription)

This method provides access to the PAYMTHDDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Short description of the Cashier profile in the language identified by the language ID.

Specified by:
setDescription in interface PaymentMethodDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Sets the primary key for this object

Parameters:
aInitKey_languageId - java.lang.String

setInitKey_paymentMethodId

public void setInitKey_paymentMethodId(java.lang.String aInitKey_paymentMethodId)

Sets the primary key for this object

Parameters:
aInitKey_paymentMethodId - java.lang.String

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

This method provides access to the PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Language ID. Foreign key that references the LANGUAGE_ID column of the LANGUAGE table.

Parameters:
aLanguageId - java.lang.Integer

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

This method provides access to the PAYMTHDDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Language ID. Foreign key that references the LANGUAGE_ID column of the LANGUAGE table.

Specified by:
setLanguageId in interface PaymentMethodDescriptionAccessBeanData
Parameters:
aLanguageId - java.lang.String

setPaymentMethodId

public void setPaymentMethodId(java.lang.Integer aPaymentMethodId)

This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The unique integer ID of the Cashier profile. (Foreign key that references column payMthd_id of the PAYMTHD table.)

Parameters:
aPaymentMethodId - java.lang.Integer

setPaymentMethodId

public void setPaymentMethodId(java.lang.String aPaymentMethodId)

This method provides access to the PAYMTHDDSC.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The unique integer ID of the Cashier profile. (Foreign key that references column payMthd_id of the PAYMTHD table.)

Specified by:
setPaymentMethodId in interface PaymentMethodDescriptionAccessBeanData
Parameters:
aPaymentMethodId - java.lang.String