public class AccessSearchFilterModel extends SearchFilterModel
Java class represents a specialized search filter that allows you
to retrieve any access in the customer master data of a service provider;
You specify some attribute descriptions
or predefined specific formula to define the search criteria.
You use this filter in the Search Access operation.
If no attribute description is specified, all the accesses in customer master data are returned.
SearchAccessOp
The available main AttributeDescriptionModel names are :
Note
Consult the SearchFilterModel Java class for more information.
The element name for the access filter is set to "accessSearchFilter".
SpecificFormulaModel
for more information on specific formula XML Schema.
The available specific formula code for this filter is:
Note
Consult SpecificFormulaModel Java class
for more information on specific formula XML Schema.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="accessSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter"/>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXCLUDES_ACCESS_ACTIVATING_SUBSCRIPTION
The name of the
specific formula that excludes from the
result all accesses that activate at least one subscription in customer master data. |
static java.lang.String |
OWNER
Name of the attributeDescription that search for
owner. |
static java.lang.String |
PARTITION_ID
Name of the partitioning key.
|
static java.lang.String |
SERVICE_ID
Name of the attributeDescription that search for
serviceId. |
static java.lang.String |
USER_SERVICE_ID
Name of the attributeDescription that search for
userServiceId. |
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 |
|---|
AccessSearchFilterModel()
Builds an empty access search filter model.
|
| 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 USER_SERVICE_ID
userServiceId.
The type of the corresponding attributeDescription is stringpublic static final java.lang.String SERVICE_ID
serviceId.
The type of the corresponding attributeDescription is stringpublic static final java.lang.String OWNER
owner.
The type of the corresponding attributeDescription is stringpublic static final java.lang.String PARTITION_ID
public static final java.lang.String EXCLUDES_ACCESS_ACTIVATING_SUBSCRIPTION
specific formula that excludes from the
result all accesses that activate at least one subscription in customer master data.public AccessSearchFilterModel()
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