Package ai.nexconn.chatui.config
Class DefaultChannelListProcessor
-
- All Implemented Interfaces:
-
ai.nexconn.chatui.config.DataProcessor
public class DefaultChannelListProcessor extends BaseDataProcessor<T>
Default BaseDataProcessor implementation for the channel list.
Filters out channels with a null or empty channel ID, and channels with a null .
-
-
Constructor Summary
Constructors Constructor Description DefaultChannelListProcessor()
-
Method Summary
Modifier and Type Method Description List<BaseChannel>filtered(List<BaseChannel> data)Filters the raw channel data before it is displayed in the channel list. -
Methods inherited from class ai.nexconn.chatui.config.BaseDataProcessor
isGathered, supportedTypes -
Methods inherited from class ai.nexconn.chatui.config.DataProcessor
isGathered -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
filtered
List<BaseChannel> filtered(List<BaseChannel> data)
Filters the raw channel data before it is displayed in the channel list.
Called both when bulk-fetching channels from the database and when a new channel is created from an incoming real-time message.
- Parameters:
data- raw channel list to filter- Returns:
filtered channel list
-
-
-
-