|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.payment.objects.CreditCardCheckAccessBean
This bean provides access to the CCCHECK table.
The following is a description of this table:
The Credit Card Check table is used to store the length and prefix of credit cards. This information is used by the CheckCCNumber Task Command to help determine the validity of the credit card number. Initially, the Credit Card Check table is empty.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
CreditCardCheckAccessBean()
Default constructor. |
|
CreditCardCheckAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByType(java.lang.String type)
Retrieves all the CreditCardCheckAccessBeans representing entries in the CCCHECK table for the specified credit card brand, also referred to as credit card type. |
java.lang.String |
getCardType()
This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL. |
java.lang.String |
getCheckTaskName()
This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL. |
java.lang.String |
getCreditCardReferenceNumber()
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCreditCardReferenceNumberInEJBType()
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getLength()
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLengthInEJBType()
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getPrefix()
This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCardType(java.lang.String aCardType)
This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL. |
void |
setCheckTaskName(java.lang.String aCheckTaskName)
This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL. |
void |
setCreditCardReferenceNumber(java.lang.Integer aCreditCardReferenceNumber)
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL. |
void |
setCreditCardReferenceNumber(java.lang.String aCreditCardReferenceNumber)
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_creditCardReferenceNumber(java.lang.String aInitKey_creditCardReferenceNumber)
Sets the primary key for this object |
void |
setLength(java.lang.Integer aLength)
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL. |
void |
setLength(java.lang.String aLength)
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL. |
void |
setPrefix(java.lang.String aPrefix)
This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) 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 |
public CreditCardCheckAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CreditCardCheckAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByType(java.lang.String type) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the CreditCardCheckAccessBeans representing entries in the CCCHECK table for the specified credit card brand, also referred to as credit card type.
The SQL query used to fetch the requested row from the CCCHECK table is:
SELECT * FROM CCCHECK T1 WHERE T1.CCTYPE = ?
type
- The credit card brand.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCardType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL.
The following is a description of this column:
The credit card brand. (This is a case-sensitive string and is used as a search key for a query to this table.)
getCardType
in interface CreditCardCheckAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCheckTaskName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL.
The following is a description of this column:
The task command interface name to be called by the default CheckCCNumber task command to perform an algorithmic check of the credit card number after passing the length and prefix check. Example: com.ibm.commerce.payment.commands.DoLuhnCheckCmd
getCheckTaskName
in interface CreditCardCheckAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCreditCardReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the primary key. The combination of CCTYPE, CCLENGTH and CCPREFIX must be unique.
getCreditCardReferenceNumber
in interface CreditCardCheckAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getCreditCardReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the primary key. The combination of CCTYPE, CCLENGTH and CCPREFIX must be unique.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getLength() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the credit card number length.
getLength
in interface CreditCardCheckAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getLengthInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the credit card number length.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getPrefix() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
This is the credit card prefix.
getPrefix
in interface CreditCardCheckAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setCardType(java.lang.String aCardType)
This method provides access to the CCCHECK.CCTYPE column of DB2 type VARCHAR(40) NOT NULL.
The following is a description of this column:
The credit card brand. (This is a case-sensitive string and is used as a search key for a query to this table.)
setCardType
in interface CreditCardCheckAccessBeanData
aCardType
- java.lang.Stringpublic void setCheckTaskName(java.lang.String aCheckTaskName)
This method provides access to the CCCHECK.CCALGTASKRN column of DB2 type VARCHAR(256) NULL.
The following is a description of this column:
The task command interface name to be called by the default CheckCCNumber task command to perform an algorithmic check of the credit card number after passing the length and prefix check. Example: com.ibm.commerce.payment.commands.DoLuhnCheckCmd
setCheckTaskName
in interface CreditCardCheckAccessBeanData
aCheckTaskName
- java.lang.Stringpublic void setCreditCardReferenceNumber(java.lang.Integer aCreditCardReferenceNumber)
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the primary key. The combination of CCTYPE, CCLENGTH and CCPREFIX must be unique.
aCreditCardReferenceNumber
- java.lang.Integerpublic void setCreditCardReferenceNumber(java.lang.String aCreditCardReferenceNumber)
This method provides access to the CCCHECK.CCRFNBR column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the primary key. The combination of CCTYPE, CCLENGTH and CCPREFIX must be unique.
setCreditCardReferenceNumber
in interface CreditCardCheckAccessBeanData
aCreditCardReferenceNumber
- java.lang.Stringpublic void setInitKey_creditCardReferenceNumber(java.lang.String aInitKey_creditCardReferenceNumber)
Sets the primary key for this object
aInitKey_creditCardReferenceNumber
- The internal ID of the CreditCardCheck Table entry.public void setLength(java.lang.Integer aLength)
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the credit card number length.
aLength
- java.lang.Integerpublic void setLength(java.lang.String aLength)
This method provides access to the CCCHECK.CCLENGTH column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This is the credit card number length.
setLength
in interface CreditCardCheckAccessBeanData
aLength
- java.lang.Stringpublic void setPrefix(java.lang.String aPrefix)
This method provides access to the CCCHECK.CCPREFIX column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
This is the credit card prefix.
setPrefix
in interface CreditCardCheckAccessBeanData
aPrefix
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |