public class ProductEntitlementExpressionHelper
extends java.lang.Object
ProductEntitlementExpressionHelper expose the API to external components, other components can instantiate it directly with passing a contract list as the input or not, if contract list passed, ProductEntitlementExpressionHelper will build the search expression against those contracts instead of fetch contract from context, if there is no contract passed as parameter, ProductEntitlementExpressionHelper will fetch the current eligible contracts and build search expression against them.
Constructor and Description |
---|
ProductEntitlementExpressionHelper()
The constructor with no arguments input.
|
ProductEntitlementExpressionHelper(java.lang.Long[] contractIds, java.lang.Long memberId, boolean isAdminMode)
The constructor
|
ProductEntitlementExpressionHelper(java.lang.Long memberId, boolean isAdminMode)
The constructor.
|
ProductEntitlementExpressionHelper(TradingAgreementAccessBean[] tradingAgreements, java.lang.Long memberId, boolean isAdminMode)
The constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getSearchExpression()
Get search expression.
|
public ProductEntitlementExpressionHelper() throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public ProductEntitlementExpressionHelper(java.lang.Long memberId, boolean isAdminMode) throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public ProductEntitlementExpressionHelper(TradingAgreementAccessBean[] tradingAgreements, java.lang.Long memberId, boolean isAdminMode) throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public ProductEntitlementExpressionHelper(java.lang.Long[] contractIds, java.lang.Long memberId, boolean isAdminMode) throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getSearchExpression() throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException