public class CDRSearchFilterModel
extends com.highdeal.filter.hci.SearchFilterModel
attributeDescriptionModel
to build search criterias. attributeDescriptionModel
is given, all the cdrs are returned. CDR_IDBATCH_RATING_GROUP_IDNAMEUSER_IDSERVICE_IDSUBSCRIPTION_IDCONSUMPTION_DATESTATUSACQUISITION_DATEACQUISITION_IDRATING_DATERATING_IDERROR_CODEERROR_DESCRIPTIONSOURCEMAGIC_NUMBERSearchFilterModel 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="cdrSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter"/>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACQUISITION_DATE
Name of the attributeDescription that searches for
acquisitionDate. |
static java.lang.String |
ACQUISITION_ID
Name of the attributeDescription that searches for
acquisitionID. |
static java.lang.String |
BATCH_RATING_GROUP_ID
Name of the attributeDescription that searches for
groupID. |
static java.lang.String |
CDR_ID
Name of the attributeDescription that searches for
cdrID. |
static java.lang.String |
CONSUMPTION_DATE
Name of the attributeDescription that searches for
consumptionDate. |
static java.lang.String |
ERROR_CODE
Name of the attributeDescription that searches for
errorCode. |
static java.lang.String |
ERROR_DESCRIPTION
Name of the attributeDescription that searches for
errorDescription. |
static java.lang.String |
FILTER_NAME
Name of this filter model.
|
static java.lang.String |
MAGIC_NUMBER
Name of the attributeDescription that searches for
magicNumber. |
static java.lang.String |
MUST_BE_DUPLICATE_CODE
Specific formula code for "must be duplicate CDR" search criteria.
|
static java.lang.String |
MUST_BE_ERROR_CODE
Specific formula code for "must be error cdr" search criteria.
|
static java.lang.String |
MUST_BE_IGNORED_CODE
Specific formula code for "must be ignored cdr" search criteria.
|
static java.lang.String |
MUST_BE_IN_RATING_PROGRESS_CODE
Specific formula code for "must be in rating progress cdr" search
criteria.
|
static java.lang.String |
MUST_BE_NEW_CODE
Specific formula code for "must be new cdr" search criteria.
|
static java.lang.String |
MUST_BE_RATED_CODE
Specific formula code for "must be rated cdr" search criteria.
|
static java.lang.String |
NAME
Name of the attributeDescription that searches for
name. |
static java.lang.String |
RATING_DATE
Name of the attributeDescription that searches for
ratingDate. |
static java.lang.String |
RATING_ID
Name of the attributeDescription that searches for
ratingID. |
static java.lang.String |
SERVICE_ID
Name of the attributeDescription that searches for
serviceID. |
static java.lang.String |
SOURCE
Name of the attributeDescription that searches for
source. |
static java.lang.String |
STATUS
Name of the attributeDescription that searches for
status. |
static java.lang.String |
SUBSCRIPTION_ID
Name of the attributeDescription that searches for
subscriptionID. |
static java.lang.String |
USER_ID
Name of the attributeDescription that searches for
userID. |
| Constructor and Description |
|---|
CDRSearchFilterModel()
Builds an empty CDRSearchFilterModel.
|
| 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 |
mustBeDuplicate()
Gets the "mustBeDuplicate" flag.
|
boolean |
mustBeError()
Gets the "mustBeError" flag.
|
boolean |
mustBeIgnored()
Gets the "mustBeIgnored" flag.
|
boolean |
mustBeInRatingProgress()
Gets the "mustBeInRatingProgress" flag.
|
boolean |
mustBeNew()
Gets the "mustBeNew" flag.
|
boolean |
mustBeRated()
Gets the "mustBeRated" flag.
|
void |
setMustBeDuplicate(boolean flag)
Sets the "mustBeDuplicate" flag.
|
void |
setMustBeError(boolean flag)
Sets the "setMustBeError" flag.
|
void |
setMustBeIgnored(boolean flag)
Sets the "setMustBeIgnored" flag.
|
void |
setMustBeInRatingProgress(boolean flag)
Sets the "mustBeInRatingProgress" flag.
|
void |
setMustBeNew(boolean flag)
Sets the "setMustBeNew" flag.
|
void |
setMustBeRated(boolean flag)
Sets the "setMustBeRated" 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 CDR_ID
cdrID.
The type of the corresponding
attributeDescription
is number. The constant value is "cdrID".public static final java.lang.String BATCH_RATING_GROUP_ID
groupID.
The type of the corresponding
attributeDescription
is number. The constant value is "batchRatingGroupId".public static final java.lang.String NAME
name.
The type of the corresponding
attributeDescription
is string. The constant value is "name".public static final java.lang.String USER_ID
userID.
The type of the corresponding
attributeDescription
is string. The constant value is "userID".public static final java.lang.String SERVICE_ID
serviceID. The type of the corresponding
attributeDescription
is string. The constant value is "serviceID".public static final java.lang.String SUBSCRIPTION_ID
subscriptionID. The type of the corresponding
attributeDescription
is number. The constant value is "subscriptionID".public static final java.lang.String CONSUMPTION_DATE
consumptionDate. The type of the corresponding
attributeDescription
is date. The constant value is "consumptionDate".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 ACQUISITION_DATE
acquisitionDate. The type of the corresponding
attributeDescription
is date. The constant value is "acquisitionDate".public static final java.lang.String ACQUISITION_ID
acquisitionID. The type of the corresponding
attributeDescription
is number. The constant value is "acquisitionID".public static final java.lang.String RATING_DATE
ratingDate. The type of the corresponding
attributeDescription
is date. The constant value is "ratingDate".public static final java.lang.String RATING_ID
ratingID. The type of the corresponding
attributeDescription
is number. The constant value is "ratingID".public static final java.lang.String ERROR_CODE
errorCode. The type of the corresponding
attributeDescription
is number. The constant value is "errorCode".public static final java.lang.String ERROR_DESCRIPTION
errorDescription. The type of the corresponding
attributeDescription
is string. The constant value is "errorDescription".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 MAGIC_NUMBER
magicNumber. The type of the corresponding
attributeDescription
is string. The constant value is "magicNumber".public static final java.lang.String MUST_BE_NEW_CODE
public static final java.lang.String MUST_BE_RATED_CODE
public static final java.lang.String MUST_BE_ERROR_CODE
public static final java.lang.String MUST_BE_IGNORED_CODE
public static final java.lang.String MUST_BE_DUPLICATE_CODE
public static final java.lang.String MUST_BE_IN_RATING_PROGRESS_CODE
public static final java.lang.String FILTER_NAME
public CDRSearchFilterModel()
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 mustBeNew()
public boolean mustBeRated()
public boolean mustBeError()
public boolean mustBeIgnored()
public boolean mustBeDuplicate()
public boolean mustBeInRatingProgress()
public void setMustBeNew(boolean flag)
flag - the "must be new" flag.public void setMustBeRated(boolean flag)
flag - the "must be rated" flag.public void setMustBeError(boolean flag)
flag - the "must be error" flag.public void setMustBeIgnored(boolean flag)
flag - the "must be ignored" flag.public void setMustBeDuplicate(boolean flag)
flag - the "must be duplicate" flag.public void setMustBeInRatingProgress(boolean flag)
flag - the "must be in rating progress" flag.