java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.payment.objects.PaymentMethodAccessBean
This table is a site-wide table that lists all the Cashier profiles used in the store group. Each profile has a unique integer ID and a name. This table is &l
Constructor Summary | |
---|---|
PaymentMethodAccessBean() constructor | |
PaymentMethodAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByStore(java.lang.Integer arg0) Retrieves all the payment methods that the Store supports. |
PaymentMethodAccessBean |
findByStoreAndPaymentMethod(java.lang.Integer arg0,
java.lang.Integer arg1) Retrieves the PaymentMethodAccessBean representing the payment method with the specified ID that the Store supports. |
PaymentMethodDescriptionAccessBean |
getDescription(java.lang.Integer arg0,
java.lang.Integer arg1) Return a PaymentMethodDescriptionAccessBean object associated this payment method for the specified arg1. |
java.lang.String |
getPaymentMethodId() This method provides access to the PAYMTHD.PAYMTHD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getPaymentMethodIdInEJBType() This method provides access to the PAYMTHD.PAYMTHD_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getProfileName() This method provides access to the PAYMTHD.PROFILENAME column of DB2 type VARCHAR(64) NOT NULL. |
java.lang.String |
getSupportedProfileName(java.lang.Integer arg0) Returns the profile name if this payment method is supported by the specified Store, otherwise returns null. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setInitKey_paymentMethodId(java.lang.String newValue) Set the primary key for this object |
void |
setProfileName(java.lang.String newValue) This method provides access to the PAYMTHD.PROFILENAME column of DB2 type VARCHAR(64) NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public PaymentMethodAccessBean()
public PaymentMethodAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public PaymentMethodAccessBean findByStoreAndPaymentMethod(java.lang.Integer arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the PaymentMethodAccessBean representing the payment method with the specified ID that the Store supports.
The SQL query used to fetch the requested row from the PAYMTHD table is:
SELECT * FROM PAYMTHD T1 WHERE T1.PAYMTHD_ID = (SELECT PAYMTHDSUP.PAYMTHD_ID FROM PAYMTHDSUP WHERE PAYMTHDSUP.STOREENT_ID = ? AND PAYMTHDSUP.PAYMTHD_ID = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- If the Store does not support the
payment method with the specified paymentMethodId.javax.naming.NamingException
public java.util.Enumeration findByStore(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the payment methods that the Store supports.
The SQL query used to fetch all the required rows from the PAYMTHD table is:
SELECT * FROM PAYMTHD T1 WHERE T1.PAYMTHD_ID IN (SELECT PAYMTHDSUP.PAYMTHD_ID FROM PAYMTHDSUP WHERE PAYMTHDSUP.STOREENT_ID = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_paymentMethodId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getPaymentMethodId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PAYMTHD.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The unique integer ID of the profile.
getPaymentMethodId
in interface
PaymentMethodAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getPaymentMethodIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PAYMTHD.PAYMTHD_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The unique integer ID of the profile.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getProfileName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PAYMTHD.PROFILENAME column of DB2 type VARCHAR(64) NOT NULL.
The following is a description of this column:
The name of the profile. It must be the same as the simple filename, without the suffix .profile, of the XML file that contains the cashier profile. (Note that the name is case-sensitive and must include the name of the Cassette as a substring.)
getProfileName
in interface
PaymentMethodAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setProfileName(java.lang.String newValue)
This method provides access to the PAYMTHD.PROFILENAME column of DB2 type VARCHAR(64) NOT NULL.
The following is a description of this column:
The name of the profile. It must be the same as the simple filename, without the suffix .profile, of the XML file that contains the cashier profile. (Note that the name is case-sensitive and must include the name of the Cassette as a substring.)
setProfileName
in interface
PaymentMethodAccessBeanData
newValue
- java.lang.Stringpublic PaymentMethodDescriptionAccessBean getDescription(java.lang.Integer arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Return a PaymentMethodDescriptionAccessBean object associated this payment method for the specified arg1. If there is no description for the specified language, the alternative languages for arg1 and arg2 will be used to get an appropriate description.
arg1
- The language ID.javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic java.lang.String getSupportedProfileName(java.lang.Integer arg0) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Returns the profile name if this payment method is supported by the specified Store, otherwise returns null.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exception