lumis.doui.search
Class DouiTabularSourceSearchContentFiller

Package class diagram package DouiTabularSourceSearchContentFiller
java.lang.Object
  extended by lumis.doui.search.DouiTabularSourceSearchContentFiller
All Implemented Interfaces:
ISourceSearchContentFiller
Direct Known Subclasses:
ContentTabularSourceSearchContentFiller

@StableMinor(version="6.1",
             sinceVersion="4.0")
public class DouiTabularSourceSearchContentFiller
extends java.lang.Object
implements ISourceSearchContentFiller

ISourceSearchContentFiller generic implementation for Doui services.

Since:
4.0.4

Field Summary
protected  boolean initialized
           
protected  java.util.List<java.lang.String> primaryKeyValues
           
protected  java.util.List<ITabularSourceField> searchableFields
           
protected  java.util.List<SearchContent> searchContents
           
protected  ISourceData sourceData
           
protected  TabularSource<ITabularSourceField> tabularSource
           
 
Constructor Summary
DouiTabularSourceSearchContentFiller()
           
 
Method Summary
protected  void addAttachmentGroup(java.util.Collection<SearchContentAttachment> attachments)
          Add attachments in searchContents.
protected  void addField(SearchContentField field)
           
protected  void addFieldGroup(java.util.List<SearchContentField> fields)
           
protected  void addFieldGroups(java.util.List<java.util.List<SearchContentField>> fields)
           
protected  void addIdField()
           
protected  void addIdField(SearchContent searchContent, java.lang.String searchContentId)
           
protected  void addLanguageField()
           
protected  void addPortalConfigPathField()
           
protected  void addPublishStartDateField()
          Adds a publish start date field, if the tabularSource contains a field that contains an attribute isPublishStartDate with the value true
protected  void addSearchableFields()
           
protected  void addServiceInstanceField(boolean forAdd)
           
protected  void addStatusField()
           
protected  void addSubtitleField()
           
protected  void addTitleField()
           
protected  void addUrlField()
           
protected  java.util.List<java.lang.String> getContentIds()
           
protected  java.lang.String getContentUrl(java.lang.String serviceInstanceId)
           
protected  java.lang.String getHyperlinkItemId()
           
protected  void getPrimaryKeyValues()
           
protected  java.util.Collection<java.lang.String> getSearchContentIds()
           
 java.util.List<SearchContent> getSearchContentsForAdd()
           
 java.util.List<SearchContent> getSearchContentsForRemove()
           
 void init(ISourceData sourceData, Source source)
           
protected  java.lang.String parseField(ITabularSourceField field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceData

protected ISourceData sourceData

tabularSource

protected TabularSource<ITabularSourceField> tabularSource

primaryKeyValues

protected java.util.List<java.lang.String> primaryKeyValues

searchContents

protected java.util.List<SearchContent> searchContents

initialized

protected boolean initialized

searchableFields

protected java.util.List<ITabularSourceField> searchableFields
Constructor Detail

DouiTabularSourceSearchContentFiller

public DouiTabularSourceSearchContentFiller()
Method Detail

init

public void init(ISourceData sourceData,
                 Source source)
          throws PortalException
Specified by:
init in interface ISourceSearchContentFiller
Throws:
PortalException

getSearchContentsForAdd

public java.util.List<SearchContent> getSearchContentsForAdd()
                                                      throws PortalException
Specified by:
getSearchContentsForAdd in interface ISourceSearchContentFiller
Throws:
PortalException

getSearchContentsForRemove

public java.util.List<SearchContent> getSearchContentsForRemove()
                                                         throws PortalException
Specified by:
getSearchContentsForRemove in interface ISourceSearchContentFiller
Throws:
PortalException

getPrimaryKeyValues

protected void getPrimaryKeyValues()

addIdField

protected void addIdField()
                   throws PortalException
Throws:
PortalException

addIdField

protected void addIdField(SearchContent searchContent,
                          java.lang.String searchContentId)

getSearchContentIds

protected java.util.Collection<java.lang.String> getSearchContentIds()
                                                              throws PortalException
Throws:
PortalException

getContentIds

protected java.util.List<java.lang.String> getContentIds()

parseField

protected java.lang.String parseField(ITabularSourceField field)

addSearchableFields

protected void addSearchableFields()
                            throws PortalException
Throws:
PortalException

addTitleField

protected void addTitleField()
                      throws PortalException
Throws:
PortalException

addSubtitleField

protected void addSubtitleField()
                         throws PortalException
Throws:
PortalException

addUrlField

protected void addUrlField()
                    throws PortalException
Throws:
PortalException

getContentUrl

protected java.lang.String getContentUrl(java.lang.String serviceInstanceId)
                                  throws PortalException
Throws:
PortalException

getHyperlinkItemId

protected java.lang.String getHyperlinkItemId()
                                       throws PortalException
Throws:
PortalException

addPortalConfigPathField

protected void addPortalConfigPathField()
                                 throws PortalException
Throws:
PortalException

addServiceInstanceField

protected void addServiceInstanceField(boolean forAdd)
                                throws PortalException
Throws:
PortalException

addStatusField

protected void addStatusField()
                       throws PortalException
Throws:
PortalException

addLanguageField

protected void addLanguageField()
                         throws PortalException
Throws:
PortalException

addPublishStartDateField

protected void addPublishStartDateField()
                                 throws PortalException
Adds a publish start date field, if the tabularSource contains a field that contains an attribute isPublishStartDate with the value true

Throws:
PortalException
Since:
6.0.0

addField

protected void addField(SearchContentField field)
                 throws PortalException
Throws:
PortalException

addFieldGroup

protected void addFieldGroup(java.util.List<SearchContentField> fields)
                      throws PortalException
Throws:
PortalException

addFieldGroups

protected void addFieldGroups(java.util.List<java.util.List<SearchContentField>> fields)
                       throws PortalException
Throws:
PortalException

addAttachmentGroup

protected void addAttachmentGroup(java.util.Collection<SearchContentAttachment> attachments)
                           throws PortalException
Add attachments in searchContents.

Parameters:
attachments - the attachments to add.
Throws:
PortalException
Since:
4.2.2


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