lumis.doui.search
Class DouiTabularSourceSearchContentFiller
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
DouiTabularSourceSearchContentFiller
public DouiTabularSourceSearchContentFiller()
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.