Class ViewActions

  • All Implemented Interfaces:
    IAction

    public class ViewActions
    extends Object
    implements IAction
    Author:
    pvandermaesen list of actions for search in cms.
    • Field Detail

      • logger

        protected static Logger logger
        create a static logger.
    • Constructor Detail

      • ViewActions

        public ViewActions()
    • Method Detail

      • performLanguage

        public static String performLanguage​(javax.servlet.http.HttpServletRequest request,
                                             javax.servlet.http.HttpServletResponse response)
      • performReloadconfig

        public static String performReloadconfig​(javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response)
                                          throws Exception
        Throws:
        Exception
      • performUnabledalternativetemplate

        public static String performUnabledalternativetemplate​(javax.servlet.http.HttpServletRequest request,
                                                               javax.servlet.http.HttpServletResponse response)
                                                        throws Exception
        Throws:
        Exception
      • performDisabledalternativetemplate

        public static String performDisabledalternativetemplate​(javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response)
                                                         throws Exception
        Throws:
        Exception
      • performForcedefaultdevice

        public static String performForcedefaultdevice​(javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response)
                                                throws Exception
        Throws:
        Exception
      • performPagination

        public static String performPagination​(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
                                        throws Exception
        Throws:
        Exception
      • performCheckChangesAndNotify

        public static String performCheckChangesAndNotify​(ContentContext ctx,
                                                          GlobalContext globalContext,
                                                          ContentService content)
        Send notifications for pages modified between TimeA and TimeB. The timeline is TimeB -> TimeA -> Now .
        After the process: TimeA become TimeB and Now become TimeA.
        Parameters:
        ctx -
        globalContext -
        content -
        Returns:
      • performCheckChangesAndNotifyDynamicComponent

        public static String performCheckChangesAndNotifyDynamicComponent​(ContentContext ctx,
                                                                          GlobalContext globalContext,
                                                                          ContentService content)
        Send notifications for pages modified between TimeA and TimeB. The timeline is TimeB -> TimeA -> Now .
        After the process: TimeA become TimeB and Now become TimeA.
        Parameters:
        ctx -
        globalContext -
        content -
        Returns:
      • getActionGroupName

        public String getActionGroupName()
        Description copied from interface: IAction
        the group name of the action
        Specified by:
        getActionGroupName in interface IAction
        Returns:
        a group name.
      • main

        public static void main​(String[] args)