Class ChannelGroupTypeRegistry

    • Constructor Detail

      • ChannelGroupTypeRegistry

        public ChannelGroupTypeRegistry()
    • Method Detail

      • getChannelGroupTypes

        public List<ChannelGroupType> getChannelGroupTypes()
        Returns all channel group types with the default Locale.
        Returns:
        all channel group types or empty list if no channel group type exists
      • getChannelGroupTypes

        public List<ChannelGroupType> getChannelGroupTypes​(@Nullable Locale locale)
        Returns all channel group types for the given Locale.
        Parameters:
        locale - (can be null)
        Returns:
        all channel group types or empty list if no channel group type exists
      • getChannelGroupType

        public @Nullable ChannelGroupType getChannelGroupType​(@Nullable ChannelGroupTypeUID channelGroupTypeUID)
        Returns the channel group type for the given UID with the default Locale.
        Returns:
        channel group type or null if no channel group type for the given UID exists
      • getChannelGroupType

        public @Nullable ChannelGroupType getChannelGroupType​(@Nullable ChannelGroupTypeUID channelGroupTypeUID,
                                                              @Nullable Locale locale)
        Returns the channel group type for the given UID and the given Locale.
        Parameters:
        locale - (can be null)
        Returns:
        channel group type or null if no channel group type for the given UID exists
      • addChannelGroupTypeProvider

        protected void addChannelGroupTypeProvider​(ChannelGroupTypeProvider channelGroupTypeProvider)
      • removeChannelGroupTypeProvider

        protected void removeChannelGroupTypeProvider​(ChannelGroupTypeProvider channelGroupTypeProvider)