Package org.intermine.web.struts
Class ModifyDetails
- java.lang.Object
-
- org.apache.struts.action.Action
-
- org.apache.struts.actions.BaseAction
-
- org.apache.struts.actions.DispatchAction
-
- org.intermine.web.struts.ModifyDetails
-
public class ModifyDetails extends org.apache.struts.actions.DispatchAction
Action to handle events related to displaying Report templates and displayers- Author:
- Mark Woodbridge
-
-
Constructor Summary
Constructors Constructor Description ModifyDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.struts.action.ActionForward
ajaxShowDisplayer(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Show a displayer in response to an AJAX request.org.apache.struts.action.ActionForward
ajaxTemplateCount(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Count number of results for a template for inline templatesorg.apache.struts.action.ActionForward
ajaxVerbosify(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected ReportObject
getReportObject(javax.servlet.http.HttpSession session, java.lang.String idString)
Get a ReportObject from the session given the object id as a string.org.apache.struts.action.ActionForward
runTemplate(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Show in table for inline template queries.org.apache.struts.action.ActionForward
unverbosify(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Deprecated.ajaxVerbosify is used insteadorg.apache.struts.action.ActionForward
verbosify(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Deprecated.ajaxVerbosify is used instead-
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, execute, getMethod, getMethodName, getParameter, unspecified
-
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
-
-
-
-
Method Detail
-
runTemplate
public org.apache.struts.action.ActionForward runTemplate(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
Show in table for inline template queries.- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating- Returns:
- an ActionForward object defining where control goes next
- Throws:
java.lang.Exception
- if the application business logic throws an exception
-
verbosify
@Deprecated public org.apache.struts.action.ActionForward verbosify(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
Deprecated.ajaxVerbosify is used instead- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating- Returns:
- an ActionForward object defining where control goes next
- Throws:
java.lang.Exception
- if the application business logic throws an exception
-
unverbosify
@Deprecated public org.apache.struts.action.ActionForward unverbosify(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
Deprecated.ajaxVerbosify is used instead- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating- Returns:
- an ActionForward object defining where control goes next
- Throws:
java.lang.Exception
- if the application business logic throws an exception
-
ajaxVerbosify
public org.apache.struts.action.ActionForward ajaxVerbosify(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
- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating- Returns:
- an ActionForward object defining where control goes next
- Throws:
java.lang.Exception
- if the application business logic throws an exception
-
ajaxTemplateCount
public org.apache.struts.action.ActionForward ajaxTemplateCount(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
Count number of results for a template for inline templates- Parameters:
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creating- Returns:
- an ActionForward object defining where control goes next
- Throws:
java.lang.Exception
- if the application business logic throws an exception
-
ajaxShowDisplayer
public org.apache.struts.action.ActionForward ajaxShowDisplayer(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Show a displayer in response to an AJAX request.- Parameters:
mapping
- The mapping.form
- The form.request
- The request.response
- The response.- Returns:
- An action forward, possibly null.
-
getReportObject
protected ReportObject getReportObject(javax.servlet.http.HttpSession session, java.lang.String idString)
Get a ReportObject from the session given the object id as a string.- Parameters:
session
- the current http sessionidString
- intermine object id- Returns:
- ReportObject for the intermine object
-
-