public class PaymentMethodAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements PaymentMethodAccessBeanData
Constructor and Description |
---|
PaymentMethodAccessBean()
Zero argument constructor used to initialize the access bean.
|
PaymentMethodAccessBean(javax.ejb.EJBObject o) |
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByStore(java.lang.Integer storeId)
Retrieves all the payment methods that the Store supports.
|
PaymentMethodAccessBean | findByStoreAndPaymentMethod(java.lang.Integer storeId, java.lang.Integer paymentMethodId)
Retrieves the PaymentMethodAccessBean representing the payment method with the specified ID that the Store supports.
|
PaymentMethodDescriptionAccessBean | getDescription(java.lang.Integer arg1, java.lang.Integer arg2)
Return a PaymentMethodDescriptionAccessBean object associated this payment method for the specified arg1.
|
java.lang.String | getPaymentMethodId() |
java.lang.Integer | getPaymentMethodIdInEJBType() |
java.lang.String | getProfileName() |
java.lang.String | getSupportedProfileName(java.lang.Integer arg1)
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() |
void | setInitKey_paymentMethodId(java.lang.String newValue) |
void | setProfileName(java.lang.String newValue) |
public PaymentMethodAccessBean()
public PaymentMethodAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public PaymentMethodAccessBean findByStoreAndPaymentMethod(java.lang.Integer storeId, java.lang.Integer paymentMethodId) 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 = ?)
public java.util.Enumeration findByStore(java.lang.Integer storeId) 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 = ?)
public void setInitKey_paymentMethodId(java.lang.String newValue)
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws 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
public void refreshCopyHelper() throws 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
public java.lang.Integer getPaymentMethodIdInEJBType() throws 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
public void setProfileName(java.lang.String newValue)
public PaymentMethodDescriptionAccessBean getDescription(java.lang.Integer arg1, java.lang.Integer arg2) 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.
public java.lang.String getSupportedProfileName(java.lang.Integer arg1) 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.