Class ChannelsBuilders.ProjectContentChannelBuilder
- java.lang.Object
-
- ch.colabproject.colab.api.ws.channel.tool.ChannelsBuilders.ChannelsBuilder
-
- ch.colabproject.colab.api.ws.channel.tool.ChannelsBuilders.ProjectContentChannelBuilder
-
- Enclosing class:
- ChannelsBuilders
public static class ChannelsBuilders.ProjectContentChannelBuilder extends ChannelsBuilders.ChannelsBuilder
To build a project content channel
-
-
Constructor Summary
Constructors Constructor Description ProjectContentChannelBuilder(Project project)
Create a builder for a project content channelProjectContentChannelBuilder(Long projectId)
Create a builder for a project content channel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<WebsocketChannel>
build(UserDao userDao, TeamMemberDao teamDao, CardTypeDao cardTypeDao, ProjectDao projectDao)
Determine the channels to use (internal implementation)-
Methods inherited from class ch.colabproject.colab.api.ws.channel.tool.ChannelsBuilders.ChannelsBuilder
computeChannels
-
-
-
-
Constructor Detail
-
ProjectContentChannelBuilder
public ProjectContentChannelBuilder(Project project)
Create a builder for a project content channel- Parameters:
project
- the project
-
ProjectContentChannelBuilder
public ProjectContentChannelBuilder(Long projectId)
Create a builder for a project content channel- Parameters:
projectId
- id of the project
-
-
Method Detail
-
build
protected Set<WebsocketChannel> build(UserDao userDao, TeamMemberDao teamDao, CardTypeDao cardTypeDao, ProjectDao projectDao)
Description copied from class:ChannelsBuilders.ChannelsBuilder
Determine the channels to use (internal implementation)- Specified by:
build
in classChannelsBuilders.ChannelsBuilder
- Parameters:
userDao
- the dao to fetch usersteamDao
- the dao to fetch the team memberscardTypeDao
- the dao to fetch card typesprojectDao
- the dao to fetch projects- Returns:
- all channels to use for propagation
-
-