gov.nih.nci.caarray.ui.ontology
Class OntologySearchAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
gov.nih.nci.caarray.ui.core.BaseDispatchAction
gov.nih.nci.caarray.ui.ontology.OntologySearchAction
public final class OntologySearchAction
- extends BaseDispatchAction
Fields inherited from class org.apache.struts.actions.DispatchAction |
clazz, log, messages, methods, types |
Fields inherited from class org.apache.struts.action.Action |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
Method Summary |
void |
doReset(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
boolean |
loginRequired()
This method returns a boolean value, which determines
if the action is accesseble with or without log in
True = LogIn required to access this page
False = LogIn not required |
org.apache.struts.action.ActionForward |
newSearch(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method performs the intial search for the |
org.apache.struts.action.ActionForward |
oldSearch(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is used when returning to the original search
page after looking at details of a particular search result. |
org.apache.struts.action.ActionForward |
setup(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class org.apache.struts.actions.DispatchAction |
dispatchMethod, getMethod, unspecified |
Methods inherited from class org.apache.struts.action.Action |
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OntologySearchAction
public OntologySearchAction()
loginRequired
public boolean loginRequired()
- This method returns a boolean value, which determines
if the action is accesseble with or without log in
True = LogIn required to access this page
False = LogIn not required
- Specified by:
loginRequired
in class BaseDispatchAction
- Returns:
setup
public org.apache.struts.action.ActionForward setup(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException,
GeneralException,
AccessDeniedException
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
AccessDeniedException
doReset
public void doReset(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException,
GeneralException,
AccessDeniedException
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
AccessDeniedException
newSearch
public org.apache.struts.action.ActionForward newSearch(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException,
GeneralException,
ObjectNotExistException,
AccessDeniedException
- This method performs the intial search for the
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
ObjectNotExistException
AccessDeniedException
oldSearch
public org.apache.struts.action.ActionForward oldSearch(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException,
GeneralException,
ObjectNotExistException,
AccessDeniedException
- This method is used when returning to the original search
page after looking at details of a particular search result.
It uses values stored in the session at the time of the
original search to reperform the search. Updated/deleted
values should be in the new updated results.
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
ObjectNotExistException
AccessDeniedException