gov.nih.nci.caarray.ui.ontology
Class OntologyDetailAction
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.OntologyDetailAction
public final class OntologyDetailAction
- extends BaseDispatchAction
This Action uses the id value from the intial search page as
passed in the request to perform a new search and provide
more details regarding the specific search result selected
by the user.
- Author:
- bauerd
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 |
org.apache.struts.action.ActionForward |
add(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the results display when returning from an
add or update action |
org.apache.struts.action.ActionForward |
delete(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 |
done(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 |
getDetails(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs a new specific search using the OntologyEntry
id value as provided from the intial search results and
passed in the request by user selection. |
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 |
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 |
OntologyDetailAction
public OntologyDetailAction()
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:
getDetails
public org.apache.struts.action.ActionForward getDetails(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
- Performs a new specific search using the OntologyEntry
id value as provided from the intial search results and
passed in the request by user selection. It populates
the form with more attributes and the passes it to
the display page
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
ObjectNotExistException
add
public org.apache.struts.action.ActionForward add(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
- Handles the results display when returning from an
add or update action
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
ObjectNotExistException
done
public org.apache.struts.action.ActionForward done(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
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
delete
public org.apache.struts.action.ActionForward delete(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,
ObjectNotExistException,
ObjectInUseException
- Parameters:
mapping
- form
- request
- response
-
- Returns:
-
- Throws:
java.io.IOException
javax.servlet.ServletException
GeneralException
AccessDeniedException
ObjectNotExistException
ObjectInUseException