|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.IRBootstrapperServiceImpl
public class IRBootstrapperServiceImpl
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
perThreadRequest, perThreadResponse |
| Constructor Summary | |
|---|---|
IRBootstrapperServiceImpl()
Class constructor |
|
| Method Summary | |
|---|---|
void |
cancelSubmittedJob(String jobUID)
A method to cancel a submitted job. |
void |
deleteJob(JobUIElement job)
A method to delete an existing |
List<JobTypeUIElement> |
getAllJobsPerJobType()
A method to get all the jobs available per each job type |
JobAutoCompleteData |
getAutoCompleteData()
A method to retrieve auto-complete data for all the available jobs |
List<ResourceTypeUIElement> |
getJobs()
A method to get all the jobs available for each resource |
JobUIElement |
getSubmittedJobByUID(String jobUID)
A method to get a submitted job, given its UID. |
List<ResourceTypeUIElement> |
getSubmittedJobs()
A method to get all the submitted jobs available for each resource |
void |
initialize()
This method performs initialization tasks (such as parsing the IRBootstrapepr configuration in the current scope) and must be invoked when the portlet is initialized. |
List<ResourceTypeUIElement> |
refreshAndGetJobs()
A method to refresh the list of available jobs for each resource and retrieve it |
void |
removeSubmittedJob(String jobUID)
A method to remove a submitted job. |
String |
saveJob(JobUIElement job)
A method to save a new or modified job |
String |
submitJobForExecution(String jobUID,
Map<String,String> userInputs)
A method to submit a job for execution. |
String |
submitJobsForBatchExecution(ArrayList<String> jobsUIDs,
Map<String,String> userInputs)
|
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
|---|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IRBootstrapperServiceImpl()
| Method Detail |
|---|
public void initialize()
throws Exception
IRBootstrapperService
initialize in interface IRBootstrapperServiceException - Server side exception as dictated by GWTs RPC framework
public List<ResourceTypeUIElement> getJobs()
throws Exception
IRBootstrapperService
getJobs in interface IRBootstrapperServiceException - Server side exception as dictated by GWTs RPC framework
public List<ResourceTypeUIElement> refreshAndGetJobs()
throws Exception
IRBootstrapperService
refreshAndGetJobs in interface IRBootstrapperServiceException - Server side exception as dictated by GWTs RPC framework
public List<ResourceTypeUIElement> getSubmittedJobs()
throws Exception
IRBootstrapperService
getSubmittedJobs in interface IRBootstrapperServiceException - Server side exception as dictated by GWTs RPC framework
public JobUIElement getSubmittedJobByUID(String jobUID)
throws Exception
IRBootstrapperService
getSubmittedJobByUID in interface IRBootstrapperServiceException - Server side exception as dictated by GWTs RPC framework
public String submitJobForExecution(String jobUID,
Map<String,String> userInputs)
throws Exception
IRBootstrapperService
submitJobForExecution in interface IRBootstrapperServicejobUID - the UID of the job to submit for execution
Exception
public String submitJobsForBatchExecution(ArrayList<String> jobsUIDs,
Map<String,String> userInputs)
throws Exception
submitJobsForBatchExecution in interface IRBootstrapperServiceException
public void cancelSubmittedJob(String jobUID)
throws Exception
IRBootstrapperService
cancelSubmittedJob in interface IRBootstrapperServicejobUID - the UID of the job to cancel
Exception
public void removeSubmittedJob(String jobUID)
throws Exception
IRBootstrapperService
removeSubmittedJob in interface IRBootstrapperServicejobUID - the UID of the job to remove
Exception
public List<JobTypeUIElement> getAllJobsPerJobType()
throws Exception
IRBootstrapperService
getAllJobsPerJobType in interface IRBootstrapperServiceException - Server side exception as dictated by GWTs RPC framework
public String saveJob(JobUIElement job)
throws Exception
IRBootstrapperService
saveJob in interface IRBootstrapperServicejob - the job to save
Exception - Server side exception as dictated by GWTs RPC framework
public void deleteJob(JobUIElement job)
throws Exception
IRBootstrapperService
deleteJob in interface IRBootstrapperServicejob - the job to delete
Exception - Server side exception as dictated by GWTs RPC framework
public JobAutoCompleteData getAutoCompleteData()
throws Exception
IRBootstrapperService
getAutoCompleteData in interface IRBootstrapperServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||