public void |
clear()
|
Removes all objects (including SDMOData Service Document and SDMOData Schema) from SDMCache. |
public ISDMEntrySearch |
getEntrySearch()
|
Returns the current search object that implements the search method that should be used during searching in entries. |
public ISDMParserDocument |
getSDMODataDocument(String)
|
Returns an SDMParserDocument object with the specified key if it is stored in SDMCache or null otherwise. |
public List< ISDMODataEntry > |
getSDMODataEntries(String)
|
Returns all of the SDMOData Entries that belong to the specified collection. |
public ISDMODataEntry |
getSDMODataEntry(String)
|
Returns an SDMOData Entry with the specified key if it is stored in SDMCache or null otherwise. |
public ISDMODataSchema |
getSDMODataSchema()
|
Returns the SDMOData Schema (aka Metadata) if it is stored in SDMCache or null otherwise. |
public ISDMODataServiceDocument |
getSDMODataServiceDocument()
|
Returns the SDMOData Service Document if it is stored in SDMCache or null otherwise. |
public int |
getSearchAlgorithm()
|
Returns the constant ID of the current search algorithm. |
public List< ISDMParserDocument > |
getStoredDocuments()
|
Returns all of the SDMParserDocuments from the store (including SDMODataEntries). |
public boolean |
removeSDMODataDocument(String)
|
Removes stored object from SDMCache with the specified key if it is stored. |
public boolean |
removeSDMODataEntries(String)
|
Removes SDMOData Entries from SDMCache that belong to the specified collection. |
public void |
removeStoredDocuments()
|
Removes all stored documents (except from Service Document and Schema) from SDMCache. |
public List< ISDMODataEntry > |
searchSDMODataEntries(String, String)
|
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. |
public void |
setEntrySearch(ISDMEntrySearch)
|
Seats the new search object that implements the search method that should be used during searching in entries. |
public void |
setSDMODataDocument(String, ISDMParserDocument)
|
Stores an SDMParserDocument object in SDMCache. |
public void |
setSDMODataEntries(List< ISDMODataEntry >)
|
Stores several SDMOData Entries in SDMCache. |
public void |
setSDMODataEntry(ISDMODataEntry)
|
Stores an SDMOData Entry in SDMCache. |
public void |
setSDMODataSchema(ISDMODataSchema)
|
Stores SDMOData Schema in SDMCache. |
public void |
setSDMODataServiceDocument(ISDMODataServiceDocument)
|
Stores SDMOData Service Document in SDMCache. |
public void |
setSearchAlgorithm(int)
|
Sets the constant ID of the search algorithm that should be used during search in entries. |