public class RangeTableSearchFilterModel extends TableSearchFilterModel
Java class represents a specialized search filter that allows you
to retrieve any range tables in the pricing catalog (in master data) of a service provider;
You specify some attribute descriptions to define the search criteria.
If no attribute description is specified, all the range tables in master data are returned.
The available main AttributeDescriptionModel names are:
Note
Consult the search filter data model for more information about
SearchFilterModel.setAttributeSelectionList(java.util.List) selection of attributes to search for.
The available specific formula codes for this filter are:
TableSearchFilterModel.TABLE_SCOPE: search for Range Table scopeSearchRangeTableOp,
SearchFilterModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="rangeTableSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter"/>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RANGE_TABLE_CLASS_ID
The name of the
attribute description that search for range table rangeTableClassId. |
static java.lang.String |
TAG_NAME
The XML tag name of this search filter: "rangeTableSearchFilter"
|
static java.lang.String |
WITHOUT_INPUT_COLUMNS
The code of the specific formula to filter only the range tables without input columns.
|
AGREEMENT_ID, DESCRIPTION, ID, OWNER, TABLE_SCOPEASC_ORDER, ATTRIBUTES_RESULT_TYPE, DESC_ORDER, FILTER_GROUP_PNR, ID_RESULT_TYPE, ITERATOR_MODE, LIST_MODE, NO_ORDER, OBJECT_RESULT_TYPE| Constructor and Description |
|---|
RangeTableSearchFilterModel() |
| Modifier and Type | Method and Description |
|---|---|
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; |
getFilterGroupaddAttributeSelection, 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 RANGE_TABLE_CLASS_ID
attribute description that search for range table rangeTableClassId.
The type of the corresponding attribute description is stringpublic static final java.lang.String WITHOUT_INPUT_COLUMNS
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.