@StableMinor(version="10.1", sinceVersion="4.0") public class ContentTableSource extends TableSource
TableSource
it extends.primaryKeySourceField, searchableSourceFields, tabularData
addInterfaceId, administrationInterfaceId, connectionId, detailsInterfaceId, editInterfaceId, fields, fieldsMap, id, introductionSourceField, keywordsSourceField, load, metaDataSourceId, parameters, primaryNameSourceField, readData, SOURCE_READ_DATA_ALWAYS, SOURCE_READ_DATA_NEVER, SOURCE_READ_DATA_ON_DEMAND, sourceContext, sourceDefinitionNode
Constructor and Description |
---|
ContentTableSource(Node sourceDefinitionNode,
ISourceContext sourceContext)
Creates a content table source.
|
Modifier and Type | Method and Description |
---|---|
protected ITableSourceFilter |
createDefaultFilterInstance()
Creates and returns a source filter instance to be used
as default to
filter nodes. |
protected ITableSourceField |
createSourceField(Node fieldNode)
Factory method for creating a source field instance that corresponds
to the field node given.
|
IContentTableSourceBigDataPersister |
getBigDataPersister()
Returns the ISourceBigDataPersister implementation to be used for this source.
|
protected IContentTableSourceBigDataPersister |
getDefaultBigDataPersister()
Returns the default ISourceBigDataPersister implementation to be used for this source if the big data persisting
is not disabled and no specific persister class is configured for this source.
|
protected String |
getDefaultProviderClass()
Returns data provider class for the source.
|
protected String |
getDefaultSourceSearchContentFillerClassName()
Deprecated.
Since 8.1.0 this method is no longer used and remains only for binary compatibility, due
to lumis.search being replaced by lumis.portal.bigdata. Consider using
getDefaultBigDataPersister()
instead. |
MetaDataSourceField |
getField(MetaDataSourceField.Type type)
Returns the filed based on the metadata type passed in.
|
Collection<String> |
getHyperlinkDefaultParameters()
Returns the default parameters that should be used when creating a
hyperlink url from this source.
|
WorkflowConfig |
getWorkflowConfig()
Returns the workflow associated with this source.
|
protected boolean |
isAdministrationInterface(IServiceInterface serviceInterface)
Returns true if the given service interface is the main administration interface for this source.
|
boolean |
isPublishAllAccessibleContents()
Indicates if contents not published to the current service instance
but accessible by the current user should also be published.
|
boolean |
isWorkflowSupported()
Verifies if the current source supports a workflow.
|
createDefaultCompositeFilterInstance, createSourceFilter, getFilter, getTableName, readData, readData
applyPostLoadFilters, applyPostLoadPagination, compare, compareField, convertDataToDefinedDataTypes, convertDataToDefinedDataTypes, getData, getDouiHyperlinkItemParameterField, getFieldClass, getFieldId, getFieldIds, getFieldName, getFieldsDefinitionNode, getIndexerEngineId, getIndexerId, getMaxRows, getPrimaryKeyField, getReindexerTabularDataProcessorClassName, getSearchableFields, getSearcherEngineId, getSearcherId, getSortedFieldIds, getSourceSearchContentFillerClassName, getStartAt, hasField, isSearchEnabled, readFieldsIntoFieldsMap, setData, setMaxRows, setStartAt
createCustomSourceField, getAddInterfaceId, getAdministrationInterfaceId, getDataProvider, getDefinitionNode, getDetailsInterfaceId, getDistinct, getDouiContext, getEditInterfaceId, getField, getFields, getFiltersNode, getId, getIntroductionField, getIntroductionImageField, getKeywordsField, getLoad, getMetaDataSourceId, getParameterClass, getParameterValue, getPrimaryNameField, getPublishStartDateField, getReadData, getSourceContainer, getSourceContext, getTransaction, isDetails, load, postProcessSource, setLoad, setParameterValue, setParameterValue, setReadData, valueChanged
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ContentTableSource(Node sourceDefinitionNode, ISourceContext sourceContext) throws PortalException
sourceDefinitionNode
- the source definition node.sourceContext
- the source context.PortalException
protected boolean isAdministrationInterface(IServiceInterface serviceInterface)
isAdministrationInterface
in class Source<ITableSourceField>
serviceInterface
- the service interface.protected String getDefaultProviderClass() throws PortalException
TabularSource
getDefaultProviderClass
in class TableSource
PortalException
public WorkflowConfig getWorkflowConfig() throws PortalException
PortalException
public boolean isWorkflowSupported() throws PortalException
PortalException
public boolean isPublishAllAccessibleContents()
protected ITableSourceField createSourceField(Node fieldNode) throws PortalException
Source
createSourceField
in class TableSource
fieldNode
- the field node.PortalException
Source.createCustomSourceField(Node)
public Collection<String> getHyperlinkDefaultParameters()
Source
getHyperlinkDefaultParameters
in class TabularSource<ITableSourceField>
public MetaDataSourceField getField(MetaDataSourceField.Type type)
type
- @Deprecated protected String getDefaultSourceSearchContentFillerClassName()
getDefaultBigDataPersister()
instead.TabularSource
The default value defined in this class is lumis.doui.search.DouiTabularSourceSearchContentFiller.
getDefaultSourceSearchContentFillerClassName
in class TabularSource<ITableSourceField>
protected ITableSourceFilter createDefaultFilterInstance()
Source
filter
nodes.createDefaultFilterInstance
in class TableSource
public IContentTableSourceBigDataPersister getBigDataPersister()
Source
getBigDataPersister
in class Source<ITableSourceField>
protected IContentTableSourceBigDataPersister getDefaultBigDataPersister()
Source
This method is called by Source.getBigDataPersister()
when the default is to be used.
getDefaultBigDataPersister
in class TableSource
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.