ISourceSearchContentFiller
was deprecated. Consider using
TabularSourceBigDataPersister
instead of this.@Deprecated @StableMinor(version="12.4", sinceVersion="4.0") public class DouiTabularSourceSearchContentFiller extends Object implements ISourceSearchContentFiller
ISourceSearchContentFiller
generic implementation for Doui services.Modifier and Type | Field and Description |
---|---|
protected boolean |
initialized
Deprecated.
|
protected List<String> |
primaryKeyValues
Deprecated.
|
protected List<ITabularSourceField> |
searchableFields
Deprecated.
|
protected List<SearchContent> |
searchContents
Deprecated.
|
protected ISourceData |
sourceData
Deprecated.
|
protected TabularSource<ITabularSourceField> |
tabularSource
Deprecated.
|
Constructor and Description |
---|
DouiTabularSourceSearchContentFiller()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addAttachmentGroup(Collection<SearchContentAttachment> attachments)
Deprecated.
Add attachments in
searchContents . |
protected void |
addField(SearchContentField field)
Deprecated.
|
protected void |
addFieldGroup(List<SearchContentField> fields)
Deprecated.
|
protected void |
addFieldGroups(List<List<SearchContentField>> fields)
Deprecated.
|
protected void |
addIdField()
Deprecated.
|
protected void |
addIdField(SearchContent searchContent,
String searchContentId)
Deprecated.
|
protected void |
addLanguageField()
Deprecated.
|
protected void |
addPortalConfigPathField()
Deprecated.
|
protected void |
addPrincipalField()
Deprecated.
Adds the
IDouiIndexer.FIELDNAME_PRINCIPAL field to the
SearchContent being indexed. |
protected void |
addPublishStartDateField()
Deprecated.
Adds a publish start date field, if the
tabularSource contains a
field that contains an attribute isPublishStartDate with the
value true |
protected void |
addSearchableFields()
Deprecated.
|
protected void |
addServiceInstanceField(boolean forAdd)
Deprecated.
|
protected void |
addStatusField()
Deprecated.
|
protected void |
addSubtitleField()
Deprecated.
|
protected void |
addTitleField()
Deprecated.
|
protected void |
addUrlField()
Deprecated.
|
protected List<String> |
getContentIds()
Deprecated.
|
protected String |
getContentUrl(String serviceInstanceId)
Deprecated.
|
protected String |
getHyperlinkItemId()
Deprecated.
|
protected void |
getPrimaryKeyValues()
Deprecated.
|
protected Collection<String> |
getSearchContentIds()
Deprecated.
|
List<SearchContent> |
getSearchContentsForAdd()
Deprecated.
|
List<SearchContent> |
getSearchContentsForRemove()
Deprecated.
|
void |
init(ISourceData sourceData,
Source source)
Deprecated.
|
protected String |
parseField(ITabularSourceField field)
Deprecated.
|
protected ISourceData sourceData
protected TabularSource<ITabularSourceField> tabularSource
protected List<SearchContent> searchContents
protected boolean initialized
protected List<ITabularSourceField> searchableFields
public DouiTabularSourceSearchContentFiller()
public void init(ISourceData sourceData, Source source) throws PortalException
init
in interface ISourceSearchContentFiller
PortalException
public List<SearchContent> getSearchContentsForAdd() throws PortalException
getSearchContentsForAdd
in interface ISourceSearchContentFiller
PortalException
public List<SearchContent> getSearchContentsForRemove() throws PortalException
getSearchContentsForRemove
in interface ISourceSearchContentFiller
PortalException
protected void getPrimaryKeyValues()
protected void addIdField() throws PortalException
PortalException
protected void addIdField(SearchContent searchContent, String searchContentId)
protected Collection<String> getSearchContentIds() throws PortalException
PortalException
protected String parseField(ITabularSourceField field)
protected void addSearchableFields() throws PortalException
PortalException
protected void addTitleField() throws PortalException
PortalException
protected void addSubtitleField() throws PortalException
PortalException
protected void addUrlField() throws PortalException
PortalException
protected String getContentUrl(String serviceInstanceId) throws PortalException
PortalException
protected String getHyperlinkItemId() throws PortalException
PortalException
protected void addPortalConfigPathField() throws PortalException
PortalException
protected void addServiceInstanceField(boolean forAdd) throws PortalException
PortalException
protected void addStatusField() throws PortalException
PortalException
protected void addLanguageField() throws PortalException
PortalException
protected void addPublishStartDateField() throws PortalException
tabularSource
contains a
field that contains an attribute isPublishStartDate
with the
value true
PortalException
protected void addPrincipalField() throws PortalException
IDouiIndexer.FIELDNAME_PRINCIPAL
field to the
SearchContent
being indexed.
By default adds the GroupConfig.GROUP_ALL_USERS_ID
as the principal.PortalException
protected void addField(SearchContentField field) throws PortalException
PortalException
protected void addFieldGroup(List<SearchContentField> fields) throws PortalException
PortalException
protected void addFieldGroups(List<List<SearchContentField>> fields) throws PortalException
PortalException
protected void addAttachmentGroup(Collection<SearchContentAttachment> attachments) throws PortalException
searchContents
.attachments
- the attachments to add.PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.