public class PriceTCMasterCatalogWithFilteringDataBean extends 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
|
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.
|
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
|
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(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
|
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_CATENTRY_PRECEDENCE
public static final java.lang.String DEFAULT_CATENTRY_ADJUSTMENT
public static final java.lang.String DEFAULT_PRODUCT_PRECEDENCE
public static final java.lang.String DEFAULT_ITEM_PRECEDENCE
public static final int PUBLISH_STATUS_SUCCESS
public static final int PUBLISH_STATUS_INPROGRESS
public static final int PUBLISH_STATUS_FAILED
public static final int MODE_CATALOG_FILTER_UI
public static final int MODE_CATALOG_FILTER_PUBLISH_ENGINE
public PriceTCMasterCatalogWithFilteringDataBean()
public void populate() throws java.lang.Exception
public void setStoreId(java.lang.Integer newStoreId)
public java.lang.Integer getStoreId()
public TermConditionAccessBean getTermConditionAccessBean()
public java.lang.String getCatalogReferenceNumber()
public java.lang.String getCatalogIdentifier()
public MemberDataBean getCatalogOwner()
public java.lang.Boolean hasSharedCatalog()
public void setContractId(java.lang.Long newContractId)
public void setBaseContractId(java.lang.Long newBaseContractId)
public java.lang.Long getContractId()
public java.lang.Long getBaseContractId()
public boolean getHasGrandparentBaseContractWithFiltering()
public ContractAccessBean getContractAccessBean()
public PriceTCMasterCatalogWithFilteringAccessBean getPriceTCMasterCatalogWithFilteringAccessBean()
public java.sql.Timestamp getContractLastUpdateTime()
public MemberDataBean getContractOwner()
public java.lang.Integer getContractState()
public java.sql.Timestamp getTClastUpdateTime()
public java.lang.Integer getFilterPublishStatus()
public java.sql.Timestamp getFilterPublishTime()
public PolicyListDataBean getPriceListPolicies()
public void setTermConditionId(java.lang.Long newTermConditionId)
public java.lang.Long getTermConditionId()
public java.lang.String getExcludedProductSetIds()
public void setFilterXMLdefinition(java.lang.String newFilterXMLdefinition)
public java.lang.String getFilterXMLdefinition()
public java.util.Vector getCatalogFilters()
public CatalogFilterDataBean getCatalogFilter(int i)
public java.lang.Boolean getIncludeEntireCatalog()
public java.lang.Boolean getImmediateDeploy()
public void setTermConditionAccessBean(TermConditionAccessBean newTCAB)
public org.w3c.dom.Document getXMLdocument(java.lang.String xmlString)
public java.util.Vector buildCatalogFilters(org.w3c.dom.Document xmlDoc)
public int getDatabeanMode()
public void setDatabeanMode(int newDatabeanMode)
public void setDoNotFindDefaultContract()
public void setHostingMode(boolean newHostingMode)
public void setValidateReferenceNumbers(boolean newValidate)
public void setDebugMode(boolean newDebugMode)
public void trace(java.lang.String traceString)
public java.lang.String getDebugFilterXMLdefinition()