public interface SearchViewLogic extends Refreshable
| Modifier and Type | Method and Description |
|---|---|
SearchEngineConfiguration |
getConfiguration()
This method gets the
SearchEngineConfiguration. |
String |
getDisplayTitle(SearchEntry searchEntry)
This method get the display-title from the given
searchEntry. |
SearchEntryType |
getEntryType(String id)
|
Collection<? extends SearchEntryTypeView> |
getEntryTypeViews()
This method gets the list of
SearchEntryTypeViews sorted by title. |
Iso8601Util |
getIso8601Util()
This method gets the
Iso8601Util that can be used to format and parse dates. |
String |
getLastRefreshDate()
This method gets the date of the last refresh as String.
|
NlsLocalizer |
getNlsLocalizer()
This method gets the
NlsLocalizer used for localization of the UI. |
ManagedSearchEngine |
getSearchEngine()
This method gets the
ManagedSearchEngine. |
Collection<? extends SearchSourceView> |
getSourceViews()
This method gets the list of views on the
SearchSourceViews sorted by
title. |
XmlUtil |
getXmlUtil()
|
boolean |
refresh()
This method reloads the
configuration and the
SearchEngine on the fly. |
SearchEngineConfiguration getConfiguration()
SearchEngineConfiguration.SearchEngineConfiguration.getEntryTypeViews(),
getEntryType(String),
getSourceViews()Collection<? extends SearchEntryTypeView> getEntryTypeViews()
SearchEntryTypeViews sorted by title.SearchEntryTypeViews.Collection<? extends SearchSourceView> getSourceViews()
SearchSourceViews sorted by
title.SearchEntryType getEntryType(String id)
id - is the ID of the requested SearchEntryType.SearchEntryType.ManagedSearchEngine getSearchEngine()
ManagedSearchEngine.ManagedSearchEngine.Iso8601Util getIso8601Util()
Iso8601Util that can be used to format and parse dates.Iso8601Util.NlsLocalizer getNlsLocalizer()
NlsLocalizer used for localization of the UI.NlsLocalizer.String getLastRefreshDate()
boolean refresh()
configuration and the
SearchEngine on the fly. search-engine.
This method refreshes the given object. This can be anything from reloading configuration to rebuilding the
internal state. An invocation of this method may be expensive and should only be invoked as needed. The
implementation of this method should be thread-safe if the object itself is to be used by separate consumers at
all.refresh in interface Refreshabletrue if something has changed, false otherwise. If the implementation can not determine the
change it should return true.String getDisplayTitle(SearchEntry searchEntry)
searchEntry. In advance to
SearchEntry.getTitle() this method will create a combination of filename and the actual title and
handle null values.searchEntry - is the SearchEntry where to get the title from.title of the SearchEntry.Copyright © 2001–2016 mmm-Team. All rights reserved.