java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.contract.objects.ContractDisplayAccessBean
This table contains display information for a Contract. This access bean corresponds to the database table 'CNTRDISPLY'.
Constructor Summary | |
ContractDisplayAccessBean() Zero argument constructor used to initialize the access bean. |
|
ContractDisplayAccessBean(javax.ejb.EJBObject o) constructor |
|
ContractDisplayAccessBean(java.lang.Long argContractId, java.lang.Integer argDevicefmtId, java.lang.Integer argParticipantRoleId) Constructs an ContractDisplay object with the specified contract ID, device format ID, and the contract participant role ID |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByContract(java.lang.Long contractReferenceNumber) Retrieves an Enumeration of the ContractDisplayAccessBeans representing all the contract display methods that the contract has. |
java.util.Enumeration | findByContractDevicefmtAndUser(java.lang.Long argContractId, java.lang.Integer argDevicefmtId, java.lang.Long argMemberId) Retrieves an Enumeration of the ContractDisplayAccessBeans representing all the contract display methods that the contract has by the specified contract ID, device format ID, and the member ID. |
java.lang.String | getContractId() This method provides access to the CNTRDISPLY.CONTRACT_ID column of DB2 type BIGINT. |
java.lang.Long | getContractIdInEJBType() This method provides access to the CNTRDISPLY.CONTRACT_ID column of DB2 type BIGINT. |
java.lang.String | getDevicefmtId() This method provides access to the CNTRDISPLY.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getDevicefmtIdInEJBType() This method provides access to the CNTRDISPLY.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getDisplayPageName() This method provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254). |
java.lang.String | getParticipantRoleId() This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER. |
java.lang.Integer | getParticipantRoleIdInEJBType() This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER. |
java.lang.String | getReferenceNumber() This method provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getReferenceNumberInEJBType() This method provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDisplayPageName(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_referenceNumber(java.lang.String newValue) Set the primary key for this object |
void | setParticipantRoleId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setParticipantRoleId(java.lang.String newValue) This method accesses a non-CMP field |
void | setReferenceNumber(java.lang.Long newValue) This method accesses a non-CMP field |
void | setReferenceNumber(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 ContractDisplayAccessBean()
public ContractDisplayAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ContractDisplayAccessBean(java.lang.Long argContractId, java.lang.Integer argDevicefmtId, java.lang.Integer argParticipantRoleId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs an ContractDisplay object with the specified contract ID, device format ID, and the contract participant role ID
Method Detail |
public java.util.Enumeration findByContract(java.lang.Long contractReferenceNumber) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ContractDisplayAccessBeans representing all the contract display methods that the contract has.
The SQL query used to fetch all the required rows from the CNTRDISPLY table is:
select * from cntrdisply T1 where T1.contract_id = ?
public java.util.Enumeration findByContractDevicefmtAndUser(java.lang.Long argContractId, java.lang.Integer argDevicefmtId, java.lang.Long argMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ContractDisplayAccessBeans representing all the contract display methods that the contract has by the specified contract ID, device format ID, and the member ID.
public void setInitKey_referenceNumber(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 getDisplayPageName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254).
The following is a description of this column:
A display page name.
public void setDisplayPageName(java.lang.String newValue)
public java.lang.String getDevicefmtId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Device format identifier.
public java.lang.Integer getDevicefmtIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Device format identifier.
public java.lang.String getParticipantRoleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER.
The following is a description of this column:
Participant role. Allows a display page based on participant role.
public java.lang.Integer getParticipantRoleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER.
The following is a description of this column:
Participant role. Allows a display page based on participant role.
public void setParticipantRoleId(java.lang.String newValue)
public void setParticipantRoleId(java.lang.Integer newValue)
public java.lang.String getContractId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.CONTRACT_ID column of DB2 type BIGINT.
The following is a description of this column:
Contract ID. If null, this is the default display page.
public java.lang.Long getContractIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.CONTRACT_ID column of DB2 type BIGINT.
The following is a description of this column:
Contract ID. If null, this is the default display page.
public java.lang.String getReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Internal reference number. This is a primary key.
public java.lang.Long getReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Internal reference number. This is a primary key.
public void setReferenceNumber(java.lang.String newValue)
public void setReferenceNumber(java.lang.Long newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.