Class ChannelTemplateUpdateChannelsRunner

  • All Implemented Interfaces:
    Runnable

    public class ChannelTemplateUpdateChannelsRunner
    extends Object
    implements Runnable
    Updates channels from channel templates.
    Since:
    5.6.0
    Version:
    $Revision: 16824 $ $Date: 2015-01-23 18:49:12 -0200 (Fri, 23 Jan 2015) $
    • Constructor Detail

      • ChannelTemplateUpdateChannelsRunner

        @Deprecated
        public ChannelTemplateUpdateChannelsRunner​(SessionConfig sessionConfig,
                                                   String processId,
                                                   List<String> channelIds)
                                            throws PortalException
        Deprecated.
        Updates channels from given channel templates.
        Parameters:
        sessionConfig - a session configuration
        processId - a processId used between back-end and front-end to send and receive information.
        channelIds - the channels to be updated
        Throws:
        PortalException
        Since:
        5.6.0
      • ChannelTemplateUpdateChannelsRunner

        public ChannelTemplateUpdateChannelsRunner​(String userId,
                                                   Locale userLocale,
                                                   String processId,
                                                   List<String> channelIds)
        Updates channels from given channel templates.
        Parameters:
        userId - the user identifier that is going to execute the action.
        userLocale - the user locale.
        processId - a processId used between back-end and front-end to send and receive information.
        channelIds - the channels to be updated
        Since:
        6.0.0
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable