@StableMinor(version="7.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.
|
protected String |
getDefaultProviderClass()
Returns data provider class for the source.
|
protected String |
getDefaultSourceSearchContentFillerClassName()
Returns the default source search content search filler class name.
|
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.
|
String |
getReindexerTabularDataProcessorClassName()
Returns the class name of the reindexer for 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.
|
void |
reindex(boolean localServerOnly)
Deprecated.
|
createDefaultCompositeFilterInstance, createSourceFilter, getFilter, getTableName, readData, readData
applyPostLoadFilters, applyPostLoadPagination, compare, compareField, convertDataToDefinedDataTypes, convertDataToDefinedDataTypes, getData, getDouiHyperlinkItemParameterField, getFieldClass, getFieldId, getFieldIds, getFieldName, getFieldsDefinitionNode, getIndexerEngineId, getIndexerId, getMaxRows, getPrimaryKeyField, 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, getKeywordsField, getLoad, getMetaDataSourceId, getParameterClass, getParameterValue, getPrimaryNameField, 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
equals
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
- protected String getDefaultSourceSearchContentFillerClassName()
TabularSource
The default value defined in this class is lumis.doui.search.DouiTabularSourceSearchContentFiller.
getDefaultSourceSearchContentFillerClassName
in class TabularSource<ITableSourceField>
public String getReindexerTabularDataProcessorClassName()
TabularSource
getReindexerTabularDataProcessorClassName
in class TabularSource<ITableSourceField>
@Deprecated public void reindex(boolean localServerOnly) throws PortalException
TabularSource
reindex
in class TabularSource<ITableSourceField>
PortalException
protected ITableSourceFilter createDefaultFilterInstance()
Source
filter
nodes.createDefaultFilterInstance
in class TableSource
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.