searchSDMODataEntries(String, String) method

Returns all of the SDMOData Entries that belong to the specified collection and either of its searchable fields' value's token (tokenized with space) that starts with the searchTerm.

Syntax

public List< ISDMODataEntry > searchSDMODataEntries ( String searchTerm , String collectionId )

Parameters

Returns

stored SDMODataEntries of the specific collection which start with the search string or null

Exceptions

Usage

If the searchTerm consists of more tokens (tokenized with space) all of the search term's token should be found as above. The property tag which will determine if a field is searchable or not can be set in the preferences using the key: ISDMPreferences.CACHE_PARSER_SEARCH_ATTRIBUTE_STRING. By default sap:searchable will be used.