|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.SearchSource
com.raritantechnologies.federated.DQL.DQLSearchSource
RTI SearchSource that can retrieve records from a Documentum Docbase.
XML Configuration Template:
<SourceType name="[ source name ]" type="DQLSearchSource" displayName="[ source display name ]"
sourceFactoryClass="com.raritantechnologies.federated.DQL.DQLSearchSourceFactory"
queryProcessor="com.raritantechnologies.federated.DQL.DQLQueryProcessor" >
<LoginProcess>
<UserName>[ user name ]</UserName>
<!-- Password can be in the clear or encrypted: -->
<Password>[ clear text password ]</Password>
<PasswordEnc>[ encrypted password ]</PasswordEnc>
</LoginProcess>
<SearchProcess>
</SearchProcess>
<ResultMap>
<ResultField fieldID="status" colName="description" append="true|false" />
<ResultField fieldID="itemID" colName="item_id"/>
</ResultMap>
</SourceType>
| Field Summary |
| Fields inherited from class com.raritantechnologies.searchApp.SearchSource |
ID_FIELD, IS_FEDERATED, NUMBER_OF_FIELDS, SECURE, SOURCE_NAME, SOURCE_TYPE, TITLE_FIELD, URL_FIELD |
| Constructor Summary | |
DQLSearchSource()
|
|
| Method Summary | |
void |
addDQLTemplate(java.lang.String dqlTmpl)
Save the DQL template |
void |
addQueryColumns(org.w3c.dom.Element sourceElem)
add the query columns to "IDtoColMap". |
void |
addResultFields(org.w3c.dom.NodeList resultMap)
add the result fields from the |
com.raritantechnologies.federated.DQL.DQLSearchSource.DQLResult |
executeDQL(java.lang.String username,
java.lang.String password,
java.lang.String dbURI,
java.util.Map inParams,
int startRec,
int maxDocs)
|
int |
getMaxDocCount()
|
java.lang.Object |
getProperty(java.lang.String property)
returns a Source Property. |
IQueryProcessor |
getQueryProcessor()
get a IQueryProcessor object (currently a DQLQueryProcessor) |
com.raritantechnologies.federated.DQL.DQLSearchSource.DQLResult |
getSearchProcess(java.util.Map inputParameters,
int startRec,
ILoginInfo userInfo)
get an ArrayList of search processes. |
java.lang.String[] |
getSourcePropertyNames()
Returns a list of Source type specific property names. |
static boolean |
isDEBUG()
|
void |
setDBConnection(java.lang.String DBURI,
java.lang.String UID,
java.lang.String PASSWD)
save the documentum database parameters. |
void |
setUseFullText(java.lang.String useFText)
|
void |
setUseSessionLogin(java.lang.String useSess)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DQLSearchSource()
| Method Detail |
public IQueryProcessor getQueryProcessor()
getQueryProcessor in class SearchSourcepublic java.lang.String[] getSourcePropertyNames()
SearchSource
getSourcePropertyNames in class SearchSourcepublic java.lang.Object getProperty(java.lang.String property)
SearchSource
getProperty in class SearchSourcepublic int getMaxDocCount()
public com.raritantechnologies.federated.DQL.DQLSearchSource.DQLResult getSearchProcess(java.util.Map inputParameters,
int startRec,
ILoginInfo userInfo)
public void setDBConnection(java.lang.String DBURI,
java.lang.String UID,
java.lang.String PASSWD)
public void addQueryColumns(org.w3c.dom.Element sourceElem)
public void addDQLTemplate(java.lang.String dqlTmpl)
public void addResultFields(org.w3c.dom.NodeList resultMap)
public com.raritantechnologies.federated.DQL.DQLSearchSource.DQLResult executeDQL(java.lang.String username,
java.lang.String password,
java.lang.String dbURI,
java.util.Map inParams,
int startRec,
int maxDocs)
throws DfException
DfExceptionpublic void setUseFullText(java.lang.String useFText)
public static boolean isDEBUG()
public void setUseSessionLogin(java.lang.String useSess)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||