public class AcquisitionSessionSearchFilterModel
extends com.highdeal.filter.hci.SearchFilterModel
attributeDescriptionModel to build search criterias. attributeDescriptionModel is given, all the
sessions are returned. SESSION_IDSTART_DATEDURATIONNB_CDR_NEWNB_CDR_DUPLICATENB_CDR_CONSOLIDATESOURCEDESCRIPTIONACQUISITION_MODESTATUSSearchFilterModel 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="acquisitionSessionSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter"/>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACQUISITION_MODE
Name of the attributeDescription that searches for
acquisitionMode. |
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 |
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_CONSOLIDATE
Name of the attributeDescription that searches for
nbCDRDuplicate. |
static java.lang.String |
NB_CDR_DUPLICATE
Name of the attributeDescription that searches for
nbCDRDuplicate. |
static java.lang.String |
NB_CDR_NEW
Name of the attributeDescription that searches for
nbCDRNew. |
static java.lang.String |
SESSION_ID
Name of the attributeDescription that searches for
sessionID. |
static java.lang.String |
SOURCE
Name of the attributeDescription that searches for
source. |
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 |
|---|
AcquisitionSessionSearchFilterModel()
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 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 NB_CDR_NEW
nbCDRNew. The type of the corresponding
attributeDescription
is number. The constant value is "nbCDRNew".public static final java.lang.String NB_CDR_DUPLICATE
nbCDRDuplicate. The type of the corresponding
attributeDescription
is number. The constant value is "nbCDRDuplicate".public static final java.lang.String NB_CDR_CONSOLIDATE
nbCDRDuplicate. The type of the corresponding
attributeDescription
is number. The constant value is "nbCDRConsolidate".public static final java.lang.String SOURCE
source.
The type of the corresponding
attributeDescription
is string. The constant value is "source".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 ACQUISITION_MODE
acquisitionMode. The type of the corresponding
attributeDescription
is number. The constant value is "acquisitionMode".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 AcquisitionSessionSearchFilterModel()
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.