|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Base interface for source maps. Provides a lookup interface for search sources based on a set of parameters or on a previous search result.
The Source Map interface is a key RTI Framework interface. In "Quickstart" applications, there must be a SourceMap to link search category names to one or more search sources. The basic implementation does a straight mapping of a source category name to a search source name. More sophisticated implementations can select sources based on a users role, preference settings or browse context (subject-driven source selection).
| Method Summary | |
void |
addSourceInputs(java.lang.String sourceKey,
SourceInput[] sourceInputs)
|
java.lang.String[] |
getAllSourceKeys(ILoginInfo userInfo,
boolean checkSecurity,
java.util.Map searchParams)
returns a list of all of the source names - links to SearchSource in the ISearchFieldMap |
java.lang.String |
getDescription(java.lang.String sourceName)
|
java.lang.String |
getDisplayName(java.lang.String sourceKey)
|
java.lang.String |
getObjectType()
Returns the type of Source that the source map supports. |
int |
getPageCacheStyle(java.lang.String sourceKey)
|
SourceInput[] |
getSourceInputs(ILoginInfo userInfo,
IResult searchResult)
|
SourceInput[] |
getSourceInputs(ILoginInfo userInfo,
java.util.Map searchParams)
Looks up the set of federated sources that are appropriate for the parameter set chosen by the user. |
SourceInput[] |
getSourceInputs(java.lang.String sourceKey)
|
void |
setPageCacheStyle(java.lang.String sourceKey,
int pagingStyle)
Sets/gets the paging style used by a federated source. |
| Methods inherited from interface com.raritantechnologies.searchApp.IConfigurable |
initialize |
| Method Detail |
public java.lang.String getObjectType()
public java.lang.String[] getAllSourceKeys(ILoginInfo userInfo,
boolean checkSecurity,
java.util.Map searchParams)
public SourceInput[] getSourceInputs(java.lang.String sourceKey)
public java.lang.String getDisplayName(java.lang.String sourceKey)
public void addSourceInputs(java.lang.String sourceKey,
SourceInput[] sourceInputs)
public SourceInput[] getSourceInputs(ILoginInfo userInfo,
java.util.Map searchParams)
public SourceInput[] getSourceInputs(ILoginInfo userInfo,
IResult searchResult)
public java.lang.String getDescription(java.lang.String sourceName)
public void setPageCacheStyle(java.lang.String sourceKey,
int pagingStyle)
public int getPageCacheStyle(java.lang.String sourceKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||