public class PolicyListDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
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
|
Constructor and Description |
---|
PolicyListDataBean() |
Modifier and Type | Method and Description |
---|---|
PolicyDataBean[] |
getPolicyList()
Gets the list of policies in the store
|
void |
populate()
This method is used to retrieve the Business Policies in the store.
|
void |
setFindBy(java.lang.String findBy)
Sets the findBy type of policy to find.
|
void |
setOrderBy(java.lang.String orderBy)
Sets the orderBy type of policy to find.
|
void |
setPolicyName(java.lang.String policyName)
Sets the name of the policy to find
|
void |
setPolicyType(java.lang.String policyType)
Sets the type of the policies to find
|
void |
setStoreId(java.lang.Integer storeId)
Sets the Store ID for which the list of usable Policies is requested.
|
void |
setTC(java.lang.Long tc)
Sets the term and condition identifier of the policy to find
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
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
public static final java.lang.String FIND_BY_TYPE_STORE_ENTITY
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
public static final java.lang.String PARAMETER_FIND_BY
public static final java.lang.String PARAMETER_ORDER_BY
public static final java.lang.String TYPE_INVOICE_FORMAT
public static final java.lang.String TYPE_PAYMENT
public static final java.lang.String TYPE_PRICE
public static final java.lang.String TYPE_PRODUCT_SET
public static final java.lang.String TYPE_RETURN_APPROVAL
public static final java.lang.String TYPE_RETURN_CHARGE
public static final java.lang.String TYPE_RETURN_PAYMENT
public static final java.lang.String TYPE_SHIPPING_CHARGE
public static final java.lang.String TYPE_SHIPPING_MODE
public PolicyDataBean[] getPolicyList()
public void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class com.ibm.commerce.beans.SmartDataBeanImpl
java.lang.Exception
public void setFindBy(java.lang.String findBy)
findBy
- Stringpublic void setOrderBy(java.lang.String orderBy)
orderBy
- Stringpublic 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
- Long