com.ibm.commerce.user.objects
Class CertificateX509AccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.user.objects.CertificateX509AccessBean
All Implemented Interfaces:
CertificateX509AccessBeanData

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

This table is used to map X.509 certificate users to a unique user within the WebSphere Commerce system. This access bean corresponds to the database table 'CERT_X509'.

See Also:
Serialized Form

Constructor Summary
CertificateX509AccessBean()
Zero argument constructor used to initialize the access bean.
CertificateX509AccessBean(javax.ejb.EJBObject o)
constructor
CertificateX509AccessBean(java.lang.Long arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5, java.lang.String arg6)
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).
protected java.lang.String defaultJNDIName()
CertificateX509AccessBean findBySerialNumberAndIssuer(java.lang.String aSerialNumber, java.lang.String aIssuerOrganizationName, java.lang.String aSubjectOrganizationName, java.lang.String aSubjectCommonName, java.lang.String aRequisitionerIdentifier)
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).
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()
This method provides access to the CERT_X509.CTSTATUS column of DB2 type CHAR(4) NOT NULL.
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).
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_UserId(java.lang.String newValue)
Set the primary key for this object
void setIssuerOrganizationName(java.lang.String newValue)
This method accesses a non-CMP field
void setRequisitionerIdentifier(java.lang.String newValue)
This method accesses a non-CMP field
void setSerialNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setStatus(java.lang.String newValue)
This method accesses a non-CMP field
void setSubjectCommonName(java.lang.String newValue)
This method accesses a non-CMP field
void setSubjectEmail(java.lang.String newValue)
This method accesses a non-CMP field
void setSubjectOrganizationName(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CertificateX509AccessBean

public CertificateX509AccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.user.objects.CertificateX509 com.ibm.commerce.user.objimpl.CertificateX509HomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.CertificateX509Key) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_UserId( java.lang.Long )

CertificateX509AccessBean

public CertificateX509AccessBean(javax.ejb.EJBObject o)
                          throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CertificateX509AccessBean

public CertificateX509AccessBean(java.lang.Long arg1,
                                 java.lang.String arg2,
                                 java.lang.String arg3,
                                 java.lang.String arg4,
                                 java.lang.String arg5,
                                 java.lang.String arg6)
                          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:
arg1 - java.lang.Long
arg2 - java.lang.String
arg3 - java.lang.String
arg4 - java.lang.String
arg5 - java.lang.String
arg6 - 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

findBySerialNumberAndIssuer

public CertificateX509AccessBean findBySerialNumberAndIssuer(java.lang.String aSerialNumber,
                                                             java.lang.String aIssuerOrganizationName,
                                                             java.lang.String aSubjectOrganizationName,
                                                             java.lang.String aSubjectCommonName,
                                                             java.lang.String aRequisitionerIdentifier)
                                                      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:
aSerialNumber - java.lang.String
aIssuerOrganizationName - java.lang.String
aSubjectOrganizationName - java.lang.String
aSubjectCommonName - java.lang.String
aRequisitionerIdentifier - java.lang.String
Returns:
com.ibm.commerce.user.objects.CertificateX509
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

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

setInitKey_UserId

public void setInitKey_UserId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSerialNumber

public void setSerialNumber(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSerialNumber in interface CertificateX509AccessBeanData

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSubjectCommonName

public void setSubjectCommonName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSubjectCommonName in interface CertificateX509AccessBeanData

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSubjectOrganizationName

public void setSubjectOrganizationName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSubjectOrganizationName in interface CertificateX509AccessBeanData

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).

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRequisitionerIdentifier

public void setRequisitionerIdentifier(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRequisitionerIdentifier in interface CertificateX509AccessBeanData

getStatus

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

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

The following is a description of this column:

This indicates if the certificate is valid (V), expired (E), or revoked (R).

Specified by:
getStatus in interface CertificateX509AccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStatus

public void setStatus(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStatus in interface CertificateX509AccessBeanData

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).

The following is a description of this column:

The primary email address of the individual.

Specified by:
getSubjectEmail in interface CertificateX509AccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSubjectEmail

public void setSubjectEmail(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSubjectEmail in interface CertificateX509AccessBeanData

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setIssuerOrganizationName

public void setIssuerOrganizationName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setIssuerOrganizationName in interface CertificateX509AccessBeanData

Feedback