public class RatingSessionSearchFilterModel
extends com.highdeal.filter.hci.SearchFilterModel
attributeDescriptionModel
to build search criterias. attributeDescriptionModel
is given, all the sessions are returned. SESSION_IDBATCH_RATING_GROUP_IDSTART_DATEDURATIONRATING_MODEMAX_CDR_CONSUMPTION_DATENB_CDR_RATEDNB_CDR_ERRORDESCRIPTIONSTATUSSearchFilterModel for
more info on type.
Available specific formula code for this filter are:
SpecificFormulaModel
for more info on specific formula XML Schema.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="ratingSessionSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter"/>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BATCH_RATING_GROUP_ID
Name of the attributeDescription that searches for
batchRatingGroupId. |
static java.lang.String |
DESCRIPTION
Name of the attributeDescription that searches for
description. |
static java.lang.String |
DURATION
Name of the attributeDescription that searches for
duration. |
static java.lang.String |
FILTER_NAME
Name of this filter.
|
static java.lang.String |
MAX_CDR_CONSUMPTION_DATE
Name of the attributeDescription that searches for
maxCDRConsumptionDate. |
static java.lang.String |
MUST_BE_ENDED_CODE
Specific formula code for "must be ended" search criteria.
|
static java.lang.String |
MUST_BE_IN_PROGRESS_CODE
Specific formula code for "must be in progress" search criteria.
|
static java.lang.String |
NB_CDR_ERROR
Name of the attributeDescription that searches for
nbCDRError. |
static java.lang.String |
NB_CDR_RATED
Name of the attributeDescription that searches for
nbCDRRated. |
static java.lang.String |
RATING_MODE
Name of the attributeDescription that searches for
ratingMode. |
static java.lang.String |
SESSION_ID
Name of the attributeDescription that searches for
sessionID. |
static java.lang.String |
START_DATE
Name of the attributeDescription that searches for
startDate. |
static java.lang.String |
STATUS
Name of the attributeDescription that searches for
status. |
| Constructor and Description |
|---|
RatingSessionSearchFilterModel()
Builds an empty AcquisitionSessionSearchFilterModel.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector<com.highdeal.udr.hci.AttributeDescriptionModel> |
getMainAttributeDescriptionCatalog()
Returns the list of main attribute description on which the user
can build some search criteria.
|
com.highdeal.udr.hci.AttributeDescriptionModel |
getMainAttributeDescriptionFromCatalog(java.lang.String name)
Returns an attribute description from the catalog according to its name.
|
java.util.Vector<com.highdeal.filter.hci.SpecificFormulaModel> |
getSpecificFormulaCatalog()
Returns the catalog of available specific formula for the current search filter.
|
com.highdeal.filter.hci.SpecificFormulaModel |
getSpecificFormulaFromCatalog(java.lang.String code)
Returns a specific formula from the catalog according to its name.
|
boolean |
mustBeEnded()
Gets the "mustBeEnded" flag.
|
boolean |
mustBeInProgress()
Gets the "mustBeInProgress" flag.
|
void |
setMustBeEnded(boolean flag)
Sets the "setMustBeEnded" flag.
|
void |
setMustBeInProgress(boolean flag)
Sets the "setMustBeInProgress" flag.
|
addAttributeSelection, addCharacterData, addChild, addSpecificFormula, getAttributeResultList, getAttributeSelectionList, getAttributeSelectionListFromGroup, getFilterGroup, getFrom, getMaxSize, getResultType, getSearchFilterName, getSearchMode, getSort, getSpecificFormulaList, isCountRequired, marshal, setAttributes, setAttributeSelectionList, setCountRequiredFlag, setFrom, setMaxSize, setResultType, setSearchFilterName, setSearchMode, setSort, setSpecificFormulaListpublic static final java.lang.String SESSION_ID
sessionID. The type of the corresponding
attributeDescription
is number. The constant value is "cdrID".public static final java.lang.String BATCH_RATING_GROUP_ID
batchRatingGroupId. The type of the corresponding
attributeDescription
is number. The constant value is "batchRatingGroupId".public static final java.lang.String START_DATE
startDate. The type of the corresponding
attributeDescription
is date. The constant value is "startDate".public static final java.lang.String DURATION
duration. The type of the corresponding
attributeDescription
is number. The constant value is "duration".public static final java.lang.String RATING_MODE
ratingMode. The type of the corresponding
attributeDescription
is number. The constant value is "ratingMode".public static final java.lang.String MAX_CDR_CONSUMPTION_DATE
maxCDRConsumptionDate. The type of the corresponding
attributeDescription
is date. The constant value is "maxCDRConsumptionDate".public static final java.lang.String NB_CDR_RATED
nbCDRRated. The type of the corresponding
attributeDescription
is number. The constant value is "nbCDRRated".public static final java.lang.String NB_CDR_ERROR
nbCDRError. The type of the corresponding
attributeDescription
is number. The constant value is "nbCDRError".public static final java.lang.String DESCRIPTION
description. The type of the corresponding
attributeDescription
is string. The constant value is "description".public static final java.lang.String STATUS
status.
The type of the corresponding
attributeDescription
is number. The constant value is "status".public static final java.lang.String MUST_BE_IN_PROGRESS_CODE
public static final java.lang.String MUST_BE_ENDED_CODE
public static final java.lang.String FILTER_NAME
public RatingSessionSearchFilterModel()
public com.highdeal.filter.hci.SpecificFormulaModel getSpecificFormulaFromCatalog(java.lang.String code)
getSpecificFormulaFromCatalog in class com.highdeal.filter.hci.SearchFilterModelcode - the code which identifies the specific formula.SearchFilterModel.getSpecificFormulaFromCatalog(java.lang.String),
SearchFilterModel.getSpecificFormulaList()public java.util.Vector<com.highdeal.filter.hci.SpecificFormulaModel> getSpecificFormulaCatalog()
getSpecificFormulaCatalog in class com.highdeal.filter.hci.SearchFilterModelSpecificFormulaModel.SearchFilterModel.getSpecificFormulaCatalog(),
SearchFilterModel.getSpecificFormulaList()public java.util.Vector<com.highdeal.udr.hci.AttributeDescriptionModel> getMainAttributeDescriptionCatalog()
getMainAttributeDescriptionCatalog in class com.highdeal.filter.hci.SearchFilterModelAttributeDescriptionModel
which are related to main attributes of the concrete search filter.SearchFilterModel.getMainAttributeDescriptionCatalog(),
SearchFilterModel.getMainAttributeDescriptionFromCatalog(java.lang.String)public com.highdeal.udr.hci.AttributeDescriptionModel getMainAttributeDescriptionFromCatalog(java.lang.String name)
getMainAttributeDescriptionFromCatalog in class com.highdeal.filter.hci.SearchFilterModelname - the name of the attribute. Please consult related concrete class for more info.SearchFilterModel.getMainAttributeDescriptionFromCatalog(java.lang.String)public boolean mustBeInProgress()
public boolean mustBeEnded()
public void setMustBeInProgress(boolean flag)
flag - the "must be in progress" flag.public void setMustBeEnded(boolean flag)
flag - the "must be ended" flag.