java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.BusinessPolicyAccessBean
Each row in this table represents a business policy.
Constructor Summary | |
---|---|
BusinessPolicyAccessBean() constructor | |
BusinessPolicyAccessBean(javax.ejb.EJBObject o) constructor | |
BusinessPolicyAccessBean(java.lang.String arg0, java.lang.String arg1,
java.lang.Integer arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByNameTypeAndStore(java.lang.String arg0, java.lang.String arg1,
java.lang.Integer arg2) Retrieves all the business policies with the specified policy name and type for the specified store ID. |
BusinessPolicyAccessBean |
findByNameTypeAndStoreEntityId(java.lang.String arg0,
java.lang.String arg1, java.lang.Integer arg2) Returns a BusinessPolicyAccessBean representing the business policy with the specified policy name and type for the specified store entity ID. |
java.util.Enumeration |
findByStoreEntityId(java.lang.Integer arg0) Returns an Enumeration of BusinessPolicyAccessBeans representing all the business policies that the store supports . |
java.util.Enumeration |
findByTC(java.lang.Long arg0) Returns an Enumeration of the BusinessPolicyAccessBeans representing all the business policies that the term condition referred to. |
java.util.Enumeration |
findByTCAndType(java.lang.Long arg0,
java.lang.String arg1) Returns an Enumeration of the BusinessPolicyAccessBeans representing all the business policies with the specified policy type for the specified term condition ID. |
java.util.Enumeration |
findByTrading(java.lang.Long arg0) Retrieves all the business policies that the specified trading agreement has. |
java.util.Enumeration |
findByType(java.lang.String arg0) Returns all the business policies with the specified policy type. |
java.util.Enumeration |
findByTypeAndStore(java.lang.String arg0,
java.lang.Integer arg1) Returns all the business policies with the specified policy type that the specified store supports. |
java.util.Enumeration |
findByTypeAndStoreEntityId(java.lang.String arg0,
java.lang.Integer arg1) Returns an Enumeration of all the BusinessPolicyAccessBeans representing all the business policies with the specified policy type for the specified store entity ID. |
java.util.Enumeration |
findByTypeAndTrading(java.lang.String arg0,
java.lang.Long arg1) Retrieves all the business policies with the specified policy type for the specified trading agreement. |
BusinessPolicyAccessBean |
findCreditPaymentPolicyByStoreEntityId(java.lang.Integer arg0) Retrieves the BusinessPolicyAccessBean representing the payment policy with credit that the specified store supports. |
BusinessPolicyAccessBean |
findCreditReturnsPolicyByStoreEntityId(java.lang.Integer arg0) Retrieves the BusinessPolicy representing the return payment policy with credit that the specified store supports. |
BusinessPolicyAccessBean |
findCustomPriceListPolicyByStoreEntityId(java.lang.Integer arg0) Retrieves the BusinessPolicy representing the custom price list policy for with the specified store entity ID. |
java.util.Enumeration |
findProductSetPolicyByPropertyPredicate(java.lang.String arg0,
java.lang.String arg1) Returns an Enumeration of the BusinessPolicyAccessBeans representing all the product set business policies with the specified name predicate, and the member predicate. |
java.util.Enumeration |
findStandardPriceListPolicyByStore(java.lang.Integer arg0) Returns an Enumeration of the BusinessPolicyAccessBeans representing all the standard price list business policies with the specified store ID. |
java.util.Enumeration |
findStandardPriceListPolicyByStoreEntityId(java.lang.Integer arg0) Retrieves all the standard price list business policies with the specified store entity ID. |
java.util.Enumeration |
findSubProductSetPoliciesByMasterCatalogIdAndStoreIdAndProductSetId(java.lang.Long arg0,
java.lang.Integer arg1, java.lang.Integer arg2) Returns an Enumeration of the BusinessPolicyAccessBeans representing all the sub level product set business policies with the specified master catalog ID, the store ID, and the product set ID. |
java.util.Enumeration |
findTopLevelProductSetPoliciesByMasterCatalogIdAndStoreId(java.lang.Long arg0,
java.lang.Integer arg1) Returns an Enumeration of the BusinessPolicyAccessBeans representing all the top level product set business policies with the specified master catalog ID, and the store ID. |
boolean |
fulfills(java.lang.Long arg0, java.lang.String arg1) |
PolicyDescriptionAccessBean |
getDescription(java.lang.Integer arg0) Retrieves the PolicyDescriptionAccessBean representing the business policy description with the specified language ID. |
PolicyDescriptionAccessBean |
getDescription(java.lang.Integer arg0,
java.lang.Integer arg1) Retrieves the PolicyDescriptionAccessBean representing the business policy description with the specified language ID. |
java.lang.String |
getEndDate() This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP. |
java.sql.Timestamp |
getEndDateInEJBType() This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP. |
java.lang.Long |
getOwner() This method accesses a non-CMP field |
java.lang.String |
getPolicyId() This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getPolicyIdInEJBType() This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getPolicyName() This method provides access to the POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL. |
java.lang.String |
getProperties() This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254). |
java.lang.String |
getStartDate() This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP. |
java.sql.Timestamp |
getStartDateInEJBType() This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP. |
java.lang.String |
getStoreEntityId() This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreEntityIdInEJBType() This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getType() This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setEndDate(java.lang.String newValue) This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP. |
void |
setEndDate(java.sql.Timestamp newValue) This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP. |
void |
setInitKey_policyId(java.lang.String newValue) Set the primary key for this object |
void |
setPolicyId(java.lang.Long newValue) This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setPolicyId(java.lang.String newValue) This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setPolicyName(java.lang.String newValue) This method provides access to the POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL. |
void |
setProperties(java.lang.String newValue) This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254). |
void |
setStartDate(java.lang.String newValue) This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP. |
void |
setStartDate(java.sql.Timestamp newValue) This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP. |
void |
setStoreEntityId(java.lang.Integer newValue) This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreEntityId(java.lang.String newValue) This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setType(java.lang.String newValue) This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public BusinessPolicyAccessBean()
public BusinessPolicyAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public BusinessPolicyAccessBean(java.lang.String arg0, java.lang.String arg1, java.lang.Integer arg2) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
arg0
- java.lang.Stringarg1
- java.lang.Stringarg2
- java.lang.Integerjavax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail |
---|
public BusinessPolicyAccessBean findByNameTypeAndStoreEntityId(java.lang.String arg0, java.lang.String arg1, java.lang.Integer arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns a BusinessPolicyAccessBean representing the business policy with the specified policy name and type for the specified store entity ID.
The SQL query used to fetch all the required row from the POLICY table is:
select * from policy T1 where T1.policyname =? and policytype_id =? and storeent_id = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public BusinessPolicyAccessBean findCreditPaymentPolicyByStoreEntityId(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the BusinessPolicyAccessBean representing the payment policy with credit that the specified store supports.
The SQL query used to fetch the required row from the POLICY table is:
select * from policy T1 where T1.storeent_id = ? and policyname = 'Credit' and policytype_id = 'Payment'
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public BusinessPolicyAccessBean findCreditReturnsPolicyByStoreEntityId(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the BusinessPolicy representing the return payment policy with credit that the specified store supports.
The SQL query used to fetch the required row from the POLICY table is:
select * from policy T1 where T1.storeent_id = ? and policyname = 'Credit' and policytype_id = 'ReturnPayment'
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public BusinessPolicyAccessBean findCustomPriceListPolicyByStoreEntityId(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the BusinessPolicy representing the custom price list policy for with the specified store entity ID.
The SQL query used to fetch the required row from the POLICY table is:
select * from policy T1 where T1.storeent_id = ? and policyname = 'Custom' and policytype_id = 'Price'
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByNameTypeAndStore(java.lang.String arg0, java.lang.String arg1, java.lang.Integer arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the business policies with the specified policy name and type for the specified store ID.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByStoreEntityId(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of BusinessPolicyAccessBeans representing all the business policies that the store supports .
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.storeent_id = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTC(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the BusinessPolicyAccessBeans representing all the business policies that the term condition referred to.
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.policy_id in (select policy_id from policytc where termcond_id = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTCAndType(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the BusinessPolicyAccessBeans representing all the business policies with the specified policy type for the specified term condition ID.
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.policy_id in (select policy_id from policytc where termcond_id = ?) and policytype_id = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTrading(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the business policies that the specified trading agreement has.
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.policy_id in (select policy_id from policytc where termcond_id in (select termcond_id from termcond where trading_id = ?))
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByType(java.lang.String arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns all the business policies with the specified policy type.
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.policytype_id =?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTypeAndStore(java.lang.String arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns all the business policies with the specified policy type that the specified store supports.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTypeAndStoreEntityId(java.lang.String arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of all the BusinessPolicyAccessBeans representing all the business policies with the specified policy type for the specified store entity ID.
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.policytype_id =? and storeent_id = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTypeAndTrading(java.lang.String arg0, java.lang.Long arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the business policies with the specified policy type for the specified trading agreement.
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.policytype_id =? and policy_id in (select policy_id from policytc where termcond_id in (select termcond_id from termcond where trading_id = ?))
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findProductSetPolicyByPropertyPredicate(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the BusinessPolicyAccessBeans representing all the product set business policies with the specified name predicate, and the member predicate.
The SQL query used to fetch the required rows from the POLICY table is:
select * from policy T1 where T1.policytype_id = 'ProductSet' and properties like ? and properties like ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findStandardPriceListPolicyByStore(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the BusinessPolicyAccessBeans representing all the standard price list business policies with the specified store ID.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findStandardPriceListPolicyByStoreEntityId(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the standard price list business policies with the specified store entity ID.
The SQL query used to fetch all the required rows from the POLICY table is:
select * from policy T1 where T1.storeent_id = ? and policyname != 'Custom' and policytype_id = 'Price'
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findSubProductSetPoliciesByMasterCatalogIdAndStoreIdAndProductSetId(java.lang.Long arg0, java.lang.Integer arg1, java.lang.Integer arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, java.lang.Exception, javax.naming.NamingException
Returns an Enumeration of the BusinessPolicyAccessBeans representing all the sub level product set business policies with the specified master catalog ID, the store ID, and the product set ID.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.naming.NamingException
public java.util.Enumeration findTopLevelProductSetPoliciesByMasterCatalogIdAndStoreId(java.lang.Long arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, java.lang.Exception, javax.naming.NamingException
Returns an Enumeration of the BusinessPolicyAccessBeans representing all the top level product set business policies with the specified master catalog ID, and the store ID.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.naming.NamingException
public void setInitKey_policyId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getPolicyName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.
The following is a description of this column:
The unique policy name. It is expected that a store contains the following bootstrap policies: &l
getPolicyName
in interface
BusinessPolicyAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPolicyName(java.lang.String newValue)
This method provides access to the POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL.
The following is a description of this column:
The unique policy name. It is expected that a store contains the following bootstrap policies: &l
setPolicyName
in interface
BusinessPolicyAccessBeanData
newValue
- java.lang.Stringpublic java.lang.String getStartDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start date of the policy. If null, the policy starts immediately.
getStartDate
in interface
BusinessPolicyAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.sql.Timestamp getStartDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start date of the policy. If null, the policy starts immediately.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStartDate(java.lang.String newValue)
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start date of the policy. If null, the policy starts immediately.
setStartDate
in interface
BusinessPolicyAccessBeanData
newValue
- Stringpublic void setStartDate(java.sql.Timestamp newValue)
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start date of the policy. If null, the policy starts immediately.
newValue
- java.sql.Timestamppublic java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup ID.
getStoreEntityId
in interface
BusinessPolicyAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup ID.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStoreEntityId(java.lang.String newValue)
This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup ID.
setStoreEntityId
in interface
BusinessPolicyAccessBeanData
newValue
- Stringpublic void setStoreEntityId(java.lang.Integer newValue)
This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup ID.
newValue
- java.lang.Integerpublic java.lang.String getPolicyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
getPolicyId
in interface
BusinessPolicyAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getPolicyIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPolicyId(java.lang.String newValue)
This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
setPolicyId
in interface
BusinessPolicyAccessBeanData
newValue
- Stringpublic void setPolicyId(java.lang.Long newValue)
This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
newValue
- java.lang.Longpublic java.lang.String getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL.
The following is a description of this column:
The policy type ID. Foreign key to the POLICYTYPE table.
getType
in interface
BusinessPolicyAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setType(java.lang.String newValue)
This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) NOT NULL.
The following is a description of this column:
The policy type ID. Foreign key to the POLICYTYPE table.
setType
in interface
BusinessPolicyAccessBeanData
newValue
- java.lang.Stringpublic java.lang.String getEndDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End date of the policy. If null, no end time.
getEndDate
in interface
BusinessPolicyAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.sql.Timestamp getEndDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End date of the policy. If null, no end time.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setEndDate(java.lang.String newValue)
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End date of the policy. If null, no end time.
setEndDate
in interface
BusinessPolicyAccessBeanData
newValue
- Stringpublic void setEndDate(java.sql.Timestamp newValue)
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End date of the policy. If null, no end time.
newValue
- java.sql.Timestamppublic java.lang.String getProperties() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254).
The following is a description of this column:
Default name value pairs that can be set to the business policy command. For example: n1=v1&am
getProperties
in interface
BusinessPolicyAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setProperties(java.lang.String newValue)
This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254).
The following is a description of this column:
Default name value pairs that can be set to the business policy command. For example: n1=v1&am
setProperties
in interface
BusinessPolicyAccessBeanData
newValue
- java.lang.Stringpublic boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Stringjava.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException
public PolicyDescriptionAccessBean getDescription(java.lang.Integer arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the PolicyDescriptionAccessBean representing the business policy description with the specified language ID.
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
exceptionpublic PolicyDescriptionAccessBean getDescription(java.lang.Integer arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the PolicyDescriptionAccessBean representing the business policy description with the specified language ID. If the description for the specified language is not available for the specified store, An alternate language description will be returned.
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
exceptionpublic java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException