|
||||||||
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.PolicyDescriptionAccessBean
This bean provides access to the POLICYDESC table.
The following is a description of this table:
The policy description table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
PolicyDescriptionAccessBean()
Default constructor. |
|
PolicyDescriptionAccessBean(javax.ejb.EJBObject anObject)
Creates an access bean for the specified EJB |
|
PolicyDescriptionAccessBean(java.lang.Long aIcyDescriptionAccessBean,
java.lang.Integer aIcyDescriptionAccessBean,
java.lang.String aIcyDescriptionAccessBean)
Constructs an PolicyDescriptionAccessBean object with the specified business policy ID, language ID, and the short description. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByPolicy(java.lang.Long policyId)
Retrieves all business policy commands with the specified business policy ID. |
java.lang.String |
getLanguageId()
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguageIdInEJBType()
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getLongDescription()
This method provides access to the POLICYDESC.LONGDESCRIPTION column of DB2 type LONG NULL. |
java.lang.String |
getPolicyId()
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getPolicyIdInEJBType()
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getShortDescription()
This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String |
getTimeCreated()
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeCreatedInEJBType()
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeUpdated()
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeUpdatedInEJBType()
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object |
void |
setInitKey_policyId(java.lang.String aInitKey_policyId)
Set the primary key for this object |
void |
setLanguageId(java.lang.Integer aLanguageId)
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLanguageId(java.lang.String aLanguageId)
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLongDescription(java.lang.String aLongDescription)
This method provides access to the POLICYDESC.LONGDESCRIPTION column of DB2 type LONG NULL. |
void |
setPolicyId(java.lang.Long aPolicyId)
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setPolicyId(java.lang.String aPolicyId)
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setShortDescription(java.lang.String aShortDescription)
This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL. |
void |
setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP 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 PolicyDescriptionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public PolicyDescriptionAccessBean(javax.ejb.EJBObject anObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
anObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic PolicyDescriptionAccessBean(java.lang.Long aIcyDescriptionAccessBean, java.lang.Integer aIcyDescriptionAccessBean, java.lang.String aIcyDescriptionAccessBean) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Constructs an PolicyDescriptionAccessBean object with the specified business policy ID, language ID, and the short description.
businessPolicyId
- The business policy ID.langId
- The language ID.shortDesc
- The short description of the business policy.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 findByPolicy(java.lang.Long policyId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all business policy commands with the specified business policy ID.
The SQL query used to fetch the required rows from the POLICYDESC table is:
select * from policydesc T1 where T1.policy_id = ?
policyId
- The business policy ID.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 getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. For a list of language components, see the LANGUAGE table.
getLanguageId
in interface PolicyDescriptionAccessBeanData
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 getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. For a list of language components, see the LANGUAGE table.
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 getLongDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
The policy long description.
getLongDescription
in interface PolicyDescriptionAccessBeanData
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 getPolicyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
getPolicyId
in interface PolicyDescriptionAccessBeanData
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 getPolicyIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
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 getShortDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The policy description.
getShortDescription
in interface PolicyDescriptionAccessBeanData
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 getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
getTimeCreated
in interface PolicyDescriptionAccessBeanData
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.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
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 getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
getTimeUpdated
in interface PolicyDescriptionAccessBeanData
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.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
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 setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object
aInitKey_languageId
- The ID of the language.public void setInitKey_policyId(java.lang.String aInitKey_policyId)
Set the primary key for this object
aInitKey_policyId
- The business policy ID.public void setLanguageId(java.lang.Integer aLanguageId)
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. For a list of language components, see the LANGUAGE table.
aLanguageId
- The language ID.public void setLanguageId(java.lang.String aLanguageId)
This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. For a list of language components, see the LANGUAGE table.
setLanguageId
in interface PolicyDescriptionAccessBeanData
aLanguageId
- The language ID.public void setLongDescription(java.lang.String aLongDescription)
This method provides access to the POLICYDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
The policy long description.
setLongDescription
in interface PolicyDescriptionAccessBeanData
aLongDescription
- The long description of the business policy.public void setPolicyId(java.lang.Long aPolicyId)
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
aPolicyId
- The business policy ID.public void setPolicyId(java.lang.String aPolicyId)
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
setPolicyId
in interface PolicyDescriptionAccessBeanData
aPolicyId
- The business policy ID.public void setShortDescription(java.lang.String aShortDescription)
This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The policy description.
setShortDescription
in interface PolicyDescriptionAccessBeanData
aShortDescription
- The short description of the business policy.public void setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
setTimeCreated
in interface PolicyDescriptionAccessBeanData
aTimeCreated
- The time the business policy description was created.public void setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
aTimeCreated
- The time the business policy description was created.public void setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
setTimeUpdated
in interface PolicyDescriptionAccessBeanData
aTimeUpdated
- The time that the business policy description was most recently updated.public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
aTimeUpdated
- The time that the business policy description was most recently updated.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |