NMService Class Reference
| Inherits from | NMCore : NSObject |
| Declared in | NMService.h NMService.m |
Overview
NMService class is used to perform regarding query operations over NMContent objects saved on cloud. This class also contains the relevant methods configure the settings about query issues.
Tasks
-
identifierIdentifier of the NMService object that is equal to the identifier of created NMContent objects.
property -
searchTextString value for full-text search over string attributes of a pile of NMContent objects.
property -
maxMaximum number of the NMContent objects returned from calling query method.
property -
pageNumber of the page that returns the NMContent objects for calling query method.
property -
sortByName of the key which holds the value used to sort a pile of contents.
property -
sortOrderEnum type of order to use while sorting a pile of contents.
property -
– initWithIdentifier:Initializes the newly allocated NMService object with the specified identifier value.
-
– getContentAtPath:error:Fetches the single NMContent object which path is equal to the value set to path parameter.
-
– getContentAtPathInBackground:completionHandler:Fetches the single NMContent object which path is equal to the value set to path parameter on the background thread.
-
– getContentsAtPaths:error:Fetches a list of NMContent objects with the given path list.
-
– getContentsAtPathsInBackground:completionHandler:Fetches a list of NMContent objects with the given path list.
-
– searchContentsWithError:Fetches a list of NMContent objects matching the search query.
-
– searchContentsInBackgroundWithCompletionHandler:Fetches a list of NMContent objects matching the search query on the background thread.
-
– countContentsWithError:Returns the total number of the NMContent objects matching the search query.
-
– countContentsInBackgroundWithCompletionHandler:Returns the total number of the NMContent objects matching the search query on the background thread.
-
– circleSearchWithLocation:radius:key:error:Fetches a list of NMContent objects which are placed within the range of the given distance around the specified center location.
-
– circleSearchInBackgroundWithLocation:radius:key:completionHandler:Fetches a list of NMContent objects which are placed within the range of the given distance around the specified center location on the background thread.
-
– boxSearchWithStartLocation:diagonalLocation:key:error:Fetches a list of NMContent objects which are placed within the box area created with the given location coordinates.
-
– boxSearchInBackgroundWithStartLocation:diagonalLocation:key:completionHandler:Fetches a list of NMContent objects which are placed within the box area created with the given location coordinates on the background thread.
-
– whereEqualToOwner:This is used to get the contents of the logged user.
-
– whereEqualToValue:forKey:Adds an option into the query which filters the contents which values of given key are equal to the given value.
-
– whereGreaterThanValue:forKey:Adds an option into the query which filters the contents which values of given key are greater than the given value.
-
– whereLessThanValue:forKey:Adds an option into the query which filters the contents which values of given key are less than the given value.
-
– whereNotEqualToValue:forKey:Adds an option into the query which filters the contents which values of given key are not equal to the given value.
-
– whereGreatherThanOrEqualToValue:forKey:Adds an option into the query which filters the contents which values of given key are greater than or equal to the given value.
-
– whereLessThanOrEqualToValue:forKey:Adds an option into the query which filters the contents which values of given key are less than or equal to the given value.
-
– whereExist:forKey:Adds an option into the query which filters the contents which contain the given key or not.
-
– whereMatchWithRegex:forKey:Adds an option into the query which filters the contents which values of given key match the given regex.
-
– whereMatchWithRegex:forKey:caseInsensitive:Adds an option into the query which filters the contents which values of given key match the given regex.
-
– whereStartWithValue:forKey:Adds an option into the query which filters the contents which values of given key begin with the given prefix.
-
– whereStartWithValue:forKey:caseInsensitive:Adds an option into the query which filters the contents which values of given key begin with the given prefix.
-
– whereEndWithValue:forKey:Adds an option into the query which filters the contents which values of given key end with the given suffix.
-
– whereEndWithValue:forKey:caseInsensitive:Adds an option into the query which filters the contents which values of given key end with the given suffix.
-
– whereContainAnyValueIn:forKey:Adds an option into the query where filters the contents which values of the given key match any of the values in the given collection.
-
– whereContainAllValuesIn:forKey:Adds an option into the query where filters the contents which values of the given key match all of the values in the given collection.
-
– getCustomConditionReturns the single query formed by merging all query options.
-
– getUsersWithError:Fetches a list of NMUser objects matching the search query.
-
+ cacheTypeReturns the type of the Cache to use while searching.
-
+ setCacheType:Sets the enum value for cache type of search methods.
-
+ cacheExpirationIntervalReturns the interval value when the contents will be deleted from the cache.
-
+ setCacheExpirationInterval:Sets the expiration value for the time interval when the cached contents will be deleted.
-
+ clearCacheRemoves all data saved in the cache.
Properties
identifier
Identifier of the NMService object that is equal to the identifier of created NMContent objects.
@property (nonatomic, strong) NSString *identifierDiscussion
Identifier of the NMService object that is equal to the identifier of created NMContent objects.
Declared In
NMService.hmax
Maximum number of the NMContent objects returned from calling query method.
@property (nonatomic, setter=setMax:) int maxDiscussion
Maximum number of the NMContent objects returned from calling query method.
Declared In
NMService.hpage
Number of the page that returns the NMContent objects for calling query method.
@property (nonatomic, setter=setPage:) int pageDiscussion
Number of the page that returns the NMContent objects for calling query method.
If the number of the NMContent objects returned from the calling query method is bigger than ‘max’ property of caller NMService object, contents are divided into the pages. In order to access all the contents, you should enumerate all of the pages. The first page is zero.
Declared In
NMService.hsearchText
String value for full-text search over string attributes of a pile of NMContent objects.
@property (nonatomic, strong) NSString *searchTextDiscussion
String value for full-text search over string attributes of a pile of NMContent objects.
Declared In
NMService.hsortBy
Name of the key which holds the value used to sort a pile of contents.
@property (nonatomic, strong) NSString *sortByDiscussion
Name of the key which holds the value used to sort a pile of contents.
Declared In
NMService.hsortOrder
Enum type of order to use while sorting a pile of contents.
@property (nonatomic) enum NMSortOrder sortOrderDiscussion
Enum type of order to use while sorting a pile of contents.
Warning: Available enum options for sort order
SortOrderAscending, sorts contents by increasing order
SortOrderDescending, sorts contents by decreasing order
Declared In
NMService.hClass Methods
cacheExpirationInterval
Returns the interval value when the contents will be deleted from the cache.
+ (NSTimeInterval)cacheExpirationIntervalReturn Value
returns the cache expiration value.
Discussion
Returns the interval value when the contents will be deleted from the cache.
Declared In
NMService.hcacheType
Returns the type of the Cache to use while searching.
+ (enum NMCacheType)cacheTypeReturn Value
Current cache type for search methods.
Discussion
Returns the type of the Cache to use while searching.
Warning: Available enum options to set cache type:
CacheTypeNoCache, Queries does not add and retrieve results to cache.
CacheTypeFromCache, Queries retrieve results from the cache.
CacheTypeFromNetwork, Queries retrieve results from the network and add results into the cache.
CacheTypeFirstCacheThenNetwork, Queries first tries to get results from cache, if it cannot find then tries to get from network.
CacheTypeFirstNetworkThenCache, Queries first tries to get results from network, if it cannot find then tries to get from cache.
Declared In
NMService.hclearCache
Removes all data saved in the cache.
+ (void)clearCacheDiscussion
Removes all data saved in the cache.
Declared In
NMService.hsetCacheExpirationInterval:
Sets the expiration value for the time interval when the cached contents will be deleted.
+ (void)setCacheExpirationInterval:(NSTimeInterval)intervalParameters
- interval
The expiration value for cache mechanism.
Discussion
Sets the expiration value for the time interval when the cached contents will be deleted.
Declared In
NMService.hsetCacheType:
Sets the enum value for cache type of search methods.
+ (void)setCacheType:(enum NMCacheType)cacheTypeParameters
- cacheType
The enum value for the cache type.
Discussion
Sets the enum value for cache type of search methods.
Warning: Available enum options to set cache type:
CacheTypeNoCache, Queries does not add and retrieve results to cache.
CacheTypeFromCache, Queries retrieve results from the cache.
CacheTypeFromNetwork, Queries retrieve results from the network and add results into the cache.
CacheTypeFirstCacheThenNetwork, Queries first tries to get results from cache, if it cannot find then tries to get from network.
CacheTypeFirstNetworkThenCache, Queries first tries to get results from network, if it cannot find then tries to get from cache.
Declared In
NMService.hInstance Methods
boxSearchInBackgroundWithStartLocation:diagonalLocation:key:completionHandler:
Fetches a list of NMContent objects which are placed within the box area created with the given location coordinates on the background thread.
- (void)boxSearchInBackgroundWithStartLocation:(NMGeolocation *)startLocation diagonalLocation:(NMGeolocation *)diagonalLocation key:(NSString *)key completionHandler:(void ( ^ ) ( NSArray *contentArray , NSError *error ))handlerParameters
- startLocation
Any of the locations which is one of the corners of the box area.
- diagonalLocation
Diagonal location of the one given as the firstPoint paramater.
- key
The name of the key which value is the location data.
- handler
The block to execute when fetch of the content(s) within the box area is completed.
Discussion
Fetches a list of NMContent objects which are placed within the box area created with the given location coordinates on the background thread.
As background methods does not block your main thread, it is recommended to use boxSearchInBackgroundWithStartLocation:diagonalLocation:key:completionHandler: over boxSearchWithStartLocation:diagonalLocation:key:error:.
Declared In
NMService.hboxSearchWithStartLocation:diagonalLocation:key:error:
Fetches a list of NMContent objects which are placed within the box area created with the given location coordinates.
- (NSArray *)boxSearchWithStartLocation:(NMGeolocation *)startLocation diagonalLocation:(NMGeolocation *)diagonalLocation key:(NSString *)key error:(NSError **)errorParameters
- startLocation
Any of the locations which is one of the corners of the box area.
- diagonalLocation
Diagonal location of the one given as the startLocation paramater.
- key
The name of the key which value is the location data.
- error
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Return Value
The list of the content(s) located within the given area.
Discussion
Fetches a list of NMContent objects which are placed within the box area created with the given location coordinates.
Declared In
NMService.hcircleSearchInBackgroundWithLocation:radius:key:completionHandler:
Fetches a list of NMContent objects which are placed within the range of the given distance around the specified center location on the background thread.
- (void)circleSearchInBackgroundWithLocation:(NMGeolocation *)centerLocation radius:(double)radius key:(NSString *)key completionHandler:(void ( ^ ) ( NSArray *contentArray , NSError *error ))handlerParameters
- centerLocation
Center location to search the contents around it.
- radius
Radius of the search area.
- key
Alphanumeric string that represents the key value which contains the location data.
- handler
The block to execute when fetch of the content(s) within the circle area is completed.
Discussion
Fetches a list of NMContent objects which are placed within the range of the given distance around the specified center location on the background thread.
As background methods does not block your main thread, it is recommended to use circleSearchInBackgroundWithLocation:radius:key:completionHandler over circleSearchWithStartLocation:andDistance:andLocationSearchField:error.
Declared In
NMService.hcircleSearchWithLocation:radius:key:error:
Fetches a list of NMContent objects which are placed within the range of the given distance around the specified center location.
- (NSArray *)circleSearchWithLocation:(NMGeolocation *)centerLocation radius:(double)radius key:(NSString *)key error:(NSError **)errorParameters
- centerLocation
Center location to search the contents around it.
- radius
Radius of the search area.
- key
Alphanumeric string that represents the key value which contains the location data.
- error
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Return Value
The list of the content(s) located within the given area.
Discussion
Fetches a list of NMContent objects which are placed within the range of the given distance around the specified center location.
Declared In
NMService.hcountContentsInBackgroundWithCompletionHandler:
Returns the total number of the NMContent objects matching the search query on the background thread.
- (void)countContentsInBackgroundWithCompletionHandler:(void ( ^ ) ( long , NSError *error ))handlerParameters
- handler
The block to execute when fetch of the count of the content(s) is completed.
Discussion
Returns the total number of the NMContent objects matching the search query on the background thread.
As background methods does not block your main thread, it is recommended to use countContentsInBackgroundWithCompletionHandler: over countContentsWithError:.
Declared In
NMService.hcountContentsWithError:
Returns the total number of the NMContent objects matching the search query.
- (long)countContentsWithError:(NSError **)errorParameters
- error
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Return Value
The number of the contents for the relevant query.
Discussion
Returns the total number of the NMContent objects matching the search query.
Declared In
NMService.hgetContentAtPath:error:
Fetches the single NMContent object which path is equal to the value set to path parameter.
- (id)getContentAtPath:(NSString *)path error:(NSError **)errorParameters
- path
The unique string id for the requested NMContent object.
- error
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Return Value
The NMContent object requested for the relevant path.
Discussion
Fetches the single NMContent object which path is equal to the value set to path parameter.
The relevant path value is obtained from ‘Content Browser’ segment of your application on Netmera website.
Declared In
NMService.hgetContentAtPathInBackground:completionHandler:
Fetches the single NMContent object which path is equal to the value set to path parameter on the background thread.
- (void)getContentAtPathInBackground:(NSString *)path completionHandler:(void ( ^ ) ( id content , NSError *error ))handlerParameters
- path
The unique string id for the requested NMContent object.
- handler
The block to execute when fetch of the content is completed.
Discussion
Fetches the single NMContent object which path is equal to the value set to path parameter on the background thread.
As background methods does not block your main thread, it is recommended to use getContentAtPathInBackground:completionHandler: over getContentAtPath:error:.
Declared In
NMService.hgetContentsAtPaths:error:
Fetches a list of NMContent objects with the given path list.
- (NSArray *)getContentsAtPaths:(NSArray *)pathList error:(NSError **)errorParameters
- pathList
The array of the paths for requested NMContent objects.
- error
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Return Value
The list of the NMContent objects for the requested path list.
Discussion
Fetches a list of NMContent objects with the given path list.
Warning: Default values for the ‘max’ property is 10 and ‘page’ property 0. This means this method returns 10 result in each page. It skips page * max in each iteration.
The relevant path values are obtained from ‘Content Browser’ segment of your application on Netmera website.
Declared In
NMService.hgetContentsAtPathsInBackground:completionHandler:
Fetches a list of NMContent objects with the given path list.
- (void)getContentsAtPathsInBackground:(NSArray *)pathList completionHandler:(void ( ^ ) ( NSArray *contentArray , NSError *error ))handlerParameters
- pathList
The array of the paths for requested NMContent objects.
- handler
The block to execute when fetch of the content(s) is completed.
Discussion
Fetches a list of NMContent objects with the given path list.
Warning: Default values for the ‘max’ property is 10 and ‘page’ property 0. This means this method returns 10 result in each page. It skips page * max in each iteration.
As background methods does not block your main thread, it is recommended to use getContentsAtPathsInBackground:completionHandler: over getContentsAtPaths:error:.
Declared In
NMService.hgetCustomCondition
Returns the single query formed by merging all query options.
- (NSString *)getCustomConditionReturn Value
NSString representation of the list of the query options added as a search criteria.
Discussion
Returns the single query formed by merging all query options.
Declared In
NMService.hgetUsersWithError:
Fetches a list of NMUser objects matching the search query.
- (NSArray *)getUsersWithError:(NSError **)errorParameters
- error
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Return Value
The list of the NMUser object(s) for the specified query.
Discussion
Fetches a list of NMUser objects matching the search query.
Declared In
NMService.hinitWithIdentifier:
Initializes the newly allocated NMService object with the specified identifier value.
- (id)initWithIdentifier:(NSString *)identifierParameters
- identifier
Identifier of the NMService object.
Return Value
An initialized NMService object.
Discussion
Initializes the newly allocated NMService object with the specified identifier value.
Declared In
NMService.hsearchContentsInBackgroundWithCompletionHandler:
Fetches a list of NMContent objects matching the search query on the background thread.
- (void)searchContentsInBackgroundWithCompletionHandler:(void ( ^ ) ( NSArray *contentArray , NSError *error ))handlerParameters
- handler
The block to execute when fetch of the content(s) is completed.
Discussion
Fetches a list of NMContent objects matching the search query on the background thread.
Warning: Default values for the ‘max’ property is 10 and ‘page’ property 0. This means this method returns 10 result in each page. It skips page * max in each iteration.
As background methods does not block your main thread, it is recommended to use searchContentsInBackgroundWithCompletionHandler: over searchContentsWithError:.
Declared In
NMService.hsearchContentsWithError:
Fetches a list of NMContent objects matching the search query.
- (NSArray *)searchContentsWithError:(NSError **)errorParameters
- error
On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Discussion
Fetches a list of NMContent objects matching the search query.
Declared In
NMService.hwhereContainAllValuesIn:forKey:
Adds an option into the query where filters the contents which values of the given key match all of the values in the given collection.
- (NMService *)whereContainAllValuesIn:(NSArray *)values forKey:(NSString *)keyParameters
- values
The array of values associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query where filters the contents which values of the given key match all of the values in the given collection.
Declared In
NMService.hwhereContainAnyValueIn:forKey:
Adds an option into the query where filters the contents which values of the given key match any of the values in the given collection.
- (NMService *)whereContainAnyValueIn:(NSArray *)values forKey:(NSString *)keyParameters
- values
The array of values associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query where filters the contents which values of the given key match any of the values in the given collection.
Declared In
NMService.hwhereEndWithValue:forKey:
Adds an option into the query which filters the contents which values of given key end with the given suffix.
- (NMService *)whereEndWithValue:(NSString *)suffix forKey:(NSString *)keyParameters
- key
Alphanumeric string that represents the key value for the query.
- value
Suffix associated with the specified key to filter the NMContent objects.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key end with the given suffix.
Declared In
NMService.hwhereEndWithValue:forKey:caseInsensitive:
Adds an option into the query which filters the contents which values of given key end with the given suffix.
- (NMService *)whereEndWithValue:(NSString *)suffix forKey:(NSString *)key caseInsensitive:(BOOL)flagParameters
- key
Alphanumeric string that represents the key value for the query.
- flag
The boolean value that determines whether the given suffix is case sensitive or not while filtering the NMContent objects.
- value
Suffix associated with the specified key to filter the NMContent objects.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key end with the given suffix.
Declared In
NMService.hwhereEqualToOwner:
This is used to get the contents of the logged user.
- (NMService *)whereEqualToOwner:(NMUser *)userParameters
- user
Current logged user.
Return Value
Caller NMService object.
Discussion
This is used to get the contents of the logged user.
Declared In
NMService.hwhereEqualToValue:forKey:
Adds an option into the query which filters the contents which values of given key are equal to the given value.
- (NMService *)whereEqualToValue:(id)value forKey:(NSString *)keyParameters
- value
Object value associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key are equal to the given value.
Declared In
NMService.hwhereExist:forKey:
Adds an option into the query which filters the contents which contain the given key or not.
- (NMService *)whereExist:(BOOL)value forKey:(NSString *)keyParameters
- value
The boolean value to check the existance of the given key or not. If the value is YES then this filters the contents for the existance of the key; otherwise, it checks for the non-existance of the given key.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which contain the given key or not.
Declared In
NMService.hwhereGreaterThanValue:forKey:
Adds an option into the query which filters the contents which values of given key are greater than the given value.
- (NMService *)whereGreaterThanValue:(id)value forKey:(NSString *)keyParameters
- value
Object value associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key are greater than the given value.
Declared In
NMService.hwhereGreatherThanOrEqualToValue:forKey:
Adds an option into the query which filters the contents which values of given key are greater than or equal to the given value.
- (NMService *)whereGreatherThanOrEqualToValue:(id)value forKey:(NSString *)keyParameters
- value
Object value associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key are greater than or equal to the given value.
Declared In
NMService.hwhereLessThanOrEqualToValue:forKey:
Adds an option into the query which filters the contents which values of given key are less than or equal to the given value.
- (NMService *)whereLessThanOrEqualToValue:(id)value forKey:(NSString *)keyParameters
- value
Object value associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key are less than or equal to the given value.
Declared In
NMService.hwhereLessThanValue:forKey:
Adds an option into the query which filters the contents which values of given key are less than the given value.
- (NMService *)whereLessThanValue:(id)value forKey:(NSString *)keyParameters
- value
Object value associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key are less than the given value.
Declared In
NMService.hwhereMatchWithRegex:forKey:
Adds an option into the query which filters the contents which values of given key match the given regex.
- (NMService *)whereMatchWithRegex:(NSString *)regex forKey:(NSString *)keyParameters
- key
Alphanumeric string that represents the key value for the query.
- value
Regex associated with the specified key to filter the NMContent objects.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key match the given regex.
Declared In
NMService.hwhereMatchWithRegex:forKey:caseInsensitive:
Adds an option into the query which filters the contents which values of given key match the given regex.
- (NMService *)whereMatchWithRegex:(NSString *)regex forKey:(NSString *)key caseInsensitive:(BOOL)flagParameters
- key
Alphanumeric string that represents the key value for the query.
- flag
The boolean value that determines whether regex is case sensitive or not while filtering the NMContent objects.
- value
Regex associated with the specified key to filter the NMContent objects.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key match the given regex.
Declared In
NMService.hwhereNotEqualToValue:forKey:
Adds an option into the query which filters the contents which values of given key are not equal to the given value.
- (NMService *)whereNotEqualToValue:(id)value forKey:(NSString *)keyParameters
- value
Object value associated with the specified key to filter the NMContent objects.
- key
Alphanumeric string that represents the key value for the query.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key are not equal to the given value.
Declared In
NMService.hwhereStartWithValue:forKey:
Adds an option into the query which filters the contents which values of given key begin with the given prefix.
- (NMService *)whereStartWithValue:(NSString *)prefix forKey:(NSString *)keyParameters
- key
Alphanumeric string that represents the key value for the query.
- value
Prefix associated with the specified key to filter the NMContent objects.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key begin with the given prefix.
Declared In
NMService.hwhereStartWithValue:forKey:caseInsensitive:
Adds an option into the query which filters the contents which values of given key begin with the given prefix.
- (NMService *)whereStartWithValue:(NSString *)prefix forKey:(NSString *)key caseInsensitive:(BOOL)flagParameters
- key
Alphanumeric string that represents the key value for the query.
- flag
The boolean value that determines whether the given prefix is case sensitive or not while filtering the NMContent objects.
- value
Prefix associated with the specified key to filter the NMContent objects.
Return Value
Caller NMService object.
Discussion
Adds an option into the query which filters the contents which values of given key begin with the given prefix.
Declared In
NMService.h