|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.figure8.join.control.JoinAction org.figure8.join.control.action.DeliverableActions
public class DeliverableActions
This is a Struts action for managing all the deliverables within Join.
Field Summary | |
---|---|
protected ArtifactManager |
artifactManager
The artifact manager implementation to use. |
static java.lang.String |
CREATE_OP
Operation code for creating a new Deliverable |
static java.lang.String |
DELIVERABLE_KEY
The session scope attribute under which the Deliverable object currently selected by our logged-in User is stored. |
static java.lang.String |
DELIVERABLES_KEY
The request scope attribute under which the retrivied deliverables list is stored. |
static java.lang.String |
DETAILS_OP
Operation code for getting details on a specific Deliverable |
static java.lang.String |
DUPLICATE_DELIVERABLE_KEY
The request scope attribute under which is stored the Deliverable that has raised a DuplicateEntityException during save of another one. |
static java.lang.String |
FORM_OP
Operation code fo showing the delivery form |
static java.lang.String |
LOAD_OP
Operation code for loading a specific Deliverable |
protected IntegrationProcessManager |
processManager
The integration process manager implementation to use. |
static java.lang.String |
SAVE_OP
Operation code for saving a Deliverable |
static java.lang.String |
SEARCH_OP
Operation code for searching deliverables using type and release |
Fields inherited from class org.figure8.join.control.JoinAction |
---|
BODY_ATTRIBUTE, BODY_PARAMETER, EXCEPTION_KEY, GUI_KEY, OP_PARAMETER, REND_MAIN, REND_NONE, REND_PARAMETER, REND_POPUP, XHR_PARAMETER |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
DeliverableActions()
Creates a new instance of DeliverableActions. |
Method Summary | |
---|---|
protected org.apache.struts.action.ActionForward |
createDeliverable(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Create and register a new Deliverable within Join application. |
org.apache.struts.action.ActionForward |
doExecute(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Abstract method that subclasses must implement. |
protected org.apache.struts.action.ActionForward |
getDeliverableDetails(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get all the details onto an existing Deliverable. |
protected org.apache.struts.action.ActionForward |
loadDeliverable(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Load a specified deliverable from datastore and fill form with it. |
protected org.apache.struts.action.ActionForward |
saveDeliverable(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Update a deliverable informations into datastore. |
protected org.apache.struts.action.ActionForward |
searchDeliverables(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Serch all the deliverables using the type and the bound release criteria. |
void |
setArtifactManager(ArtifactManager manager)
|
void |
setIntegrationProcessManager(IntegrationProcessManager manager)
|
protected org.apache.struts.action.ActionForward |
showDeliverableForm(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Prepare all we need for displaying a delivery form |
Methods inherited from class org.figure8.join.control.JoinAction |
---|
execute, getUserContainer, isLoggedIn, isXhrRequest, removeObsoleteForm |
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 |
Field Detail |
---|
public static final java.lang.String LOAD_OP
public static final java.lang.String FORM_OP
public static final java.lang.String SAVE_OP
public static final java.lang.String CREATE_OP
public static final java.lang.String SEARCH_OP
public static final java.lang.String DETAILS_OP
public static final java.lang.String DELIVERABLE_KEY
public static final java.lang.String DELIVERABLES_KEY
public static final java.lang.String DUPLICATE_DELIVERABLE_KEY
protected ArtifactManager artifactManager
protected IntegrationProcessManager processManager
Constructor Detail |
---|
public DeliverableActions()
Method Detail |
---|
public void setArtifactManager(ArtifactManager manager)
manager
- The ArtifactManager implementation to usepublic void setIntegrationProcessManager(IntegrationProcessManager manager)
manager
- The integration process manager implementation to usepublic org.apache.struts.action.ActionForward doExecute(java.lang.String operation, 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
JoinAction
doExecute
in class JoinAction
operation
- String representing the operation to invoke on Actionmapping
- Mapping between forwards name and path for this actionform
- The form object containing request parametersrequest
- The servlet container request wrapperresponse
- The servlet container response wrapper
java.lang.Exception
- such as InfraStructureExceptions ...protected org.apache.struts.action.ActionForward loadDeliverable(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
java.lang.Exception
protected org.apache.struts.action.ActionForward showDeliverableForm(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
java.lang.Exception
protected org.apache.struts.action.ActionForward saveDeliverable(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
java.lang.Exception
protected org.apache.struts.action.ActionForward createDeliverable(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
java.lang.Exception
protected org.apache.struts.action.ActionForward searchDeliverables(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
java.lang.Exception
protected org.apache.struts.action.ActionForward getDeliverableDetails(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
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |