java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.CertificateX509AccessBean
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'.
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 |
public CertificateX509AccessBean()
public CertificateX509AccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
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
Method Detail |
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 = ?)".
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 = ?)".
public void setInitKey_UserId(java.lang.String newValue)
Set the primary key for this object
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
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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.
public void setSerialNumber(java.lang.String newValue)
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.
public void setSubjectCommonName(java.lang.String newValue)
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.
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.
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.
public void setSubjectOrganizationName(java.lang.String newValue)
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.
public void setRequisitionerIdentifier(java.lang.String newValue)
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).
public void setStatus(java.lang.String newValue)
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.
public void setSubjectEmail(java.lang.String newValue)
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.
public void setIssuerOrganizationName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.