|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.ContractDisplayAccessBean
This bean provides access to the CNTRDISPLY table.
The following is a description of this table:
The contract display table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ContractDisplayAccessBean()
Default constructor. |
|
ContractDisplayAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
|
ContractDisplayAccessBean(java.lang.Long contractId,
java.lang.Integer devicefmtId,
java.lang.Integer participantRoleId)
Constructs an ContractDisplayAccessBean 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). |
java.util.Enumeration |
findByContract(java.lang.Long contractId)
Retrieves an Enumeration of the ContractDisplayAccessBeans representing all the contract display methods that the contract has. |
java.util.Enumeration |
findByContractDevicefmtAndUser(java.lang.Long contractId,
java.lang.Integer devicefmtId,
java.lang.Long memberId)
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 NULL. |
java.lang.Long |
getContractIdInEJBType()
This method provides access to the CNTRDISPLY.CONTRACT_ID column of DB2 type BIGINT NULL. |
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) NULL. |
java.lang.String |
getParticipantRoleId()
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL. |
java.lang.Integer |
getParticipantRoleIdInEJBType()
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDisplayPageName(java.lang.String aDisplayPageName)
This method provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_referenceNumber(java.lang.String aInitKey_referenceNumber)
Set the primary key for this object |
void |
setParticipantRoleId(java.lang.Integer aParticipantRoleId)
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL. |
void |
setParticipantRoleId(java.lang.String aParticipantRoleId)
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL. |
void |
setReferenceNumber(java.lang.Long aReferenceNumber)
This method provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT NOT NULL. |
void |
setReferenceNumber(java.lang.String aReferenceNumber)
This method provides access to the CNTRDISPLY.CNTRDISPLY_ID column of DB2 type BIGINT 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 |
public ContractDisplayAccessBean()
Default constructor. Maps to findByPrimaryKey.
public ContractDisplayAccessBean(javax.ejb.EJBObject Object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic ContractDisplayAccessBean(java.lang.Long contractId, java.lang.Integer devicefmtId, java.lang.Integer participantRoleId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs an ContractDisplayAccessBean object with the specified contract ID, device format ID, and the contract participant role ID
contractId
- The ID of the Contract.devicefmtId
- The ID of the device format.participantRoleId
- The ID of the Participant role.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByContract(java.lang.Long contractId) 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 = ?
contractId
- The ID of the contract.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByContractDevicefmtAndUser(java.lang.Long contractId, java.lang.Integer devicefmtId, java.lang.Long memberId) 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.
contractId
- The ID of the Contract.devicefmtId
- The ID of the device format.memberId
- The ID of the member.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Contract ID. If null, this is the default display page.
getContractId
in interface ContractDisplayAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Contract ID. If null, this is the default display page.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getDevicefmtId
in interface ContractDisplayAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
The following is a description of this column:
A display page name.
getDisplayPageName
in interface ContractDisplayAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Participant role. Allows a display page based on participant role.
getParticipantRoleId
in interface ContractDisplayAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Participant role. Allows a display page based on participant role.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 (Primary key).
getReferenceNumber
in interface ContractDisplayAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 (Primary key).
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setDisplayPageName(java.lang.String aDisplayPageName)
This method provides access to the CNTRDISPLY.DISPLAYPAGENAME column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A display page name.
setDisplayPageName
in interface ContractDisplayAccessBeanData
aDisplayPageName
- The name of the Contract display page.public void setInitKey_referenceNumber(java.lang.String aInitKey_referenceNumber)
Set the primary key for this object
aInitKey_referenceNumber
- The ID of the Contract.public void setParticipantRoleId(java.lang.Integer aParticipantRoleId)
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Participant role. Allows a display page based on participant role.
aParticipantRoleId
- The ID of the Participant role.public void setParticipantRoleId(java.lang.String aParticipantRoleId)
This method provides access to the CNTRDISPLY.PARTROLE_ID column of DB2 type INTEGER NULL.
The following is a description of this column:
Participant role. Allows a display page based on participant role.
setParticipantRoleId
in interface ContractDisplayAccessBeanData
aParticipantRoleId
- The ID of the Participant role.public void setReferenceNumber(java.lang.Long aReferenceNumber)
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 (Primary key).
aReferenceNumber
- The ID of the Contract.public void setReferenceNumber(java.lang.String aReferenceNumber)
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 (Primary key).
setReferenceNumber
in interface ContractDisplayAccessBeanData
aReferenceNumber
- The ID of the contract.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |