@Component public class SearchIndexDaoHelper extends Object
| Constructor and Description |
|---|
SearchIndexDaoHelper() |
| Modifier and Type | Method and Description |
|---|---|
SearchIndexEntity |
getSearchIndexEntity(SearchIndexKey searchIndexKey)
Gets a search index entity by its key and ensure it exists.
|
void |
updateSearchIndexStatus(SearchIndexKey searchIndexKey,
String searchIndexStatus)
Gets a search index entity by its key and ensure it exists.
|
public SearchIndexEntity getSearchIndexEntity(SearchIndexKey searchIndexKey) throws ObjectNotFoundException
searchIndexKey - the search index key (case sensitive)ObjectNotFoundException - if the search index entity doesn't existpublic void updateSearchIndexStatus(SearchIndexKey searchIndexKey, String searchIndexStatus) throws ObjectNotFoundException
searchIndexKey - the search index key (case sensitive)searchIndexStatus - the status of the search index (case insensitive)ObjectNotFoundException - if the search index entity or search index status entity doesn't existCopyright © 2017. All rights reserved.