Package org.cyclos.impl.access
Interface UserChannelServiceLocal
-
- All Superinterfaces:
Service,UserChannelService
- All Known Implementing Classes:
UserChannelServiceImpl
public interface UserChannelServiceLocal extends UserChannelService
Local interface forUserChannelService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanenableChannel(User user, Channel channel)Makes sure that the given channel is enabled for the given user.List<Channel>getAccessibleChannels(BasicUser user)Returns a list with all accessible channels for the given user.booleanisChannelAccessible(BasicUser user, Channel channel)Returns whether the given user can access the given channel-
Methods inherited from interface org.cyclos.services.access.UserChannelService
getChannelsData, saveChannels
-
-
-
-
Method Detail
-
enableChannel
boolean enableChannel(User user, Channel channel)
Makes sure that the given channel is enabled for the given user. Returns false when the channel cannot be enabled (is disabled by the configuration)
-
getAccessibleChannels
List<Channel> getAccessibleChannels(BasicUser user)
Returns a list with all accessible channels for the given user.- See Also:
isChannelAccessible(BasicUser, Channel)
-
-