public class DouiIndexer extends Object implements IDouiIndexer
IDouiIndexer.FieldType, IDouiIndexer.StatusFieldValues
FIELDNAME_INTRODUCTION_IMAGE, FIELDNAME_LANGUAGE, FIELDNAME_LANGUAGE_ALL_VALUE, FIELDNAME_PORTALDATAPATH, FIELDNAME_PRINCIPAL, FIELDNAME_PUBLISH_START_DATE, FIELDNAME_SERVICEINSTANCEID, FIELDNAME_SERVICEINSTANCEID_DEFAULT_VALUE, FIELDNAME_SOURCE_SERVICEINSTANCEID, FIELDNAME_STATUS
Constructor and Description |
---|
DouiIndexer() |
Modifier and Type | Method and Description |
---|---|
void |
addSearchContent(ISourceData tabularDataRow,
Source source,
DouiIndexConfig douiIndexConfig) |
protected Indexer |
getIndexer(String searchEngineId,
String indexerId)
Returns the portal back-end Indexer that will be used by this
DouiIndexer.
|
void |
indexServiceInstance(SessionConfig sessionConfig,
String serviceInstanceId,
boolean localServerOnly,
ITransaction transaction)
Deprecated.
|
void |
indexServiceInstance(SessionConfig sessionConfig,
String serviceInstanceId,
ITransaction transaction)
Indexes a service instance, recreating all its indices.
|
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) |
public void addSearchContent(ISourceData tabularDataRow, Source source, DouiIndexConfig douiIndexConfig) throws PortalException
addSearchContent
in interface IDouiIndexer
PortalException
public void removeSearchContents(ISourceData tabularDataRow, Source source, DouiIndexConfig douiIndexConfig) throws PortalException
removeSearchContents
in interface IDouiIndexer
PortalException
public void removeSearchContentsByServiceInstanceId(String serviceInstanceId, Source source, DouiIndexConfig douiIndexConfig) throws PortalException
removeSearchContentsByServiceInstanceId
in interface IDouiIndexer
PortalException
protected void removeSearchContents(List<SearchContent> searchContents, String selectionFieldName, DouiIndexConfig douiIndexConfig) throws PortalException
PortalException
protected Indexer getIndexer(String searchEngineId, String indexerId) throws PortalException
searchEngineId
- the search engine identifier.indexerId
- the indexer identifier.PortalException
@Deprecated public void indexServiceInstance(SessionConfig sessionConfig, String serviceInstanceId, boolean localServerOnly, ITransaction transaction) throws PortalException
IDouiIndexer
indexServiceInstance
in interface IDouiIndexer
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.PortalException
public void indexServiceInstance(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction) throws PortalException
IDouiIndexer
indexServiceInstance
in interface IDouiIndexer
sessionConfig
- the user session information.serviceInstanceId
- the service instance's identifier.transaction
- the transaction for persistence access.PortalException
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.