public class PriceTCMasterCatalogWithFilteringDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CATENTRY_ADJUSTMENT
Default adjustment for all catentries in the catalog filter tool
|
static java.lang.String |
DEFAULT_CATENTRY_PRECEDENCE
Default precedence for catentries in the catalog filter.
|
static java.lang.String |
DEFAULT_ITEM_PRECEDENCE
Default item precedence (infinity).
|
static java.lang.String |
DEFAULT_MASTER_CATALOG_PRECEDENCE
Default precedence for the master catalog filter
|
static java.lang.String |
DEFAULT_MASTER_CATALOG_SYNCHRONIZATION
Default synchronization setting for the master catalog
|
static java.lang.String |
DEFAULT_PRODUCT_PRECEDENCE
Default product precedence (infinity-1).
|
static int |
MODE_CATALOG_FILTER_PUBLISH_ENGINE
Catalog Filter Publish Engine Data bean Mode
|
static int |
MODE_CATALOG_FILTER_UI
Catalog Filter UI Data bean Mode
|
static int |
PUBLISH_STATUS_FAILED
Failed publish status
|
static int |
PUBLISH_STATUS_INPROGRESS
Inprogress publish status
|
static int |
PUBLISH_STATUS_SUCCESS
Successful publish status
|
Constructor and Description |
---|
PriceTCMasterCatalogWithFilteringDataBean() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
buildCatalogFilters(org.w3c.dom.Document xmlDoc)
Parses input XML and returns a vector of Catalog Filter data beans.
|
java.lang.Long |
getBaseContractId()
Gets the base contract ID
|
CatalogFilterDataBean |
getCatalogFilter(int i)
Gets a specific Catalog Filter data bean.
|
java.util.Vector |
getCatalogFilters()
Gets all the defined catalog filters
|
java.lang.String |
getCatalogIdentifier()
Gets the master catalog identifier for the store
|
MemberDataBean |
getCatalogOwner()
Gets the master catalog owner Member data bean for the store.
|
java.lang.String |
getCatalogReferenceNumber()
Gets the master catalog identifier for the store
|
com.ibm.commerce.contract.objects.ContractAccessBean |
getContractAccessBean()
Gets the contract access bean for this store
|
java.lang.Long |
getContractId()
Gets the contract ID
|
java.sql.Timestamp |
getContractLastUpdateTime()
Gets the contract last update time
|
MemberDataBean |
getContractOwner()
Gets the contract owner Member data bean for the store.
|
java.lang.Integer |
getContractState()
Gets the contract state
|
int |
getDatabeanMode()
Gets the data bean mode.
|
java.lang.String |
getDebugFilterXMLdefinition()
Creates a dummy XML string for debugging purposes and bypass getting the XML from the TCATTR table
|
java.lang.String |
getExcludedProductSetIds()
Gets the excluded product set ids from the hosting contract
|
java.lang.Integer |
getFilterPublishStatus()
Gets the filter's last publish status
|
java.sql.Timestamp |
getFilterPublishTime()
Gets the filter's last publish timestamp
|
java.lang.String |
getFilterXMLdefinition()
Gets the XML definition for the PriceTCMasterCatalogWithFiltering term and condition.
|
boolean |
getHasGrandparentBaseContractWithFiltering()
Gets if this contract has a contract 2 or more levels above this one
with a PriceTCMasterCatalogWithFiltering term and condition
|
java.lang.Boolean |
getImmediateDeploy()
Gets the immediate deployment flag
|
java.lang.Boolean |
getIncludeEntireCatalog()
Gets the master catalog inclusion flag
|
PolicyListDataBean |
getPriceListPolicies()
Gets the price lists associated with this term and condition.
|
com.ibm.commerce.contract.objects.PriceTCMasterCatalogWithFilteringAccessBean |
getPriceTCMasterCatalogWithFilteringAccessBean()
Gets the price term and condition access bean for this term and condition.
|
java.lang.Integer |
getStoreId()
Gets the store ID from the command context
|
java.sql.Timestamp |
getTClastUpdateTime()
Gets the filter's last publish timestamp
|
com.ibm.commerce.contract.objects.TermConditionAccessBean |
getTermConditionAccessBean()
Gets a term and condition access bean that represents the PriceTCMasterCatalogWithFiltering term and condition that
is going to be used for this data bean.
|
java.lang.Long |
getTermConditionId()
Gets the term and condition ID
|
org.w3c.dom.Document |
getXMLdocument(java.lang.String xmlString)
Gets the XML document describing the PriceTCMasterCatalogWithFiltering term and condition.
|
java.lang.Boolean |
hasSharedCatalog()
Determines whether the current store has a shared catalog, or is using
a stand-alone partitioned catalog.
|
void |
populate()
This method is used to populate the PriceTCMasterCatalogWithFilteringDataBean.
|
void |
setBaseContractId(java.lang.Long newBaseContractId)
Sets the base contract ID.
|
void |
setContractId(java.lang.Long newContractId)
Set the contract ID
|
void |
setDatabeanMode(int newDatabeanMode)
Sets the data bean mode.
|
void |
setDebugMode(boolean newDebugMode)
Sets the debug mode
|
void |
setDoNotFindDefaultContract()
Sets whether the bean should find the default contract
|
void |
setFilterXMLdefinition(java.lang.String newFilterXMLdefinition)
Sets the XML definition for the PriceTCMasterCatalogWithFiltering term and condition.
|
void |
setHostingMode(boolean newHostingMode)
Sets the hosting mode.
|
void |
setStoreId(java.lang.Integer newStoreId)
Sets the store ID
|
void |
setTermConditionAccessBean(com.ibm.commerce.contract.objects.TermConditionAccessBean newTCAB)
Sets the term and condition access bean for this data bean.
|
void |
setTermConditionId(java.lang.Long newTermConditionId)
Sets the term and condition ID
|
void |
setValidateReferenceNumbers(boolean newValidate)
Sets if the reference numbers should be validated against the database.
|
void |
trace(java.lang.String traceString)
Outputs a line of trace if trace mode is true
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
public static final java.lang.String DEFAULT_CATENTRY_ADJUSTMENT
public static final java.lang.String DEFAULT_CATENTRY_PRECEDENCE
public static final java.lang.String DEFAULT_ITEM_PRECEDENCE
public static final java.lang.String DEFAULT_MASTER_CATALOG_PRECEDENCE
public static final java.lang.String DEFAULT_MASTER_CATALOG_SYNCHRONIZATION
public static final java.lang.String DEFAULT_PRODUCT_PRECEDENCE
public static final int MODE_CATALOG_FILTER_PUBLISH_ENGINE
public static final int MODE_CATALOG_FILTER_UI
public static final int PUBLISH_STATUS_FAILED
public static final int PUBLISH_STATUS_INPROGRESS
public static final int PUBLISH_STATUS_SUCCESS
public PriceTCMasterCatalogWithFilteringDataBean()
public java.util.Vector buildCatalogFilters(org.w3c.dom.Document xmlDoc)
xmlDoc
- Documentpublic java.lang.Long getBaseContractId()
public CatalogFilterDataBean getCatalogFilter(int i)
i
- intpublic java.util.Vector getCatalogFilters()
public java.lang.String getCatalogIdentifier()
public MemberDataBean getCatalogOwner()
public java.lang.String getCatalogReferenceNumber()
public com.ibm.commerce.contract.objects.ContractAccessBean getContractAccessBean()
public java.lang.Long getContractId()
public java.sql.Timestamp getContractLastUpdateTime()
public MemberDataBean getContractOwner()
public java.lang.Integer getContractState()
public int getDatabeanMode()
public java.lang.String getDebugFilterXMLdefinition()
public java.lang.String getExcludedProductSetIds()
public java.lang.Integer getFilterPublishStatus()
public java.sql.Timestamp getFilterPublishTime()
public java.lang.String getFilterXMLdefinition()
public boolean getHasGrandparentBaseContractWithFiltering()
public java.lang.Boolean getImmediateDeploy()
public java.lang.Boolean getIncludeEntireCatalog()
public PolicyListDataBean getPriceListPolicies()
public com.ibm.commerce.contract.objects.PriceTCMasterCatalogWithFilteringAccessBean getPriceTCMasterCatalogWithFilteringAccessBean()
public java.lang.Integer getStoreId()
public java.sql.Timestamp getTClastUpdateTime()
public com.ibm.commerce.contract.objects.TermConditionAccessBean getTermConditionAccessBean()
public java.lang.Long getTermConditionId()
public org.w3c.dom.Document getXMLdocument(java.lang.String xmlString)
xmlString
- Stringpublic java.lang.Boolean hasSharedCatalog()
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 setBaseContractId(java.lang.Long newBaseContractId)
newBaseContractId
- Longpublic void setContractId(java.lang.Long newContractId)
newContractId
- Longpublic void setDatabeanMode(int newDatabeanMode)
newDatabeanMode
- intpublic void setDebugMode(boolean newDebugMode)
newDebugMode
- booleanpublic void setDoNotFindDefaultContract()
public void setFilterXMLdefinition(java.lang.String newFilterXMLdefinition)
newFilterXMLdefinition
- Stringpublic void setHostingMode(boolean newHostingMode)
newHostingMode
- booleanpublic void setStoreId(java.lang.Integer newStoreId)
newStoreId
- Integerpublic void setTermConditionAccessBean(com.ibm.commerce.contract.objects.TermConditionAccessBean newTCAB)
newTCAB
- TermConditionAccessBeanpublic void setTermConditionId(java.lang.Long newTermConditionId)
newTermConditionId
- Longpublic void setValidateReferenceNumbers(boolean newValidate)
newValidate
- booleanpublic void trace(java.lang.String traceString)
traceString
- String