public class RangeTableClassSearchFilterModel extends SearchFilterModel
Java class represents a specialized search filter that allows you
to retrieve any range table classes in the pricing catalog (in master data) of a service provider;
You specify an attribute description to define the search criteria.
If no attribute description is given, all the range table classes in master data are returned.
The available main AttributeDescriptionModel names are:
ConsultSearchFilterModel for
XML Schema.
Note
Consult the search filter data model for more information about
SearchFilterModel.setAttributeSelectionList(java.util.List) selection of attributes to search for.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="rangeTableClassSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter"/>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DESCRIPTION
The name of the attribute description that search for range table class
description. |
static java.lang.String |
ID
The name of the attribute description that search for range table class
id. |
static java.lang.String |
OWNER
The name of the attribute description that search for
. |
static java.lang.String |
TAG_NAME
The XML tag name of this search filter: "rangeTableClassSearchFilter"
|
static java.lang.String |
WITHOUT_INPUT_COLUMNS
The code of the specific formula to filter only the range table classes without input columns.
|
ASC_ORDER, ATTRIBUTES_RESULT_TYPE, DESC_ORDER, FILTER_GROUP_PNR, ID_RESULT_TYPE, ITERATOR_MODE, LIST_MODE, NO_ORDER, OBJECT_RESULT_TYPE| Constructor and Description |
|---|
RangeTableClassSearchFilterModel() |
RangeTableClassSearchFilterModel(java.lang.String searchFilterName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFilterGroup()
Returns the filter group of the search filter; default is
BnR. |
java.util.Vector<AttributeDescriptionModel> |
getMainAttributeDescriptionCatalog()
Returns the list of main attribute descriptions on which the user can build some search criteria;
See
getMainAttributeDescriptionFromCatalog()
for more information. |
AttributeDescriptionModel |
getMainAttributeDescriptionFromCatalog(java.lang.String attributeName)
Returns an empty constraint from a catalog that can be used for specifying
a criterion on a main attribute (identified by its name).
|
java.util.Vector<SpecificFormulaModel> |
getSpecificFormulaCatalog()
Returns the catalog of available specific formula for the current search filter;
See
getSpecificFormulaList() for more information; |
SpecificFormulaModel |
getSpecificFormulaFromCatalog(java.lang.String formCode)
Returns a specific formula from the catalog according to its name;
See
getSpecificFormulaList() for more information; |
addAttributeSelection, addCharacterData, addChild, addSpecificFormula, getAttributeResultList, getAttributeSelectionList, getAttributeSelectionListFromGroup, getFrom, getMaxSize, getResultType, getSearchFilterName, getSearchMode, getSort, getSpecificFormulaList, isCountRequired, marshal, setAttributes, setAttributeSelectionList, setCountRequiredFlag, setFrom, setMaxSize, setResultType, setSearchFilterName, setSearchMode, setSort, setSpecificFormulaListpublic static final java.lang.String TAG_NAME
public static final java.lang.String ID
id.
The type of the corresponding attribute description is stringpublic static final java.lang.String DESCRIPTION
description.
The type of the corresponding attribute description is stringpublic static final java.lang.String OWNER
owner.
The type of the corresponding attributeDescription is stringpublic static final java.lang.String WITHOUT_INPUT_COLUMNS
public RangeTableClassSearchFilterModel()
public RangeTableClassSearchFilterModel(java.lang.String searchFilterName)
public SpecificFormulaModel getSpecificFormulaFromCatalog(java.lang.String formCode)
SearchFilterModelgetSpecificFormulaList() for more information;getSpecificFormulaFromCatalog in class SearchFilterModelformCode - The code that identifies the specific formulanull if the formula does not exist.public java.util.Vector<SpecificFormulaModel> getSpecificFormulaCatalog()
SearchFilterModelgetSpecificFormulaList() for more information;getSpecificFormulaCatalog in class SearchFilterModelSpecificFormulaModelpublic AttributeDescriptionModel getMainAttributeDescriptionFromCatalog(java.lang.String attributeName)
SearchFilterModelIn main concrete filter, it exists some main attributes on which constraint can port on. The main difference between main attribute group and other attribute groups (additional, parameter, counter) is that those attributes are predefined. So we can establish the catalog of the main attribute for a concrete search filter, for which it will be possible to build some search criteria.
This method gives the possibility to retrieve a predefined constraint on a main attribute that belongs to the main attribute catalog.
getMainAttributeDescriptionFromCatalog in class SearchFilterModelattributeName - The name of the attribute; see the related concrete class for
more information.null if the specified attribute name
does not match any catalog attributepublic java.util.Vector<AttributeDescriptionModel> getMainAttributeDescriptionCatalog()
SearchFilterModelgetMainAttributeDescriptionFromCatalog()
for more information.getMainAttributeDescriptionCatalog in class SearchFilterModelattribute descriptions
that are related to main attributes of the concrete search filter.public int getFilterGroup()
SearchFilterModelBnR.
This method is surrounded in PnR search filter models.getFilterGroup in class SearchFilterModel