public class SearchCatalogEntryViewAttributesResultFilter extends AbstractSearchResultFilter implements SearchResultFilter
Constructor and Description |
---|
SearchCatalogEntryViewAttributesResultFilter() |
Modifier and Type | Method and Description |
---|---|
void | filter(SelectionCriteria selectionCriteria, commonj.sdo.DataObject dataObject)
Invoke the search filter to modify the given data object to make it suitable for business use.
|
protected java.lang.String | getAccessProfileDictionaryAttributeAllowedValues() |
protected java.lang.String | getAccessProfileDictionaryAttributeValues() |
protected com.ibm.commerce.catalog.facade.datatypes.AttributeValueViewType | getAllowedValue(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttrVal pATTRVAL, java.lang.String storeId)
Gets the attribute allowed value logical noun part according to the attribute value physical SDO and store id.
|
protected com.ibm.commerce.catalog.facade.datatypes.AttributeValueViewType | getAttributeValueFromAttribute(com.ibm.commerce.catalog.facade.datatypes.AttributeViewType attributeView, java.lang.String attrValId)
Return the attribute value object from attribute according to the specified attribute value id.
|
protected java.util.Map | getExtendedValuesForClassicAttribute(Attribute pATTRIBUTE)
This method processes an classic attribute and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForClassicAttributeValue(AttributeValue aValue)
This method processes an classic attribute value and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForClassicAttributeValue(AttributeValue aValue, java.lang.String storeId)
This method processes an classic attribute value and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForDictionaryAttribute(com.ibm.commerce.catalog.facade.server.entity.datatypes.Attr aAttribute)
This method processes an attribute dictionary attribute and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForDictionaryAttributeDescription(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttributeDescription aAttributeDescription)
This method processes an attribute dictionary attribute description and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForDictionaryAttributeRelationship(com.ibm.commerce.catalog.facade.server.entity.datatypes.CatalogEntryAttributeRelation aRelationship)
This method processes an catalog entry and dictionary attribute relationship and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForDictionaryAttributeValue(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttrVal aValue)
This method processes an dictionary attribute value description and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForDictionaryAttributeValueDescription(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttributeValueDescription aValueDesc)
This method processes an attribute value description and extracts extended values to a map.
|
protected java.util.Map | getExtendedValuesForDictionaryAttributeValueDescription(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttributeValueDescription aValueDesc, java.lang.String storeId)
This method processes an attribute value description and extracts extended values to a map.
|
protected void | populateAttributeDictionaryAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView, com.ibm.commerce.catalog.facade.server.entity.datatypes.CatalogEntryAttributeRelation pCATENTRYATTR)
This method populates the catalogEntryView noun part with attributes from attribute dictionary.
|
protected void | populateAttributeDictionaryAttributesAllowedValues(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView, java.util.Map<java.lang.String,java.util.List> attrValMap)
This method populates the catalogEntryView noun part with attribute allowed values from attribute dictionary.
|
protected void | populateClassicAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView, Attribute pATTRIBUTE, AttributeValue pATTRVALUE)
This method populates the CatalogEntryView noun with classic attributes and values.
|
protected void | populateClassicAttributesBaseProperties(com.ibm.commerce.catalog.facade.datatypes.AttributeViewType attributeView, Attribute pATTRIBUTE)
Populates the AttributeView noun part with classic attributes base properties.
|
protected void | populateClassicAttributeValue(com.ibm.commerce.catalog.facade.datatypes.AttributeViewType attributeView, AttributeValue pATTRVALUE, java.lang.String storeId)
Populate the classic attribute values from a classic attribute value physical object (ATTRVALUE table).
|
protected void | populateProductSKUsAttributeDictionaryAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView)
This method populates the attribute dictionary attributes for all the SKUs in the CatalogEntryViewType noun part.
|
protected void | populateProductSKUsClassicAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView)
This method populates the classic attributes for all the SKUs in the CatalogEntryViewType noun part.
|
protected java.util.List | readAttributesAllowedValuesPhysicalObjects(java.util.List<java.lang.String> attrIds, java.util.List<java.lang.String> catentryIds, java.lang.String aXPathKey, java.lang.String accessProfile)
Read the attribute allowed values physical objects according to the specified attribute ids and catalog entry ids, XPath key and access profile
|
protected java.util.List | readCatalogEntryAttributesPhysicalObjects(java.util.List<java.lang.String> catEntryIds, java.lang.String aXPathKey, java.lang.String accessProfile)
Read the attribute physical objects according to the specified catalog entry ids, XPath key and access profile
|
public SearchCatalogEntryViewAttributesResultFilter()
public void filter(SelectionCriteria selectionCriteria, commonj.sdo.DataObject dataObject) throws java.lang.RuntimeException
protected void populateClassicAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView, Attribute pATTRIBUTE, AttributeValue pATTRVALUE)
protected void populateClassicAttributesBaseProperties(com.ibm.commerce.catalog.facade.datatypes.AttributeViewType attributeView, Attribute pATTRIBUTE)
protected void populateClassicAttributeValue(com.ibm.commerce.catalog.facade.datatypes.AttributeViewType attributeView, AttributeValue pATTRVALUE, java.lang.String storeId)
protected java.util.Map getExtendedValuesForClassicAttribute(Attribute pATTRIBUTE)
protected java.util.Map getExtendedValuesForClassicAttributeValue(AttributeValue aValue)
protected java.util.Map getExtendedValuesForClassicAttributeValue(AttributeValue aValue, java.lang.String storeId)
protected java.util.Map getExtendedValuesForDictionaryAttributeRelationship(com.ibm.commerce.catalog.facade.server.entity.datatypes.CatalogEntryAttributeRelation aRelationship)
protected java.util.Map getExtendedValuesForDictionaryAttribute(com.ibm.commerce.catalog.facade.server.entity.datatypes.Attr aAttribute)
protected java.util.Map getExtendedValuesForDictionaryAttributeDescription(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttributeDescription aAttributeDescription)
protected java.util.Map getExtendedValuesForDictionaryAttributeValue(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttrVal aValue)
protected java.util.Map getExtendedValuesForDictionaryAttributeValueDescription(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttributeValueDescription aValueDesc)
protected java.util.Map getExtendedValuesForDictionaryAttributeValueDescription(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttributeValueDescription aValueDesc, java.lang.String storeId)
protected void populateAttributeDictionaryAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView, com.ibm.commerce.catalog.facade.server.entity.datatypes.CatalogEntryAttributeRelation pCATENTRYATTR)
protected com.ibm.commerce.catalog.facade.datatypes.AttributeValueViewType getAllowedValue(com.ibm.commerce.catalog.facade.server.entity.datatypes.AttrVal pATTRVAL, java.lang.String storeId)
protected void populateAttributeDictionaryAttributesAllowedValues(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView, java.util.Map<java.lang.String,java.util.List> attrValMap)
protected com.ibm.commerce.catalog.facade.datatypes.AttributeValueViewType getAttributeValueFromAttribute(com.ibm.commerce.catalog.facade.datatypes.AttributeViewType attributeView, java.lang.String attrValId)
protected void populateProductSKUsAttributeDictionaryAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView) throws DataMediatorException
protected void populateProductSKUsClassicAttributes(com.ibm.commerce.catalog.facade.datatypes.CatalogEntryViewType catalogEntryView) throws DataMediatorException
protected java.util.List readAttributesAllowedValuesPhysicalObjects(java.util.List<java.lang.String> attrIds, java.util.List<java.lang.String> catentryIds, java.lang.String aXPathKey, java.lang.String accessProfile) throws DataMediatorException
protected java.util.List readCatalogEntryAttributesPhysicalObjects(java.util.List<java.lang.String> catEntryIds, java.lang.String aXPathKey, java.lang.String accessProfile) throws DataMediatorException
protected java.lang.String getAccessProfileDictionaryAttributeAllowedValues()
protected java.lang.String getAccessProfileDictionaryAttributeValues()