|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISearchTranslator
Interface for third-party repositories to implement and use as a helper to translate repository-specific search syntax to/from a com.bea.content.expression.Search object. The implementation class of the repository-specific SearchTranslator must be specified in content-config.xml: <repository-property> <description>The SearchTranslator implementation specific to this repository </description> <name>SearchTranslator</name> <value>com.stellent.ridc.spi.search.SearchTranslator</value> </repository-property> <repository-property>
Field Summary | |
---|---|
static String |
PARAMETER_MAP |
static String |
QUERY_PARAM |
static String |
TRANSLATOR_CLASS |
Method Summary | |
---|---|
Search |
createQuery(String queryString) Transform and set the (repository-specific) queryString into the SearchTranslator instance (which may be obtained via a Class.forName() using the class specified in content-config.xml as shown above). |
Search |
parameterizeSearch(Map<String,String> parameterMap) Parameterize a Search object with the given data. |
ID[] |
search(Search search) Execute the search using the underlying implementation. |
Field Detail |
---|
static final String TRANSLATOR_CLASS
static final String QUERY_PARAM
static final String PARAMETER_MAP
Method Detail |
---|
ID[] search(Search search) throws Exception
Exception
Search createQuery(String queryString)
Search parameterizeSearch(Map<String,String> parameterMap)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.