public class CatalogFilterDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_TYPE_DELETE
Catalog Filter Data bean Term and Condition action type "delete"
|
static int |
ACTION_TYPE_NEW
Catalog Filter Data bean Term and Condition action type "new"
|
static int |
ACTION_TYPE_NOACTION
Catalog Filter Data bean Term and Condition action type "no action"
|
static int |
ACTION_TYPE_UPDATE
Catalog Filter Data bean Term and Condition action type "update"
|
static int |
ENTITLEMENT_TYPE_EXCLUDE
Catalog Filter Data bean entitlement type Includes.
|
static int |
ENTITLEMENT_TYPE_INCLUDE
Catalog Filter Data bean entitlement type Excludes.
|
static int |
FILTER_TYPE_CATALOG
Catalog Filter Data bean represents a Catalog node (the master catalog)
|
static int |
FILTER_TYPE_CATEGORY
Catalog Filter Data bean represents a Category node
|
static int |
FILTER_TYPE_CATENTRY
Catalog Filter Data bean represents a Catentry node
|
Constructor and Description |
---|
CatalogFilterDataBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionType()
Gets the action type for this filter
|
static java.lang.String |
getActionType(int actionType)
Gets the action type for this filter
|
java.lang.String |
getAdjustment()
Gets the percentage adjustment for this filter
|
java.lang.String |
getEntitlementType()
Gets the entitlement type for this filter
|
static java.lang.String |
getEntitlementType(int entitlementType)
Gets the entitlement type for this filter
|
java.lang.String |
getFilterType()
Gets the filter type for this filter
|
static java.lang.String |
getFilterType(int filterType)
Gets the filter type for a specified filter
|
java.lang.String |
getIdentifier()
Gets the identifier for this filter
|
java.lang.String |
getNodeReferenceNumber()
Gets the node reference number for this filter
|
java.lang.String |
getOwner()
Gets the owner for this filter
|
java.lang.String |
getPrecedence()
Gets the precedence for this filter
|
java.lang.String |
getReferenceNumber()
Gets the reference number for this filter
|
java.lang.Long |
getReferenceNumberL()
Gets the long representation of the reference number for this filter
|
java.lang.Boolean |
getSynched()
Gets the synchronization flag for this filter
|
boolean |
isActionType(int actionTypeArg)
Tests to determine whether the action type of this filter is of the specified type
|
boolean |
isEntitlementType(int entitlementTypeArg)
Tests to determine whether the entitlement type of this filter is of the specified type
|
boolean |
isFilterType(int filterTypeArg)
Tests to determine whether the filter type of this filter is of the specified type
|
void |
populate()
This method is the main body of this data bean and is executed when the bean is activated.
|
void |
setActionType(java.lang.String newActionType)
Sets the action type for this filter
|
void |
setAdjustment(java.lang.String newAdjustment)
Sets the percentage adjustment for this filter
|
void |
setEntitlementType(java.lang.String newEntitlementType)
Sets the entitlement type for this filter
|
void |
setFilterType(java.lang.String newFilterType)
Sets the filter type for this filter
|
void |
setOwner(java.lang.String newOwner)
Sets the owner for this filter
|
void |
setPrecedence(java.lang.String newPrecedence)
Sets the precedence for this filter
|
void |
setReferenceNumber(java.lang.String newReferenceNumber)
Sets the reference number for this filter
|
void |
setSynched(java.lang.Boolean newSynched)
Sets the synchronization flag for this filter
|
java.lang.String |
toString()
Converts this data bean to a readable string representation for debugging purposes.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
public static final int ACTION_TYPE_DELETE
public static final int ACTION_TYPE_NEW
public static final int ACTION_TYPE_NOACTION
public static final int ACTION_TYPE_UPDATE
public static final int ENTITLEMENT_TYPE_EXCLUDE
public static final int ENTITLEMENT_TYPE_INCLUDE
public static final int FILTER_TYPE_CATALOG
public static final int FILTER_TYPE_CATEGORY
public static final int FILTER_TYPE_CATENTRY
public java.lang.String getActionType()
public static java.lang.String getActionType(int actionType)
actionType
- intpublic java.lang.String getAdjustment()
public java.lang.String getEntitlementType()
public static java.lang.String getEntitlementType(int entitlementType)
entitlementType
- intpublic java.lang.String getFilterType()
public static java.lang.String getFilterType(int filterType)
filterType
- intpublic java.lang.String getIdentifier()
public java.lang.String getNodeReferenceNumber()
public java.lang.String getOwner()
public java.lang.String getPrecedence()
public java.lang.String getReferenceNumber()
public java.lang.Long getReferenceNumberL()
public java.lang.Boolean getSynched()
public boolean isActionType(int actionTypeArg)
actionTypeArg
- intpublic boolean isEntitlementType(int entitlementTypeArg)
entitlementTypeArg
- intpublic boolean isFilterType(int filterTypeArg)
filterTypeArg
- intpublic 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 setActionType(java.lang.String newActionType)
newActionType
- Stringpublic void setAdjustment(java.lang.String newAdjustment)
newAdjustment
- Longpublic void setEntitlementType(java.lang.String newEntitlementType)
newEntitlementType
- Stringpublic void setFilterType(java.lang.String newFilterType)
newFilterType
- Stringpublic void setOwner(java.lang.String newOwner)
newOwner
- Stringpublic void setPrecedence(java.lang.String newPrecedence)
newPrecedence
- Stringpublic void setReferenceNumber(java.lang.String newReferenceNumber)
newReferenceNumber
- Stringpublic void setSynched(java.lang.Boolean newSynched)
newSynched
- Booleanpublic java.lang.String toString()
toString
in class java.lang.Object