org.intermine.web.struts
Class ModifyDetails

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.intermine.web.struts.ModifyDetails

public class ModifyDetails
extends org.apache.struts.actions.DispatchAction

Action to handle events related to displaying inline templates.


Field Summary
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
ModifyDetails()
           
 
Method Summary
 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 templates
 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)
           
protected  DisplayObject getDisplayObject(javax.servlet.http.HttpSession session, java.lang.String idString)
          Get a DisplayObject 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 instead
 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)
          Deprecated. ajaxVerbosify is used instead
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, execute, getMethod, getMethodName, unspecified
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, 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

ModifyDetails

public ModifyDetails()
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 instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - 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 instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - 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 instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - 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 instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - 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 instance
form - The optional ActionForm bean for this request (if any)
request - The HTTP request we are processing
response - 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

getDisplayObject

protected DisplayObject getDisplayObject(javax.servlet.http.HttpSession session,
                                         java.lang.String idString)
Get a DisplayObject from the session given the object id as a string.

Parameters:
session - the current http session
idString - intermine object id
Returns:
DisplayObject for the intermine object