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

See Also:
Serialized Form

Constructor Summary
CertificateX509AccessBean()
          constructor
CertificateX509AccessBean(javax.ejb.EJBObject o)
          constructor
CertificateX509AccessBean(java.lang.Long arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
  CertificateX509AccessBean findBySerialNumberAndIssuer(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)
          Find by serial number and issuer.
 java.util.Enumeration findByUserId(java.lang.Long arg0)
          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 provides access to the CERT_X509.CTISSORGNM column of DB2 type CHAR(200) NOT NULL.
 void setRequisitionerIdentifier(java.lang.String newValue)
          This method provides access to the CERT_X509.CTREQID column of DB2 type CHAR(254).
 void setSerialNumber(java.lang.String newValue)
          This method provides access to the CERT_X509.CTSERNUM column of DB2 type CHAR(254) NOT NULL.
 void setStatus(java.lang.String newValue)
          This method provides access to the CERT_X509.CTSTATUS column of DB2 type CHAR(4) NOT NULL.
 void setSubjectCommonName(java.lang.String newValue)
          This method provides access to the CERT_X509.CTSBJCMNM column of DB2 type CHAR(254) NOT NULL.
 void setSubjectEmail(java.lang.String newValue)
          This method provides access to the CERT_X509.CTSBJEM column of DB2 type CHAR(254).
 void setSubjectOrganizationName(java.lang.String newValue)
          This method provides access to the CERT_X509.CTSBJORGNM column of DB2 type CHAR(254) NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateX509AccessBean

public CertificateX509AccessBean()
constructor

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 arg0,
                                 java.lang.String arg1,
                                 java.lang.String arg2,
                                 java.lang.String arg3,
                                 java.lang.String arg4,
                                 java.lang.String arg5)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
arg2 - java.lang.String
arg3 - java.lang.String
arg4 - java.lang.String
arg5 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findBySerialNumberAndIssuer

public CertificateX509AccessBean findBySerialNumberAndIssuer(java.lang.String arg0,
                                                             java.lang.String arg1,
                                                             java.lang.String arg2,
                                                             java.lang.String arg3,
                                                             java.lang.String arg4)
                                                      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 = ?)".

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 arg0)
                                   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 = ?)".

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

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

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

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 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:
setRequisitionerIdentifier in interface CertificateX509AccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setStatus in interface CertificateX509AccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setSubjectEmail in interface CertificateX509AccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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