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.2",
             sinceVersion="4.0")
public class DouiTabularSourceSearchContentFiller
extends Object
implements ISourceSearchContentFiller

ISourceSearchContentFiller generic implementation for Doui services.

Since:
4.0.4

Field Summary
protected  boolean initialized
           
protected  List<String> primaryKeyValues
           
protected  List<ITabularSourceField> searchableFields
           
protected  List<SearchContent> searchContents
           
protected  ISourceData sourceData
           
protected  TabularSource<ITabularSourceField> tabularSource
           
 
Constructor Summary
DouiTabularSourceSearchContentFiller()
           
 
Method Summary
protected  void addAttachmentGroup(Collection<SearchContentAttachment> attachments)
          Add attachments in searchContents.
protected  void addField(SearchContentField field)
           
protected  void addFieldGroup(List<SearchContentField> fields)
           
protected  void addFieldGroups(List<List<SearchContentField>> fields)
           
protected  void addIdField()
           
protected  void addIdField(SearchContent searchContent, 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  List<String> getContentIds()
           
protected  String getContentUrl(String serviceInstanceId)
           
protected  String getHyperlinkItemId()
           
protected  void getPrimaryKeyValues()
           
protected  Collection<String> getSearchContentIds()
           
 List<SearchContent> getSearchContentsForAdd()
           
 List<SearchContent> getSearchContentsForRemove()
           
 void init(ISourceData sourceData, Source source)
           
protected  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 List<String> primaryKeyValues

searchContents

protected List<SearchContent> searchContents

initialized

protected boolean initialized

searchableFields

protected 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 List<SearchContent> getSearchContentsForAdd()
                                            throws PortalException
Specified by:
getSearchContentsForAdd in interface ISourceSearchContentFiller
Throws:
PortalException

getSearchContentsForRemove

public 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,
                          String searchContentId)

getSearchContentIds

protected Collection<String> getSearchContentIds()
                                          throws PortalException
Throws:
PortalException

getContentIds

protected List<String> getContentIds()

parseField

protected 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 String getContentUrl(String serviceInstanceId)
                        throws PortalException
Throws:
PortalException

getHyperlinkItemId

protected 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(List<SearchContentField> fields)
                      throws PortalException
Throws:
PortalException

addFieldGroups

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

addAttachmentGroup

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

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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.