public class ProjectSource extends TableSource
Project
source.positionSourceField, 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 |
---|
ProjectSource(Node sourceDefinitionNode,
ISourceContext sourceContext) |
Modifier and Type | Method and Description |
---|---|
protected ISourceAddDataResult |
doAddData(IParameters data)
Adds the data to the persistence.
|
protected void |
doDeleteDataByItemIds(Collection<String> itemIds)
Deletes the data in the persistence.
|
protected ISourceUpdateDataResult |
doUpdateData(IParameters data)
Updates the data in the persistence.
|
createDefaultCompositeFilterInstance, createDefaultFilterInstance, createQueryBuilder, createSourceField, createSourceFilter, deleteRelatedData, getDefaultBigDataPersister, getDefaultProviderClass, getFilter, getTableName, readData, readData, readData
applyPostLoadFilters, applyPostLoadPagination, compare, compareField, convertDataToDefinedDataTypes, convertDataToDefinedDataTypes, evaluateMaxRows, getData, getDefaultSourceSearchContentFillerClassName, getDouiHyperlinkItemParameterField, getFieldClass, getFieldId, getFieldIds, getFieldName, getFieldsDefinitionNode, getHyperlinkDefaultParameters, getIndexerEngineId, getIndexerId, getMaxRows, getPositionField, getPrimaryKeyField, getReindexerTabularDataProcessorClassName, getSearchableFields, getSearcherEngineId, getSearcherId, getSortedFieldIds, getSourceSearchContentFillerClassName, getStartAt, hasField, isSearchEnabled, readFieldsIntoFieldsMap, setData, setMaxRows, setStartAt
addData, createCustomSourceField, createRenderDataChangedEvent, deleteDataByItemIds, deleteDataByItemIds, getAddInterfaceId, getAdministrationInterfaceId, getBigDataPersister, getDataProvider, getDefinitionNode, getDetailsInterfaceId, getDistinct, getDouiContext, getEditInterfaceId, getField, getFields, getFiltersNode, getId, getIntroductionField, getIntroductionImageField, getKeywordsField, getLoad, getMetaDataSourceId, getParameterClass, getParameterValue, getPrimaryNameField, getPublishStartDateField, getReadData, getSourceContainer, getSourceContext, getTransaction, getUpdateDataItemId, isAdministrationInterface, isDetails, isRenderDataChangedNotificationEnabled, load, postAddFieldData, postDeleteFieldData, postProcessSource, postUpdateFieldData, preAddFieldData, preDeleteFieldData, preUpdateFieldData, readData, scheduleIndexData, scheduleIndexData, sendPostAddDataNotification, sendPostDeleteDataNotification, sendPostUpdateDataNotification, sendPreAddDataNotification, sendPreDeleteDataNotification, sendPreUpdateDataNotification, sendRenderDataChangedNotification, sendRenderDataChangedNotification, setLoad, setParameterValue, setParameterValue, setReadData, setRenderDataChangedNotificationEnabled, updateData, 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 ProjectSource(Node sourceDefinitionNode, ISourceContext sourceContext) throws PortalException
PortalException
protected ISourceAddDataResult doAddData(IParameters data) throws PortalException
Source
This method is called by Source.addData(Object)
and is to be overridden by sources that supports add operation
and uses the default addData
implementation.
The implementation of this method in Source
throws UnsupportedOperationException
.
doAddData
in class TableSource
data
- the data given to Source.addData(Object)
, converted to IParameters
if necessary.Source.addData(Object)
.PortalException
protected void doDeleteDataByItemIds(Collection<String> itemIds) throws PortalException
Source
This method is called by Source.deleteDataByItemIds(Collection)
and is to be overridden by sources that
supports delete operation and uses the default deleteData implementation.
The implementation of this method in Source
throws UnsupportedOperationException
.
doDeleteDataByItemIds
in class TableSource
itemIds
- the item identifiers of data to be deleted.PortalException
protected ISourceUpdateDataResult doUpdateData(IParameters data) throws PortalException
Source
This method is called by Source.updateData(Object)
and is to be overridden by sources that supports update
operation and uses the default updateData implementation.
The implementation of this method in Source
throws UnsupportedOperationException
.
doUpdateData
in class TableSource
data
- the data given to Source.updateData(Object)
, converted to IParameters
if necessary.Source.updateData(Object)
.PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.