Class MyMineController


  • public class MyMineController
    extends org.apache.struts.tiles.actions.TilesAction
    Tiles controller for history tile (page).
    Author:
    Thomas Riley
    • Field Summary

      • Fields inherited from class org.apache.struts.action.Action

        servlet
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.struts.action.ActionForward execute​(org.apache.struts.tiles.ComponentContext context, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Set up attributes for the myMine page.
      static void getPrecomputedSummarisedInfo​(Profile profile, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest request)
      Retrieve the information about precomputed and summarised templates for the given profile, and store it into the request
      • Methods inherited from class org.apache.struts.tiles.actions.TilesAction

        execute
      • Methods inherited from class org.apache.struts.action.Action

        addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyMineController

        public MyMineController()
    • Method Detail

      • execute

        public org.apache.struts.action.ActionForward execute​(org.apache.struts.tiles.ComponentContext context,
                                                              org.apache.struts.action.ActionMapping mapping,
                                                              org.apache.struts.action.ActionForm form,
                                                              javax.servlet.http.HttpServletRequest request,
                                                              javax.servlet.http.HttpServletResponse response)
                                                       throws java.lang.Exception
        Set up attributes for the myMine page.
        Overrides:
        execute in class org.apache.struts.tiles.actions.TilesAction
        Throws:
        java.lang.Exception
      • getPrecomputedSummarisedInfo

        public static void getPrecomputedSummarisedInfo​(Profile profile,
                                                        javax.servlet.http.HttpSession session,
                                                        javax.servlet.http.HttpServletRequest request)
                                                 throws ObjectStoreException
        Retrieve the information about precomputed and summarised templates for the given profile, and store it into the request
        Parameters:
        profile - the user Profile
        session - the HttpSession
        request - the Servlet Request
        Throws:
        ObjectStoreException - when something goes wrong...