lumis.doui.search
Class DouiIndexer

Package class diagram package DouiIndexer
java.lang.Object
  extended by lumis.doui.search.DouiIndexer
All Implemented Interfaces:
IDouiIndexer

public class DouiIndexer
extends Object
implements IDouiIndexer

Controls persistence of Doui data in search engine, in order to make the data searchable and updated.

Since:
4.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface lumis.doui.search.common.IDouiIndexer
IDouiIndexer.FieldType, IDouiIndexer.StatusFieldValues
 
Field Summary
 
Fields inherited from interface lumis.doui.search.common.IDouiIndexer
FIELDNAME_LANGUAGE, FIELDNAME_LANGUAGE_ALL_VALUE, FIELDNAME_PORTALDATAPATH, FIELDNAME_PRINCIPAL, FIELDNAME_SERVICEINSTANCEID, FIELDNAME_SERVICEINSTANCEID_DEFAULT_VALUE, FIELDNAME_STATUS
 
Constructor Summary
DouiIndexer()
           
 
Method Summary
 void addSearchContent(ISourceData tabularDataRow, Source source, DouiIndexConfig douiIndexConfig)
           
 void indexServiceInstance(SessionConfig sessionConfig, String serviceInstanceId, boolean localServerOnly, ITransaction transaction)
          Indexes a service instance, recreating all its indices.
 void mergeSearchContent(ISourceData tabularDataRow, Source source, DouiIndexConfig douiIndexConfig)
           
 void removeSearchContents(ISourceData tabularDataRow, Source source, DouiIndexConfig douiIndexConfig)
           
protected  void removeSearchContents(List<SearchContent> searchContents, String selectionFieldName, DouiIndexConfig douiIndexConfig)
           
 void removeSearchContentsByServiceInstanceId(String serviceInstanceId, Source source, DouiIndexConfig douiIndexConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DouiIndexer

public DouiIndexer()
Method Detail

addSearchContent

public void addSearchContent(ISourceData tabularDataRow,
                             Source source,
                             DouiIndexConfig douiIndexConfig)
                      throws PortalException
Specified by:
addSearchContent in interface IDouiIndexer
Throws:
PortalException

mergeSearchContent

public void mergeSearchContent(ISourceData tabularDataRow,
                               Source source,
                               DouiIndexConfig douiIndexConfig)
                        throws PortalException
Specified by:
mergeSearchContent in interface IDouiIndexer
Throws:
PortalException

removeSearchContents

public void removeSearchContents(ISourceData tabularDataRow,
                                 Source source,
                                 DouiIndexConfig douiIndexConfig)
                          throws PortalException
Specified by:
removeSearchContents in interface IDouiIndexer
Throws:
PortalException

removeSearchContentsByServiceInstanceId

public void removeSearchContentsByServiceInstanceId(String serviceInstanceId,
                                                    Source source,
                                                    DouiIndexConfig douiIndexConfig)
                                             throws PortalException
Specified by:
removeSearchContentsByServiceInstanceId in interface IDouiIndexer
Throws:
PortalException

removeSearchContents

protected void removeSearchContents(List<SearchContent> searchContents,
                                    String selectionFieldName,
                                    DouiIndexConfig douiIndexConfig)
                             throws PortalException
Throws:
PortalException

indexServiceInstance

public void indexServiceInstance(SessionConfig sessionConfig,
                                 String serviceInstanceId,
                                 boolean localServerOnly,
                                 ITransaction transaction)
                          throws PortalException
Description copied from interface: IDouiIndexer
Indexes a service instance, recreating all its indices.

Specified by:
indexServiceInstance in interface IDouiIndexer
Parameters:
sessionConfig - the user session information.
serviceInstanceId - the service instance's identifier.
localServerOnly - if true the indexing is not replicated to other servers in the cluster.
transaction - the transaction for persistence access.
Throws:
PortalException


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.