com.ibm.commerce.user.objects
Class CertificateX509AccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.user.objects.CertificateX509AccessBean
All Implemented Interfaces:
CertificateX509AccessBeanData, java.io.Serializable

public class CertificateX509AccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CertificateX509AccessBeanData

This bean provides access to the CERT_X509 table.

The following is a description of this table:

This table is used to map X.509 certificate users to a unique user within the system.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CertificateX509AccessBean()
          Default constructor.
CertificateX509AccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
CertificateX509AccessBean(java.lang.Long aUserId, java.lang.String aSerialNumber, java.lang.String aIssuerOrganizationName, java.lang.String aSubjectOrganizationName, java.lang.String aSubjectCommonName, java.lang.String aStatus)
          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).
 CertificateX509AccessBean findBySerialNumberAndIssuer(java.lang.String aSerNum, java.lang.String aIssOrgNm, java.lang.String aSbjOrgNm, java.lang.String aSbjCmNm, java.lang.String aReqID)
          Find by serial number and issuer.
 java.util.Enumeration findByUserId(java.lang.Long aUserId)
          Find by user id.
 java.lang.String getIssuerOrganizationName()
          This method provides access to the CERT_X509.CTISSORGNM column of DB2 type CHAR(200) NOT NULL.
 java.lang.String getRequisitionerIdentifier()
          This method provides access to the CERT_X509.CTREQID column of DB2 type CHAR(254) NULL.
 java.lang.String getSerialNumber()
          This method provides access to the CERT_X509.CTSERNUM column of DB2 type CHAR(254) NOT NULL.
 java.lang.String getStatus()
          Status of the certificate.
 java.lang.String getSubjectCommonName()
          This method provides access to the CERT_X509.CTSBJCMNM column of DB2 type CHAR(254) NOT NULL.
 java.lang.String getSubjectEmail()
          This method provides access to the CERT_X509.CTSBJEM column of DB2 type CHAR(254) NULL.
 java.lang.String getSubjectOrganizationName()
          This method provides access to the CERT_X509.CTSBJORGNM column of DB2 type CHAR(254) NOT NULL.
 java.lang.String getUserId()
          This method provides access to the CERT_X509.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUserIdInEJBType()
          This method provides access to the CERT_X509.USERS_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_UserId(java.lang.String aInitKey_UserId)
          Set the primary key for this object
 void setIssuerOrganizationName(java.lang.String aIssuerOrganizationName)
          This method provides access to the CERT_X509.CTISSORGNM column of DB2 type CHAR(200) NOT NULL.
 void setRequisitionerIdentifier(java.lang.String aRequisitionerIdentifier)
          This method provides access to the CERT_X509.CTREQID column of DB2 type CHAR(254) NULL.
 void setSerialNumber(java.lang.String aSerialNumber)
          This method provides access to the CERT_X509.CTSERNUM column of DB2 type CHAR(254) NOT NULL.
 void setStatus(java.lang.String aStatus)
          Set the status of the certificate.
 void setSubjectCommonName(java.lang.String aSubjectCommonName)
          This method provides access to the CERT_X509.CTSBJCMNM column of DB2 type CHAR(254) NOT NULL.
 void setSubjectEmail(java.lang.String aSubjectEmail)
          This method provides access to the CERT_X509.CTSBJEM column of DB2 type CHAR(254) NULL.
 void setSubjectOrganizationName(java.lang.String aSubjectOrganizationName)
          This method provides access to the CERT_X509.CTSBJORGNM column of DB2 type CHAR(254) 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

CertificateX509AccessBean

public CertificateX509AccessBean()

Default constructor. Maps to findByPrimaryKey.


CertificateX509AccessBean

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

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CertificateX509AccessBean

public CertificateX509AccessBean(java.lang.Long aUserId,
                                 java.lang.String aSerialNumber,
                                 java.lang.String aIssuerOrganizationName,
                                 java.lang.String aSubjectOrganizationName,
                                 java.lang.String aSubjectCommonName,
                                 java.lang.String aStatus)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException

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

Parameters:
aUserId - java.lang.Long
aSerialNumber - java.lang.String
aIssuerOrganizationName - java.lang.String
aSubjectOrganizationName - java.lang.String
aSubjectCommonName - java.lang.String
aStatus - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException 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
Returns:
void
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

findBySerialNumberAndIssuer

public CertificateX509AccessBean findBySerialNumberAndIssuer(java.lang.String aSerNum,
                                                             java.lang.String aIssOrgNm,
                                                             java.lang.String aSbjOrgNm,
                                                             java.lang.String aSbjCmNm,
                                                             java.lang.String aReqID)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException

Find by serial number and issuer.

The SQL is "SELECT * FROM CERT_X509 T1 WHERE (T1.CTSERNUM = ?) AND (T1.CTISSORGNM = ?) AND (T1.CTSBJORGNM = ?) AND (T1.CTSBJCMNM = ?) AND (T1.CTREQID = ?)".

Parameters:
aSerNum - java.lang.String
aIssOrgNm - java.lang.String
aSbjOrgNm - java.lang.String
aSbjCmNm - java.lang.String
aReqID - java.lang.String
Returns:
com.ibm.commerce.user.objects.CertificateX509AccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByUserId

public java.util.Enumeration findByUserId(java.lang.Long aUserId)
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

Find by user id.

The SQL is "SELECT * FROM CERT_X509 T1 WHERE (T1.USERS_ID = ?)".

Parameters:
aUserId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getIssuerOrganizationName

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

This method provides access to the CERT_X509.CTISSORGNM column of DB2 type CHAR(200) NOT NULL.

The following is a description of this column:

The organization that issued this certificate.

Specified by:
getIssuerOrganizationName in interface CertificateX509AccessBeanData
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

getRequisitionerIdentifier

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

This method provides access to the CERT_X509.CTREQID column of DB2 type CHAR(254) NULL.

The following is a description of this column:

This is meant for Open Buying on the Internet (OBI) purposes, otherwise set to NULL.

Specified by:
getRequisitionerIdentifier in interface CertificateX509AccessBeanData
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

getSerialNumber

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

This method provides access to the CERT_X509.CTSERNUM column of DB2 type CHAR(254) NOT NULL.

The following is a description of this column:

The serial number associated with the certificate.

Specified by:
getSerialNumber in interface CertificateX509AccessBeanData
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

getStatus

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

Status of the certificate.

Specified by:
getStatus in interface CertificateX509AccessBeanData
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

getSubjectCommonName

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

This method provides access to the CERT_X509.CTSBJCMNM column of DB2 type CHAR(254) NOT NULL.

The following is a description of this column:

The name of the individual that holds this certificate.

Specified by:
getSubjectCommonName in interface CertificateX509AccessBeanData
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

getSubjectEmail

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

This method provides access to the CERT_X509.CTSBJEM column of DB2 type CHAR(254) NULL.

The following is a description of this column:

The primary e-mail address of the individual.

Specified by:
getSubjectEmail in interface CertificateX509AccessBeanData
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

getSubjectOrganizationName

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

This method provides access to the CERT_X509.CTSBJORGNM column of DB2 type CHAR(254) NOT NULL.

The following is a description of this column:

The name of the organization that this individual belongs to.

Specified by:
getSubjectOrganizationName in interface CertificateX509AccessBeanData
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

getUserId

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

This method provides access to the CERT_X509.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key that references column USERS_ID in the USERS table. This is a unique index.

Specified by:
getUserId in interface CertificateX509AccessBeanData
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

getUserIdInEJBType

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

This method provides access to the CERT_X509.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key that references column USERS_ID in the USERS table. This is a unique index.

Returns:
java.lang.Long
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
Returns:
void
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

setInitKey_UserId

public void setInitKey_UserId(java.lang.String aInitKey_UserId)

Set the primary key for this object

Parameters:
aInitKey_UserId - java.lang.String
Returns:
void

setIssuerOrganizationName

public void setIssuerOrganizationName(java.lang.String aIssuerOrganizationName)

This method provides access to the CERT_X509.CTISSORGNM column of DB2 type CHAR(200) NOT NULL.

The following is a description of this column:

The organization that issued this certificate.

Specified by:
setIssuerOrganizationName in interface CertificateX509AccessBeanData
Parameters:
aIssuerOrganizationName - java.lang.String
Returns:
void

setRequisitionerIdentifier

public void setRequisitionerIdentifier(java.lang.String aRequisitionerIdentifier)

This method provides access to the CERT_X509.CTREQID column of DB2 type CHAR(254) NULL.

The following is a description of this column:

This is meant for Open Buying on the Internet (OBI) purposes, otherwise set to NULL.

Specified by:
setRequisitionerIdentifier in interface CertificateX509AccessBeanData
Parameters:
aRequisitionerIdentifier - java.lang.String
Returns:
void

setSerialNumber

public void setSerialNumber(java.lang.String aSerialNumber)

This method provides access to the CERT_X509.CTSERNUM column of DB2 type CHAR(254) NOT NULL.

The following is a description of this column:

The serial number associated with the certificate.

Specified by:
setSerialNumber in interface CertificateX509AccessBeanData
Parameters:
aSerialNumber - java.lang.String
Returns:
void

setStatus

public void setStatus(java.lang.String aStatus)

Set the status of the certificate.

Specified by:
setStatus in interface CertificateX509AccessBeanData
Parameters:
aStatus - java.lang.String
Returns:
void

setSubjectCommonName

public void setSubjectCommonName(java.lang.String aSubjectCommonName)

This method provides access to the CERT_X509.CTSBJCMNM column of DB2 type CHAR(254) NOT NULL.

The following is a description of this column:

The name of the individual that holds this certificate.

Specified by:
setSubjectCommonName in interface CertificateX509AccessBeanData
Parameters:
aSubjectCommonName - java.lang.String
Returns:
void

setSubjectEmail

public void setSubjectEmail(java.lang.String aSubjectEmail)

This method provides access to the CERT_X509.CTSBJEM column of DB2 type CHAR(254) NULL.

The following is a description of this column:

The primary e-mail address of the individual.

Specified by:
setSubjectEmail in interface CertificateX509AccessBeanData
Parameters:
aSubjectEmail - java.lang.String
Returns:
void

setSubjectOrganizationName

public void setSubjectOrganizationName(java.lang.String aSubjectOrganizationName)

This method provides access to the CERT_X509.CTSBJORGNM column of DB2 type CHAR(254) NOT NULL.

The following is a description of this column:

The name of the organization that this individual belongs to.

Specified by:
setSubjectOrganizationName in interface CertificateX509AccessBeanData
Parameters:
aSubjectOrganizationName - java.lang.String
Returns:
void