org.gcube.datatransfer.portlets.user.server
Class SchedulerServiceImpl

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.gcube.datatransfer.portlets.user.server.SchedulerServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, SchedulerService

public class SchedulerServiceImpl
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements SchedulerService

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
SchedulerServiceImpl()
           
 
Method Summary
 String cancel(String scope, String resourceName, String transferId, boolean force)
           
 String getAgentStatistics(String scope)
           
 String getFileListOfDataSource(String dataSourceId, String specificPath, String scope, String resourceName)
           
 String getObjectsFromIS(String type, String scope, String resourceName)
           
 String getOutcomes(String scope, String resourceName, String transferId)
           
 String getTransfers(String scope, String resourceName)
           
 String getUserAndScope()
           
 String getWorkspace(String username)
           
 String getWorkspaceFolder(String serializedWorkspaceInfo, String folderId, boolean needTheParent)
           
 void init()
           
 String listFiles(String input)
           
 String monitor(String scope, String resourceName, String transferId)
           
 String schedule(String Obj)
           
 
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, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerServiceImpl

public SchedulerServiceImpl()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

listFiles

public String listFiles(String input)
                 throws IllegalArgumentException
Specified by:
listFiles in interface SchedulerService
Throws:
IllegalArgumentException

getTransfers

public String getTransfers(String scope,
                           String resourceName)
                    throws IllegalArgumentException
Specified by:
getTransfers in interface SchedulerService
Throws:
IllegalArgumentException

schedule

public String schedule(String Obj)
                throws IllegalArgumentException
Specified by:
schedule in interface SchedulerService
Throws:
IllegalArgumentException

monitor

public String monitor(String scope,
                      String resourceName,
                      String transferId)
               throws IllegalArgumentException
Specified by:
monitor in interface SchedulerService
Throws:
IllegalArgumentException

getOutcomes

public String getOutcomes(String scope,
                          String resourceName,
                          String transferId)
                   throws IllegalArgumentException
Specified by:
getOutcomes in interface SchedulerService
Throws:
IllegalArgumentException

cancel

public String cancel(String scope,
                     String resourceName,
                     String transferId,
                     boolean force)
              throws IllegalArgumentException
Specified by:
cancel in interface SchedulerService
Throws:
IllegalArgumentException

getObjectsFromIS

public String getObjectsFromIS(String type,
                               String scope,
                               String resourceName)
                        throws IllegalArgumentException
Specified by:
getObjectsFromIS in interface SchedulerService
Throws:
IllegalArgumentException

getFileListOfDataSource

public String getFileListOfDataSource(String dataSourceId,
                                      String specificPath,
                                      String scope,
                                      String resourceName)
Specified by:
getFileListOfDataSource in interface SchedulerService

getUserAndScope

public String getUserAndScope()
Specified by:
getUserAndScope in interface SchedulerService

getWorkspace

public String getWorkspace(String username)
Specified by:
getWorkspace in interface SchedulerService

getWorkspaceFolder

public String getWorkspaceFolder(String serializedWorkspaceInfo,
                                 String folderId,
                                 boolean needTheParent)
                          throws IllegalArgumentException
Specified by:
getWorkspaceFolder in interface SchedulerService
Throws:
IllegalArgumentException

getAgentStatistics

public String getAgentStatistics(String scope)
Specified by:
getAgentStatistics in interface SchedulerService


Copyright © 2013. All Rights Reserved.