|
||||||||
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.BusinessPolicyAccessBean
This bean provides access to the POLICY table.
The following is a description of this table:
Each row in this table represents a business policy.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
BusinessPolicyAccessBean()
Default constructor. |
|
BusinessPolicyAccessBean(javax.ejb.EJBObject anObject)
Creates an access bean for the specified EJB |
|
BusinessPolicyAccessBean(java.lang.String policyName,
java.lang.String policyType,
java.lang.Integer storeEntityId)
Constructs an BusinessPolicyAccessBean object with the specified policy name, policy type, and the store entity ID. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByNameTypeAndStore(java.lang.String policyName,
java.lang.String policyType,
java.lang.Integer storeId)
Retrieves all the business policies with the specified policy name and type for the specified store ID. |
BusinessPolicyAccessBean |
findByNameTypeAndStoreEntityId(java.lang.String policyName,
java.lang.String policyType,
java.lang.Integer storeEntityId)
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 storeEntityId)
Returns an Enumeration of BusinessPolicyAccessBeans representing all the business policies that the store supports . |
java.util.Enumeration |
findByTC(java.lang.Long tcId)
Returns an Enumeration of the BusinessPolicyAccessBeans representing all the business policies that the term condition referred to. |
java.util.Enumeration |
findByTCAndType(java.lang.Long tcId,
java.lang.String policyType)
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 tradingId)
Retrieves all the business policies that the specified trading agreement has. |
java.util.Enumeration |
findByType(java.lang.String policyType)
Returns all the business policies with the specified policy type. |
java.util.Enumeration |
findByTypeAndStore(java.lang.String policyType,
java.lang.Integer storeId)
Returns all the business policies with the specified policy type that the specified store supports. |
java.util.Enumeration |
findByTypeAndStoreEntityId(java.lang.String policyType,
java.lang.Integer storeEntityId)
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 policyType,
java.lang.Long tradingId)
Retrieves all the business policies with the specified policy type for the specified trading agreement. |
BusinessPolicyAccessBean |
findCreditPaymentPolicyByStoreEntityId(java.lang.Integer storeEntityId)
Retrieves the BusinessPolicyAccessBean representing the payment policy with credit that the specified store supports. |
BusinessPolicyAccessBean |
findCreditReturnsPolicyByStoreEntityId(java.lang.Integer storeEntityId)
Retrieves the BusinessPolicyAccessBean representing the return payment policy with credit that the specified store supports. |
BusinessPolicyAccessBean |
findCustomPriceListPolicyByStoreEntityId(java.lang.Integer storeEntityId)
Retrieves the BusinessPolicyAccessBean representing the custom price list policy for with the specified store entity ID. |
java.util.Enumeration |
findProductSetPolicyByPropertyPredicate(java.lang.String namePredicate,
java.lang.String memberPredicate)
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 storeId)
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 aDStandardPriceListPolicyByStoreEntityId)
Retrieves all the standard price list business policies with the specified store entity ID. |
java.util.Enumeration |
findSubProductSetPoliciesByMasterCatalogIdAndStoreIdAndProductSetId(java.lang.Long masterCatalogId,
java.lang.Integer storeId,
java.lang.Integer productSetId)
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 masterCatalogId,
java.lang.Integer storeId)
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 memberId,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource. |
PolicyDescriptionAccessBean |
getDescription(java.lang.Integer aDescription)
Retrieves the PolicyDescriptionAccessBean representing the business policy description with the specified language ID. |
PolicyDescriptionAccessBean |
getDescription(java.lang.Integer langId,
java.lang.Integer storeId)
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 NULL. |
java.sql.Timestamp |
getEndDateInEJBType()
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL. |
java.lang.Long |
getOwner()
Returns the member id of the owner of the resource |
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) NULL. |
java.lang.String |
getStartDate()
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getStartDateInEJBType()
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setEndDate(java.lang.String aEndDate)
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL. |
void |
setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL. |
void |
setInitKey_policyId(java.lang.String aInitKey_policyId)
Set the primary key for this object |
void |
setPolicyId(java.lang.Long aPolicyId)
This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setPolicyId(java.lang.String aPolicyId)
This method provides access to the POLICY.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setPolicyName(java.lang.String aPolicyName)
This method provides access to the POLICY.POLICYNAME column of DB2 type VARCHAR(128) NOT NULL. |
void |
setProperties(java.lang.String aProperties)
This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254) NULL. |
void |
setStartDate(java.lang.String aStartDate)
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL. |
void |
setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL. |
void |
setStoreEntityId(java.lang.Integer aStoreEntityId)
This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreEntityId(java.lang.String aStoreEntityId)
This method provides access to the POLICY.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setType(java.lang.String aType)
This method provides access to the POLICY.POLICYTYPE_ID column of DB2 type CHAR(64) 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 BusinessPolicyAccessBean()
Default constructor. Maps to findByPrimaryKey.
public BusinessPolicyAccessBean(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 BusinessPolicyAccessBean(java.lang.String policyName, java.lang.String policyType, java.lang.Integer storeEntityId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs an BusinessPolicyAccessBean object with the specified policy name, policy type, and the store entity ID.
policyName
- The name of the business policy.policyType
- The type of the business policy.storeEntityId
- The ID of store entity.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 findByNameTypeAndStore(java.lang.String policyName, java.lang.String policyType, java.lang.Integer storeId) 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.
policyName
- The name of the business policy.policyType
- The Type of the business policy.storeId
- The ID of the store.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic BusinessPolicyAccessBean findByNameTypeAndStoreEntityId(java.lang.String policyName, java.lang.String policyType, java.lang.Integer storeEntityId) 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 = ?
policyName
- The name of the business policy.policyType
- The type of the business policy.storeEntityId
- The ID of the store entity which the business policy belongs to.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 findByStoreEntityId(java.lang.Integer storeEntityId) 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 = ?
storeEntityId
- java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTC(java.lang.Long tcId) 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 = ?)
tcId
- The ID of the terms and condition.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 findByTCAndType(java.lang.Long tcId, java.lang.String policyType) 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 = ?
tcId
- The ID of the terms and conditions.policyType
- The type of the business policy.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 findByTrading(java.lang.Long tradingId) 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 = ?))
tradingId
- The ID of the trading agreement.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 findByType(java.lang.String policyType) 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 =?
policyType
- The type of the business policy.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 findByTypeAndStore(java.lang.String policyType, java.lang.Integer storeId) 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.
policyType
- The type of the business type.storeId
- The ID of the store.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 findByTypeAndStoreEntityId(java.lang.String policyType, java.lang.Integer storeEntityId) 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 = ?
policyType
- The type of the business policy.storeEntityId
- The ID of the store entity.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 findByTypeAndTrading(java.lang.String policyType, java.lang.Long tradingId) 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 = ?))
policyType
- The type of the business policy.tradingId
- The ID of the trading agreement.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic BusinessPolicyAccessBean findCreditPaymentPolicyByStoreEntityId(java.lang.Integer storeEntityId) 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'
storeEntityId
- The ID of the store entity.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic BusinessPolicyAccessBean findCreditReturnsPolicyByStoreEntityId(java.lang.Integer storeEntityId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the BusinessPolicyAccessBean 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'
storeEntityId
- java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic BusinessPolicyAccessBean findCustomPriceListPolicyByStoreEntityId(java.lang.Integer storeEntityId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the BusinessPolicyAccessBean 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'
storeEntityId
- The ID of the store entity.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 findProductSetPolicyByPropertyPredicate(java.lang.String namePredicate, java.lang.String memberPredicate) 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 ?
namePredicate
- The predicate of the property name.memberPredicate
- The predicate of the property member.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 findStandardPriceListPolicyByStore(java.lang.Integer storeId) 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.
storeId
- The ID of the store.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 findStandardPriceListPolicyByStoreEntityId(java.lang.Integer aDStandardPriceListPolicyByStoreEntityId) 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'
storeEntityId
- The ID of the store entity.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 findSubProductSetPoliciesByMasterCatalogIdAndStoreIdAndProductSetId(java.lang.Long masterCatalogId, java.lang.Integer storeId, java.lang.Integer productSetId) 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.
masterCatalogId
- java.lang.LongstoreId
- The ID of the store.productSetId
- The ID of the product set.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findTopLevelProductSetPoliciesByMasterCatalogIdAndStoreId(java.lang.Long masterCatalogId, java.lang.Integer storeId) 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.
masterCatalogId
- java.lang.LongstoreId
- The ID of the store.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic boolean fulfills(java.lang.Long memberId, java.lang.String relationship) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
Determines if a given member fulfills a given relationship with the resource.
memberId
- The ID of the member.relationship
- The relationship the member has with respect to the resource.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic PolicyDescriptionAccessBean getDescription(java.lang.Integer aDescription) 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.
langId
- The ID of the language.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 langId, java.lang.Integer storeId) 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.
langId
- java.lang.IntegerstoreId
- java.lang.Integerjavax.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.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 NULL.
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
- 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 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 NULL.
The following is a description of this column:
End date of the policy. If null, no end time.
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 getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns the member id of the owner of the resource
java.lang.Exception
- The java.lang.Exception exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException 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 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
- 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 POLICY.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 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 policy unique name. It is expected that a store contains the following bootstrap policies: MasterCatalog (one per storeEntity), CreditLine (one per storeEntity).
getPolicyName
in interface BusinessPolicyAccessBeanData
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 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) NULL.
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&n2=v2.
getProperties
in interface BusinessPolicyAccessBeanData
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 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 NULL.
The following is a description of this column:
Start date of the policy. If null start immediately.
getStartDate
in interface BusinessPolicyAccessBeanData
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 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 NULL.
The following is a description of this column:
Start date of the policy. If null start immediately.
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 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
- 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 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
- 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 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
- 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 setEndDate(java.lang.String aEndDate)
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
End date of the policy. If null, no end time.
setEndDate
in interface BusinessPolicyAccessBeanData
aEndDate
- The ending date of the business policy.public void setEndDate(java.sql.Timestamp aEndDate)
This method provides access to the POLICY.ENDTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
End date of the policy. If null, no end time.
aEndDate
- The ending date of the business policy.public void setInitKey_policyId(java.lang.String aInitKey_policyId)
Set the primary key for this object
aInitKey_policyId
- The ID of the business policy.public void setPolicyId(java.lang.Long aPolicyId)
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.
aPolicyId
- The ID of the business policy.public void setPolicyId(java.lang.String aPolicyId)
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
aPolicyId
- The ID of the business policy.public void setPolicyName(java.lang.String aPolicyName)
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 policy unique name. It is expected that a store contains the following bootstrap policies: MasterCatalog (one per storeEntity), CreditLine (one per storeEntity).
setPolicyName
in interface BusinessPolicyAccessBeanData
aPolicyName
- The name of the business policy.public void setProperties(java.lang.String aProperties)
This method provides access to the POLICY.PROPERTIES column of DB2 type VARCHAR(254) NULL.
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&n2=v2.
setProperties
in interface BusinessPolicyAccessBeanData
aProperties
- The properties of the business policypublic void setStartDate(java.lang.String aStartDate)
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Start date of the policy. If null start immediately.
setStartDate
in interface BusinessPolicyAccessBeanData
aStartDate
- The starting date of the business policy.public void setStartDate(java.sql.Timestamp aStartDate)
This method provides access to the POLICY.STARTTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Start date of the policy. If null start immediately.
aStartDate
- The starting time of the business policy.public void setStoreEntityId(java.lang.Integer aStoreEntityId)
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.
aStoreEntityId
- The Id of the store entity.public void setStoreEntityId(java.lang.String aStoreEntityId)
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
aStoreEntityId
- The ID of the store entity.public void setType(java.lang.String aType)
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
aType
- The type of the business policy.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |