org.intermine.web.struts
Class WidgetAction
java.lang.Object
org.apache.struts.action.Action
org.intermine.web.struts.InterMineAction
org.intermine.web.struts.WidgetAction
public class WidgetAction
- extends InterMineAction
Runs a query based on which record the user clicked on in the widget. Used by bag table and
enrichment widgets.
| Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
|
Method Summary |
org.apache.struts.action.ActionForward |
display(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display selected entries in the results page |
org.apache.struts.action.ActionForward |
displayAll(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Display all entries in the results page |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.apache.struts.action.ActionForward |
export(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Export selected entries |
org.apache.struts.action.ActionForward |
notAnalysed(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. the 'not analysed' number will eventually be a link when I get time |
| 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 |
WidgetAction
public WidgetAction()
execute
public org.apache.struts.action.ActionForward execute(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
- Overrides:
execute in class org.apache.struts.action.Action
- 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
notAnalysed
@Deprecated
public org.apache.struts.action.ActionForward notAnalysed(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. the 'not analysed' number will eventually be a link when I get time
- Currently not used. See #1719
Display selected entries in the results page
- 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
display
public org.apache.struts.action.ActionForward display(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
- Display selected entries in the results page
- 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
displayAll
public org.apache.struts.action.ActionForward displayAll(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
- Display all entries in the results page
- 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
export
public org.apache.struts.action.ActionForward export(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
- Export selected entries
- 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