public class ChargingContractSearchFilterModel extends SearchFilterModel
Java class represents a search filter dedicated to
contracts in customer master data managed by the connected SAP CC Core Server system;
The filter allows you to specify a set of search criteria to
retrieve corresponding charging contracts (charging view of provider contracts).
Implementation Note and Concepts
A charging contract is the pricing and charging view of a provider contract stored in SAP Convergent Charging.
You use this search filter only in the Rerate Bulk operation if you have decided to replace the SAP CC Core Tool user interface
that is the default user interface to trigger rerating operations in a production system landscape.
You specify:
RerateBulkOp
The main search criterion is:
The additional search criteria are:
Note
Consult the SearchFilterModel Java class for more information.
The available specific formula codes for this filter are:
HAS_RERATING_SUGGESTED_DATE: Returns only contracts that define a last rerating suggested dateIS_ROOT_CHARGING_CONTRACT: Returns only root contracts (parent provider contracts and isolated contracts). The research excludes the linked contracts from the results.IS_ACTIVE: Returns only root contracts (parent provider contracts and isolated contracts) having an operation status set to ACTIVE (0)IS_LOCKED: Returns only root contracts (parent provider contracts and isolated contracts) having an operation status set to LOCKED (1)IS_CLOSED: Returns only root contracts (parent provider contracts and isolated contracts) having an operation status set to CLOSED (2)Note
Consult the SpecificFormulaModel Java class
for more information about predefined search formula and how to implement them in your client application.
You can implement a research that is based on some additional information in the charging contracts.
The structure of contracts is customized and enables data configuration of custom items in the charging contracts.
Use the SearchFilterModel.addAttributeSelection(com.highdeal.udr.hci.AttributeDescriptionModel) method to add
an attribute description in this search filter.
You The type additional
which name is the one of your additional information.
Note
Consult the SAP CC Application Help for more information about the additional information in provider contracts.
RerateBulkOpThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargingContractSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter" />
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HAS_RERATING_SUGGESTED_DATE
The name of the
specific formula that searches for a charging contract that was rerated and for which the billing system has suggested a date. |
static java.lang.String |
ID
The name of the
criterion that describes the value of the attribute "id" of the charging contract.The type of this criteria is a string. |
static java.lang.String |
IS_ACTIVE
Name of the specific formula returning root contracts (parent provider contracts and isolated contracts) having an operational status set to active.
|
static java.lang.String |
IS_CLOSED
Name of the specific formula returning root contracts (parent provider contracts and isolated contracts) having an operational status set to closed .
|
static java.lang.String |
IS_LOCKED
Name of the specific formula returning root contracts (parent provider contracts and isolated contracts) having an operational status set to locked.
|
static java.lang.String |
IS_ROOT_CHARGING_CONTRACT
The name of the
specific formula returning root contracts (parent provider contracts and isolated contracts) and excluding the linked contracts from the results. |
static java.lang.String |
OPERATIONAL_STATUS
The name of the
criterion that describes the value of the attribute "operationalStatus" of the charging contract.The type of this criteria is a string. |
static java.lang.String |
RERATING_LAST_CODE
Name of the
criterion that describes the value of the attribute "rerating_last_code" of the charging contract.The type of this criteria is a string. |
static java.lang.String |
RERATING_LAST_STATUS
Name of the
criterion that describes the value of the attribute "rerating_last_status" of the charging contract.The type of this criteria is a number. |
static java.lang.String |
RERATING_LOCK_CODE
Name of the
criterion that describes the value of the attribute "rerating_lock_code" of the charging contract.The type of this criteria is a string. |
static java.lang.String |
RERATING_SUGGESTED_DATE
Name of the
criterion that describes the value of the attribute "rerating_suggested_date" of the charging contract.The type of this criteria is a date. |
static java.lang.String |
ROOT_CHARGING_CONTRACT_ID
Name of the
criterion that describes the value of the attribute "rootChargingContractId" of the charging contract
linked to a root charging contract. |
static java.lang.String |
SUAC_ADD_INFO_KEY
Name for the
additional group key for Subscriber Account additional information. |
static java.lang.String |
SUBSCRIBER_ACCOUNT_CODE
The name of the
criterion that describes the value of the attribute "subscriberAccountId" of the charging contract
linked to a SubscriberAccountModel.getCode().The type of this criteria is a string. |
static java.lang.String |
SUBSCRIBER_ACCOUNT_SERVICE_PROVIDER
Name of the
criterion that describes the value of the attribute "subscriberAccountServiceProvider" of the charging contract
linked to a SubscriberAccountModel.getServiceProvider().The type of this criteria is a string. |
static java.lang.String |
TAG_NAME
The XML tag name of this search filter: "chargingContractSearchFilter"
|
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 |
|---|
ChargingContractSearchFilterModel()
Constructs an empty filter.
|
ChargingContractSearchFilterModel(java.lang.String tagName)
Constructs an empty filter.
|
| 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
criterion that describes the value of the attribute "id" of the charging contract.string.public static final java.lang.String OPERATIONAL_STATUS
criterion that describes the value of the attribute "operationalStatus" of the charging contract.string.public static final java.lang.String SUBSCRIBER_ACCOUNT_CODE
criterion that describes the value of the attribute "subscriberAccountId" of the charging contract
linked to a SubscriberAccountModel.getCode().string.public static final java.lang.String SUBSCRIBER_ACCOUNT_SERVICE_PROVIDER
criterion that describes the value of the attribute "subscriberAccountServiceProvider" of the charging contract
linked to a SubscriberAccountModel.getServiceProvider().string.public static final java.lang.String ROOT_CHARGING_CONTRACT_ID
criterion that describes the value of the attribute "rootChargingContractId" of the charging contract
linked to a root charging contract. In case the contract is root, the value of this attribute is the same as the ID of the contract.public static final java.lang.String RERATING_LOCK_CODE
criterion that describes the value of the attribute "rerating_lock_code" of the charging contract.string.public static final java.lang.String RERATING_LAST_STATUS
criterion that describes the value of the attribute "rerating_last_status" of the charging contract.number.public static final java.lang.String RERATING_LAST_CODE
criterion that describes the value of the attribute "rerating_last_code" of the charging contract.string.public static final java.lang.String RERATING_SUGGESTED_DATE
criterion that describes the value of the attribute "rerating_suggested_date" of the charging contract.date.public static final java.lang.String HAS_RERATING_SUGGESTED_DATE
specific formula that searches for a charging contract that was rerated and for which the billing system has suggested a date.public static final java.lang.String IS_ROOT_CHARGING_CONTRACT
specific formula returning root contracts (parent provider contracts and isolated contracts) and excluding the linked contracts from the results.public static final java.lang.String IS_ACTIVE
public static final java.lang.String IS_LOCKED
public static final java.lang.String IS_CLOSED
public static final java.lang.String SUAC_ADD_INFO_KEY
additional group key for Subscriber Account additional information.public ChargingContractSearchFilterModel()
public ChargingContractSearchFilterModel(java.lang.String tagName)
tagName - The tag name of this filterpublic 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 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<SpecificFormulaModel> getSpecificFormulaCatalog()
SearchFilterModelgetSpecificFormulaList() for more information;getSpecificFormulaCatalog in class SearchFilterModelSpecificFormulaModelpublic 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 int getFilterGroup()
SearchFilterModelBnR.
This method is surrounded in PnR search filter models.getFilterGroup in class SearchFilterModel