public class SubscriptionSearchFilterModel extends SearchFilterModel
attributeDescriptionModel to build search criteria.
attributeDescriptionModel is given, all the subscriptions are returned.
CODEOFFER_CODEOFFER_CONDITION_CODEEFFECTIVEEXPIRATIONPRICE_FREEZE_EFFECTIVEPRICE_FREEZE_EXPIRATIONCOMMITMENT_EXPIRATIONSUSPENSION_DATERESUMPTION_DATECANCELLATION_DATERERATING_LAST_STATUSRERATING_LOCK_CODERERATING_LAST_CODERERATING_SUGGESTED_DATEPARTITION_IDSTATUSSearchFilterModel for
more information. The element name for the subscription filter is set to "subscriptionSearchFilter".
Available specific formula code for this filter are :
IS_CONTAINED_CODECONTAIN_CODEMUST_BE_ROOT_CODEIS_OFFLINEIS_HYBRIDIS_ONLINEIS_LOCKEDIS_NOT_LOCKEDHAS_RERATING_SUGGESTED_DATESpecificFormulaModel
for more information on specific formula XML Schema.
NOTE:
The specific formula MUST_BE_ROOT_CODE is set by default in a SearchSubscriptionOp.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="subscriptionSearchFilter" type="SearchFilter" substitutionGroup="SearchFilter"/>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BATCH_RATING_GROUP_ID
Name of the attributeDescription that search for
batchRatingGroupId. |
static java.lang.String |
CANCELLATION_DATE
Name of the attributeDescription that search for
cancellationDate. |
static java.lang.String |
CODE
Name of the attributeDescription that search for
code. |
static java.lang.String |
COMMITMENT_EXPIRATION
Name of the attributeDescription that search for
commitmentExpiration. |
static java.lang.String |
CONTAIN_CODE
Name of the specific formula that search for a subscription containing an object.
|
static java.lang.String |
EFFECTIVE
Name of the attributeDescription that search for
effective. |
static java.lang.String |
EXPIRATION
Name of the attributeDescription that search for
expiration. |
static java.lang.String |
HAS_RERATING_SUGGESTED_DATE
Name of the specific formula that search for a subscription that was rerated and for which the billing system has suggested a date.
|
static java.lang.String |
IS_CONTAINED_CODE
Name of the specific formula that search for a subscription contained in an object.
|
static java.lang.String |
IS_HYBRID
Name of the specific formula that search for an offline.
|
static java.lang.String |
IS_LOCKED
Name of the specific formula that search for a locked subscription (has a reratingLockCode).
|
static java.lang.String |
IS_NOT_LOCKED
Name of the specific formula that search for a not locked subscription (has no reratingLockCode).
|
static java.lang.String |
IS_OFFLINE
Name of the specific formula that search for an offline.
|
static java.lang.String |
IS_ONLINE
Name of the specific formula that search for an offline.
|
static java.lang.String |
MUST_BE_ROOT_CODE
Name of the specific formula that search for a subscription which is root.
|
static java.lang.String |
OFFER_CODE
Name of the attributeDescription that search for
offerCode. |
static java.lang.String |
OFFER_CONDITION_CODE
Name of the attributeDescription that search for
offerConditionCode. |
static java.lang.String |
PARTITION_ID
Name of the attributeDescription that search for
partitionID. |
static java.lang.String |
PRICE_FREEZE_EFFECTIVE
Name of the attributeDescription that search for
priceFreezeEffective. |
static java.lang.String |
PRICE_FREEZE_EXPIRATION
Name of the attributeDescription that search for
priceFreezeExpiration. |
static java.lang.String |
RERATING_LAST_CODE
Name of the attributeDescription that search for
reratingLastCode. |
static java.lang.String |
RERATING_LAST_STATUS
Name of the attributeDescription that search for
reratingLastStatus. |
static java.lang.String |
RERATING_LOCK_CODE
Name of the attributeDescription that search for
reratingLockCode. |
static java.lang.String |
RERATING_SUGGESTED_DATE
Name of the attributeDescription that search for
reratingSuggestedDate. |
static java.lang.String |
RESUMPTION_DATE
Name of the attributeDescription that search for
resumptionDate. |
static java.lang.String |
STATUS
Name of the attributeDescription that search for
status. |
static java.lang.String |
SUBSCRIBER_ACCOUNT_SERVICE_PROVIDER
Name of the specific formula that search for the subscriber account service provider.
|
static java.lang.String |
SUSPENSION_DATE
Name of the attributeDescription that search for
suspensionDate. |
static java.lang.String |
TYPE
Name of the attributeDescription that search for
type. |
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 |
|---|
SubscriptionSearchFilterModel()
Builds an empty SubscriptionSearchFilterModel.
|
| 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 name)
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 code)
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 CODE
code.
The type of the corresponding attributeDescription is stringpublic static final java.lang.String OFFER_CODE
offerCode.
The type of the corresponding attributeDescription is stringpublic static final java.lang.String OFFER_CONDITION_CODE
offerConditionCode.
The type of the corresponding attributeDescription is stringpublic static final java.lang.String TYPE
type.
The type of the corresponding attributeDescription is numberpublic static final java.lang.String EFFECTIVE
effective.
The type of the corresponding attributeDescription is datepublic static final java.lang.String EXPIRATION
expiration.
The type of the corresponding attributeDescription is datepublic static final java.lang.String PRICE_FREEZE_EFFECTIVE
priceFreezeEffective.
The type of the corresponding attributeDescription is datepublic static final java.lang.String PRICE_FREEZE_EXPIRATION
priceFreezeExpiration.
The type of the corresponding attributeDescription is datepublic static final java.lang.String COMMITMENT_EXPIRATION
commitmentExpiration.
The type of the corresponding attributeDescription is datepublic static final java.lang.String SUSPENSION_DATE
suspensionDate.
The type of the corresponding attributeDescription is datepublic static final java.lang.String RESUMPTION_DATE
resumptionDate.
The type of the corresponding attributeDescription is datepublic static final java.lang.String CANCELLATION_DATE
cancellationDate.
The type of the corresponding attributeDescription is datepublic static final java.lang.String BATCH_RATING_GROUP_ID
batchRatingGroupId.
The type of the corresponding attributeDescription is numberpublic static final java.lang.String RERATING_LOCK_CODE
reratingLockCode.
The type of the corresponding attributeDescription is numberpublic static final java.lang.String RERATING_LAST_STATUS
reratingLastStatus.
The type of the corresponding attributeDescription is numberpublic static final java.lang.String RERATING_LAST_CODE
reratingLastCode.
The type of the corresponding attributeDescription is numberpublic static final java.lang.String RERATING_SUGGESTED_DATE
reratingSuggestedDate.
The type of the corresponding attributeDescription is datepublic static final java.lang.String IS_OFFLINE
public static final java.lang.String IS_HYBRID
public static final java.lang.String IS_ONLINE
public static final java.lang.String IS_LOCKED
public static final java.lang.String IS_NOT_LOCKED
public static final java.lang.String HAS_RERATING_SUGGESTED_DATE
public static final java.lang.String PARTITION_ID
partitionID.
The type of the corresponding attributeDescription is numberpublic static final java.lang.String STATUS
status.
The type of the corresponding attributeDescription is numberpublic static final java.lang.String IS_CONTAINED_CODE
public static final java.lang.String CONTAIN_CODE
public static final java.lang.String MUST_BE_ROOT_CODE
public static final java.lang.String SUBSCRIBER_ACCOUNT_SERVICE_PROVIDER
public SubscriptionSearchFilterModel()
public SpecificFormulaModel getSpecificFormulaFromCatalog(java.lang.String code)
SearchFilterModelgetSpecificFormulaList() for more information;getSpecificFormulaFromCatalog in class SearchFilterModelcode - 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 name)
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 SearchFilterModelname - 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