Class PDSAction
java.lang.Object
org.apache.struts.action.Action
ecmwf.web.controller.ECMWFAction
ecmwf.ecpds.master.plugin.http.controller.PDSAction
- Direct Known Subclasses:
AdminFormAction
,AssociationsAction
,CleanDataWindowAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteFormAction
,DeleteTransfersAction
,DeleteUnsuccessfulTransfersAction
,DetailerAction
,FilterAction
,GetArrivalDisplayAction
,GetCategoryAction
,GetCountryAction
,GetDataFileAction
,GetDataFileSetupAction
,GetDataTransferAction
,GetDestinationAction
,GetDestinationMetaDataAction
,GetEcTransModuleAction
,GetHostAction
,GetImageAction
,GetIncomingHistoryAction
,GetIncomingPolicyAction
,GetIncomingUserAction
,GetMetaDataAction
,GetOutputAction
,GetReportAction
,GetReportAction
,GetResourceAction
,GetSummaryDisplayAction
,GetTimelineDisplayAction
,GetTopLevelDisplayAction
,GetTransferDisplayAction
,GetTransferGroupAction
,GetTransferHistoryAction
,GetTransferMethodAction
,GetTransferServerAction
,GetTransferSetupAction
,GetUnSuccessfulTransfersAction
,GetUserAction
,GetUserEventsAction
,GetUserSetupAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,InsertFormAction
,OperationsAction
,RatesAction
,RequeueUnsuccessfulTransfersAction
,ResetStatisticsAction
,ScheduleNowAction
,StartAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UpdateFormAction
,UploadAction
public abstract class PDSAction
extends ecmwf.web.controller.ECMWFAction
The Class PDSAction.
-
Field Summary
FieldsFields inherited from class ecmwf.web.controller.ECMWFAction
EXCEPTION_KEY, PATH_PARAMETERS_KEY, RETURN_AFTER_ERROR_KEY
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Collection
<String> getDateOptions
(int daysBack, boolean all) Gets the date options.static final SimpleDateFormat
Gets the ISO format.boolean
Match.abstract org.apache.struts.action.ActionForward
safeAuthorizedPerform
(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ecmwf.web.model.users.User user) Safe authorized perform.org.apache.struts.action.ActionForward
safePerform
(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Do authorization check and delegate to child class implementing the abstract method.Collection
<ecmwf.web.model.ModelBean> search
(Collection<? extends ecmwf.web.model.ModelBean> c, String search) Search.Methods inherited from class ecmwf.web.controller.ECMWFAction
checkTimeTaken, execute, getResource, getUser, getUserCommonName, getUserOldStyle, getUserUid, processParameterEnsuringBasePath
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, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Field Details
-
RETURN_AFTER_LOGIN_KEY
-
-
Constructor Details
-
PDSAction
public PDSAction()
-
-
Method Details
-
safePerform
public org.apache.struts.action.ActionForward safePerform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ecmwf.web.ECMWFException, ClassCastException Do authorization check and delegate to child class implementing the abstract method.- Specified by:
safePerform
in classecmwf.web.controller.ECMWFAction
- Throws:
ecmwf.web.ECMWFException
ClassCastException
-
safeAuthorizedPerform
public abstract org.apache.struts.action.ActionForward safeAuthorizedPerform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ecmwf.web.model.users.User user) throws ecmwf.web.ECMWFException, ClassCastException Safe authorized perform.- Parameters:
mapping
- the mappingform
- the formrequest
- the requestresponse
- the responseuser
- the user- Returns:
- the action forward
- Throws:
ecmwf.web.ECMWFException
- the ECMWF exceptionClassCastException
- the class cast exception
-
getDateOptions
Gets the date options.- Parameters:
daysBack
- the days backall
- the all- Returns:
- the date options
-
getISOFormat
-
search
public Collection<ecmwf.web.model.ModelBean> search(Collection<? extends ecmwf.web.model.ModelBean> c, String search) Search.- Parameters:
c
- the csearch
- the search- Returns:
- the collection
-
match
Match.- Parameters:
b
- the bwhat
- the what- Returns:
- true, if successful
-