Package lumis.service.chatroom
Class ChatRoomSource
- java.lang.Object
-
- java.util.Observable
-
- lumis.doui.source.Source<F>
-
- lumis.doui.source.TabularSource<ITableSourceField>
-
- lumis.doui.table.TableSource
-
- lumis.content.table.ContentTableSource
-
- lumis.service.chatroom.ChatRoomSource
-
- All Implemented Interfaces:
Comparator<ISourceData>
public class ChatRoomSource extends ContentTableSource
Source implementation ofchatRoom
source of Chat Room service.- Since:
- 10.4.0
- Version:
- $Revision: 21230 $ $Date: 2018-04-24 19:07:57 -0300 (Tue, 24 Apr 2018) $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class lumis.content.table.ContentTableSource
ContentTableSource.LockStrategy
-
-
Field Summary
-
Fields inherited from class lumis.content.table.ContentTableSource
ASSIGNED_TO_PARAMETER_NAME, ASSIGNED_TO_PARAMETER_VALUE_NULL, TRANSITION_PARAMETER_NAME
-
Fields inherited from class lumis.doui.source.TabularSource
positionSourceField, primaryKeySourceField, searchableSourceFields, tabularData
-
Fields inherited from class lumis.doui.source.Source
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 Summary
Constructors Constructor Description ChatRoomSource(Node sourceDefinitionNode, ISourceContext sourceContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doDeleteDataByItemIds(Collection<String> itemIds)
Deletes the data in the persistence.-
Methods inherited from class lumis.content.table.ContentTableSource
addData, createDefaultFilterInstance, createQueryBuilder, createRenderDataChangedEvent, createSourceField, deleteDataByItemIds, deleteDataByItemIds, deleteVersionDataByItemIds, doAddData, doUpdateData, getBigDataPersister, getDefaultBigDataPersister, getDefaultProviderClass, getDefaultSourceSearchContentFillerClassName, getField, getHyperlinkDefaultParameters, getUpdateDataItemId, getWorkflowConfig, isAdministrationInterface, isPublishAllAccessibleContents, isWorkflowSupported, postDeleteDataByItemIds, preDeleteDataByItemIds, scheduleContentAddedEvent, scheduleIndexData, updateData, updateData
-
Methods inherited from class lumis.doui.table.TableSource
createDefaultCompositeFilterInstance, createSourceFilter, deleteRelatedData, getFilter, getTableName, readData, readData, readData
-
Methods inherited from class lumis.doui.source.TabularSource
applyPostLoadFilters, applyPostLoadPagination, compare, compareField, convertDataToDefinedDataTypes, convertDataToDefinedDataTypes, evaluateMaxRows, getData, getDouiHyperlinkItemParameterField, getFieldClass, getFieldId, getFieldIds, getFieldName, getFieldsDefinitionNode, getIndexerEngineId, getIndexerId, getMaxRows, getPositionField, getPrimaryKeyField, getReindexerTabularDataProcessorClassName, getSearchableFields, getSearcherEngineId, getSearcherId, getSortedFieldIds, getSourceSearchContentFillerClassName, getStartAt, hasField, isSearchEnabled, readFieldsIntoFieldsMap, setData, setMaxRows, setStartAt
-
Methods inherited from class lumis.doui.source.Source
createCustomSourceField, deleteDataByItemIds, 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, isRenderDataChangedNotificationEnabled, load, postAddFieldData, postDeleteFieldData, postProcessSource, postUpdateFieldData, preAddFieldData, preDeleteFieldData, preUpdateFieldData, readData, scheduleIndexData, sendPostAddDataNotification, sendPostDeleteDataNotification, sendPostUpdateDataNotification, sendPreAddDataNotification, sendPreDeleteDataNotification, sendPreUpdateDataNotification, sendRenderDataChangedNotification, sendRenderDataChangedNotification, setLoad, setParameterValue, setParameterValue, setReadData, setRenderDataChangedNotificationEnabled, valueChanged
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
ChatRoomSource
public ChatRoomSource(Node sourceDefinitionNode, ISourceContext sourceContext) throws PortalException
- Throws:
PortalException
-
-
Method Detail
-
doDeleteDataByItemIds
protected void doDeleteDataByItemIds(Collection<String> itemIds) throws PortalException
Description copied from class:ContentTableSource
Deletes the data in the persistence.This method is called by
ContentTableSource.deleteDataByItemIds(Collection, LockStrategy)
.The implementation of this method does the following:
- Calls
ContentTableSource.preDeleteDataByItemIds(Collection)
. - Calls
ContentTableSource.deleteVersionDataByItemIds(Collection)
. - Deletes content metadata.
- Calls
ContentTableSource.postDeleteDataByItemIds(Collection)
.
ContentTableSource
expects this method to automatically schedule the delete of the related indexed data. This is usually automatically triggered by content JPA entities.- Overrides:
doDeleteDataByItemIds
in classContentTableSource
- Parameters:
itemIds
- the item identifiers of data to be deleted.- Throws:
PortalException
- See Also:
ContentTableSource.deleteDataByItemIds(Collection, LockStrategy)
- Calls
-
-