java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.contract.beans.PolicyListDataBean
List the business policies in a store
Field Summary | |
---|---|
protected
java.lang.String |
_findBy |
protected
java.lang.String |
_orderBy |
protected
PolicyDataBean[] |
_policyList |
protected
java.lang.String |
_policyName |
protected
java.lang.String |
_policyType |
protected
java.lang.Long |
_tc |
static java.lang.String |
FIND_BY_NAME_TYPE_STORE Find by constants |
static java.lang.String |
FIND_BY_STORE_ENTITY Find by constants |
static java.lang.String |
FIND_BY_TC Find by constants |
static java.lang.String |
FIND_BY_TC_TYPE Find by constants |
static java.lang.String |
FIND_BY_TYPE_STORE Find by constants |
static java.lang.String |
FIND_BY_TYPE_STORE_ENTITY Find by constants |
static java.lang.String |
ORDER_BY_NAME Order by constants |
static java.lang.String |
ORDER_BY_STORE_ENTITY Order by constants |
static java.lang.String |
ORDER_BY_TYPE Order by constants |
static java.lang.String |
PARAMETER_FIND_BY NVP constants |
static java.lang.String |
PARAMETER_ORDER_BY NVP constants |
static java.lang.String |
TYPE_INVOICE_FORMAT Policy type constants |
static java.lang.String |
TYPE_PAYMENT Policy type constants |
static java.lang.String |
TYPE_PRICE Policy type constants |
static java.lang.String |
TYPE_PRODUCT_SET Policy type constants |
static java.lang.String |
TYPE_RETURN_APPROVAL Policy type constants |
static java.lang.String |
TYPE_RETURN_CHARGE Policy type constants |
static java.lang.String |
TYPE_RETURN_PAYMENT Policy type constants |
static java.lang.String |
TYPE_SHIPPING_CHARGE Policy type constants |
static java.lang.String |
TYPE_SHIPPING_MODE Policy type constants |
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
commandContext,
COPYRIGHT |
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
requestProperties |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
PolicyListDataBean() |
Method Summary | |
---|---|
PolicyDataBean[] |
getPolicyList() Get the list of policies in the store |
protected
java.lang.Integer |
getStoreId() Returns the storeId property of the Bean |
void |
populate() Populates the databean with elements. |
void |
setFindBy(java.lang.String findBy) Set the findBy type of policy to find. |
void |
setOrderBy(java.lang.String orderBy) Set the orderBy type of policy to find. |
void |
setPolicyName(java.lang.String policyName) Set the name of the policy to find |
void |
setPolicyType(java.lang.String policyType) Set the type of the policies to find |
void |
setStoreId(java.lang.Integer storeId) Sets the Store ID for which the list of usable Policies are requested. |
void |
setTC(java.lang.Long tc) Set the term and condition identifier of the policy to find |
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
fulfills,
getCommandContext,
getResources,
setCommandContext |
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
getRequestProperties,
setRequestProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.beans. InputDataBean |
getRequestProperties,
setRequestProperties |
Field Detail |
---|
public static final java.lang.String PARAMETER_ORDER_BY
public static final java.lang.String PARAMETER_FIND_BY
public static final java.lang.String FIND_BY_TYPE_STORE
public static final java.lang.String FIND_BY_NAME_TYPE_STORE
public static final java.lang.String FIND_BY_STORE_ENTITY
public static final java.lang.String FIND_BY_TC
public static final java.lang.String FIND_BY_TC_TYPE
public static final java.lang.String FIND_BY_TYPE_STORE_ENTITY
public static final java.lang.String TYPE_PRICE
public static final java.lang.String TYPE_PAYMENT
public static final java.lang.String TYPE_SHIPPING_MODE
public static final java.lang.String TYPE_SHIPPING_CHARGE
public static final java.lang.String TYPE_RETURN_CHARGE
public static final java.lang.String TYPE_INVOICE_FORMAT
public static final java.lang.String TYPE_PRODUCT_SET
public static final java.lang.String TYPE_RETURN_PAYMENT
public static final java.lang.String TYPE_RETURN_APPROVAL
public static final java.lang.String ORDER_BY_NAME
public static final java.lang.String ORDER_BY_STORE_ENTITY
public static final java.lang.String ORDER_BY_TYPE
protected PolicyDataBean[] _policyList
protected java.lang.String _policyType
protected java.lang.String _policyName
protected java.lang.Long _tc
protected java.lang.String _findBy
protected java.lang.String _orderBy
Constructor Detail |
---|
public PolicyListDataBean()
Method Detail |
---|
public PolicyDataBean[] getPolicyList()
protected java.lang.Integer getStoreId()
public void populate() throws java.lang.Exception
SmartDataBeanImpl
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
java.lang.Exception
- should not happen since there is no data
retrieved to populate the databean.public void setPolicyName(java.lang.String policyName)
policyName
- Stringpublic void setPolicyType(java.lang.String policyType)
policyType
- Stringpublic void setStoreId(java.lang.Integer storeId)
storeId
- the Store ID.public void setTC(java.lang.Long tc)
tc
- Longpublic void setFindBy(java.lang.String findBy)
findBy
- Stringpublic void setOrderBy(java.lang.String orderBy)
orderBy
- String