IBM Information Integrator for Content V8.2 APIs

com.ibm.mm.beans.infomining
Class CMBInfoMiningAdapter

java.lang.Object
  |
  +--com.ibm.mm.beans.infomining.CMBInfoMiningBean
        |
        +--com.ibm.mm.beans.infomining.CMBConnectedMiningBean
              |
              +--com.ibm.mm.beans.infomining.CMBInfoMiningAdapter
All Implemented Interfaces:
com.ibm.mm.beans.CMBConnectionReplyListener, CMBDeleteRecordReplyListener, CMBLookupRecordReplyListener, com.ibm.mm.beans.CMBResultListener, CMBStoreRecordReplyListener, CMBTextAnalysisReplyListener, java.util.EventListener, java.io.Serializable

public class CMBInfoMiningAdapter
extends CMBConnectedMiningBean
implements com.ibm.mm.beans.CMBResultListener, CMBTextAnalysisReplyListener, CMBStoreRecordReplyListener, CMBLookupRecordReplyListener, CMBDeleteRecordReplyListener

The CMBInfoMiningAdapter is a non-visual bean that can be used to convert between various event types.

The CMBInfoMiningAdapter is able to convert between Information Mining event types. In addition it supports the CMBResultEvent so you can use the Information Mining beans together with other EIP beans (e.g. CMBSearchResults). The adapter allows you to tie the beans to build various scenarios. Refer to the samples in the Enterprise Information Portal Application Programming Guide to get a more detailed overview.

   Properties and Events Overview:

   pre-conditions         open server connection
   properties (default)   catalogName ("")
   bound properties       none
   constrained properties none
   event target for       CMBConnectionReplyEvent
                          CMBStoreRecordReplyEvent
                          CMBLookupRecordReplyEvent
                          CMBDeleteRecordReplyEvent
                          CMBTextAnalysisReplyEvent
                          CMBResultEvent
   event source for       CMBExceptionEvent
                          CMBTraceEvent
                          CMBTextAnalysisRequestEvent
                          CMBStoreRecordRequestEvent
                          CMBLookupRecordRequestEvent
                          CMBDeleteRecordRequestEvent
                          CMBResultEvent
 

See Also:
Serialized Form

Constructor Summary
CMBInfoMiningAdapter()
          Creates a new CMBInfoMiningAdapter.
 
Method Summary
 void addCMBDeleteRecordRequestListener(CMBDeleteRecordRequestListener l)
          Adds the specified delete record request listener so that delete record request events can be received from this Information Mining bean.
 void addCMBLookupRecordRequestListener(CMBLookupRecordRequestListener l)
          Adds the specified lookup record request listener so that lookup record request events can be received from this Information Mining bean.
 void addCMBResultListener(com.ibm.mm.beans.CMBResultListener l)
          Adds the specified result listener so that result events can be received from this Information Mining bean.
 void addCMBStoreRecordRequestListener(CMBStoreRecordRequestListener l)
          Adds the specified store record request listener so that store record request events can be received from this Information Mining bean.
 void addCMBTextAnalysisRequestListener(CMBTextAnalysisRequestListener l)
          Adds the specified text analysis request listener so that text analysis request events can be received from this Information Mining bean.
 java.lang.String getCatalogName()
          Returns the current catalog name.
 CMBContentProvider getContentProvider()
          Returns the content provider.
 void onCMBDeleteRecordReply(CMBDeleteRecordReplyEvent replyEvent)
          This method gets called for a delete record reply.
 void onCMBLookupRecordReply(CMBLookupRecordReplyEvent replyEvent)
          This method gets called for a lookup record reply.
 void onCMBResult(com.ibm.mm.beans.CMBResultEvent resultEvent)
          This method gets called for a result.
 void onCMBStoreRecordReply(CMBStoreRecordReplyEvent replyEvent)
          This method gets called for a store record reply.
 void onCMBTextAnalysisReply(CMBTextAnalysisReplyEvent replyEvent)
          This method gets called for a text analysis reply.
 void removeCMBDeleteRecordRequestListener(CMBDeleteRecordRequestListener l)
          Removes the specified delete record request listener so that it no longer receives delete record request events from this Information Mining bean.
 void removeCMBLookupRecordRequestListener(CMBLookupRecordRequestListener l)
          Removes the specified lookup record request listener so that it no longer receives lookup record request events from this Information Mining bean.
 void removeCMBResultListener(com.ibm.mm.beans.CMBResultListener l)
          Removes the specified result listener so that it no longer receives result events from this Information Mining bean.
 void removeCMBStoreRecordRequestListener(CMBStoreRecordRequestListener l)
          Removes the specified store record request listener so that it no longer receives store record request events from this Information Mining bean.
 void removeCMBTextAnalysisRequestListener(CMBTextAnalysisRequestListener l)
          Removes the specified text analysis request listener so that it no longer receives text analysis request events from this Information Mining bean.
 void setCatalogName(java.lang.String catalogName)
          Sets the name of the catalog to be used.
 void setContentProvider(CMBContentProvider contentProvider)
          Sets the content provider to determine the text used for text analysis from information stored in the EIP data stores.
 
Methods inherited from class com.ibm.mm.beans.infomining.CMBConnectedMiningBean
getConnection, isConnected, onCMBConnectionReply, setConnection, validateConnection
 
Methods inherited from class com.ibm.mm.beans.infomining.CMBInfoMiningBean
addCMBExceptionListener, addCMBTraceListener, isTraceEnabled, removeCMBExceptionListener, removeCMBTraceListener, setTraceEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMBInfoMiningAdapter

public CMBInfoMiningAdapter()
Creates a new CMBInfoMiningAdapter.
Method Detail

setCatalogName

public void setCatalogName(java.lang.String catalogName)
Sets the name of the catalog to be used.
Parameters:
catalogName - the catalog name.
See Also:
getCatalogName()

getCatalogName

public java.lang.String getCatalogName()
Returns the current catalog name.
Returns:
the catalog name.
See Also:
setCatalogName(String)

setContentProvider

public void setContentProvider(CMBContentProvider contentProvider)
Sets the content provider to determine the text used for text analysis from information stored in the EIP data stores.
Parameters:
contentProvider - the content provider to be set
See Also:
getContentProvider()

getContentProvider

public CMBContentProvider getContentProvider()
Returns the content provider.
Returns:
the current content provider
See Also:
setContentProvider(CMBContentProvider)

onCMBResult

public void onCMBResult(com.ibm.mm.beans.CMBResultEvent resultEvent)
This method gets called for a result.
Specified by:
onCMBResult in interface com.ibm.mm.beans.CMBResultListener
Parameters:
resultEvent - an object describing event details.

onCMBTextAnalysisReply

public void onCMBTextAnalysisReply(CMBTextAnalysisReplyEvent replyEvent)
This method gets called for a text analysis reply.
Specified by:
onCMBTextAnalysisReply in interface CMBTextAnalysisReplyListener
Parameters:
replyEvent - an object describing event details.

onCMBStoreRecordReply

public void onCMBStoreRecordReply(CMBStoreRecordReplyEvent replyEvent)
This method gets called for a store record reply.
Specified by:
onCMBStoreRecordReply in interface CMBStoreRecordReplyListener
Parameters:
replyEvent - an object describing event details.

onCMBLookupRecordReply

public void onCMBLookupRecordReply(CMBLookupRecordReplyEvent replyEvent)
This method gets called for a lookup record reply.
Specified by:
onCMBLookupRecordReply in interface CMBLookupRecordReplyListener
Parameters:
replyEvent - an object describing event details.

onCMBDeleteRecordReply

public void onCMBDeleteRecordReply(CMBDeleteRecordReplyEvent replyEvent)
This method gets called for a delete record reply.
Specified by:
onCMBDeleteRecordReply in interface CMBDeleteRecordReplyListener
Parameters:
replyEvent - an object describing event details.

addCMBStoreRecordRequestListener

public void addCMBStoreRecordRequestListener(CMBStoreRecordRequestListener l)
Adds the specified store record request listener so that store record request events can be received from this Information Mining bean.
Parameters:
l - the store record request listener

removeCMBStoreRecordRequestListener

public void removeCMBStoreRecordRequestListener(CMBStoreRecordRequestListener l)
Removes the specified store record request listener so that it no longer receives store record request events from this Information Mining bean.
Parameters:
l - the store record request listener

addCMBDeleteRecordRequestListener

public void addCMBDeleteRecordRequestListener(CMBDeleteRecordRequestListener l)
Adds the specified delete record request listener so that delete record request events can be received from this Information Mining bean.
Parameters:
l - the delete record request listener

removeCMBDeleteRecordRequestListener

public void removeCMBDeleteRecordRequestListener(CMBDeleteRecordRequestListener l)
Removes the specified delete record request listener so that it no longer receives delete record request events from this Information Mining bean.
Parameters:
l - the delete record request listener

addCMBLookupRecordRequestListener

public void addCMBLookupRecordRequestListener(CMBLookupRecordRequestListener l)
Adds the specified lookup record request listener so that lookup record request events can be received from this Information Mining bean.
Parameters:
l - the lookup record request listener

removeCMBLookupRecordRequestListener

public void removeCMBLookupRecordRequestListener(CMBLookupRecordRequestListener l)
Removes the specified lookup record request listener so that it no longer receives lookup record request events from this Information Mining bean.
Parameters:
l - the lookup record request listener

addCMBTextAnalysisRequestListener

public void addCMBTextAnalysisRequestListener(CMBTextAnalysisRequestListener l)
Adds the specified text analysis request listener so that text analysis request events can be received from this Information Mining bean.
Parameters:
l - the text analysisrequest listener

removeCMBTextAnalysisRequestListener

public void removeCMBTextAnalysisRequestListener(CMBTextAnalysisRequestListener l)
Removes the specified text analysis request listener so that it no longer receives text analysis request events from this Information Mining bean.
Parameters:
l - the text analyis request listener

addCMBResultListener

public void addCMBResultListener(com.ibm.mm.beans.CMBResultListener l)
Adds the specified result listener so that result events can be received from this Information Mining bean.
Parameters:
l - the result listener

removeCMBResultListener

public void removeCMBResultListener(com.ibm.mm.beans.CMBResultListener l)
Removes the specified result listener so that it no longer receives result events from this Information Mining bean.
Parameters:
l - the result listener


IBM Information Integrator for Content V8.2 APIs

© Copyright International Business Machines Corporation 1996, 2003 IBM Corp. All rights reserved.