com.openexchange.admin.soap
Class OXTaskMgmt

java.lang.Object
  extended by com.openexchange.admin.soap.OXSOAPRMIMapper
      extended by com.openexchange.admin.soap.OXTaskMgmt
All Implemented Interfaces:
OXTaskMgmtInterface, Remote

public class OXTaskMgmt
extends com.openexchange.admin.soap.OXSOAPRMIMapper
implements OXTaskMgmtInterface

SOAP Service implementing RMI Interface OXTaskMgmtInterface

Author:
choeger

Field Summary
 
Fields inherited from class com.openexchange.admin.soap.OXSOAPRMIMapper
CONNECT_ATTEMPTS_DELAY_TIME, MAX_RMI_CONNECT_ATTEMPTS, RMI_HOSTNAME
 
Fields inherited from interface com.openexchange.admin.rmi.OXTaskMgmtInterface
RMI_NAME
 
Constructor Summary
OXTaskMgmt()
           
 
Method Summary
 void deleteJob(Context ctx, Credentials auth, int i)
           
 void flush(Context ctx, Credentials auth)
           
 String getJobList(Context ctx, Credentials cred)
           
 Object getTaskResults(Context ctx, Credentials cred, int id)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OXTaskMgmt

public OXTaskMgmt()
           throws RemoteException
Throws:
RemoteException
Method Detail

deleteJob

public void deleteJob(Context ctx,
                      Credentials auth,
                      int i)
               throws RemoteException,
                      InvalidDataException,
                      InvalidCredentialsException,
                      StorageException,
                      TaskManagerException
Specified by:
deleteJob in interface OXTaskMgmtInterface
Throws:
RemoteException
InvalidDataException
InvalidCredentialsException
StorageException
TaskManagerException

flush

public void flush(Context ctx,
                  Credentials auth)
           throws RemoteException,
                  InvalidDataException,
                  InvalidCredentialsException,
                  StorageException,
                  TaskManagerException
Specified by:
flush in interface OXTaskMgmtInterface
Throws:
RemoteException
InvalidDataException
InvalidCredentialsException
StorageException
TaskManagerException

getJobList

public String getJobList(Context ctx,
                         Credentials cred)
                  throws RemoteException,
                         InvalidDataException,
                         InvalidCredentialsException,
                         StorageException
Specified by:
getJobList in interface OXTaskMgmtInterface
Throws:
RemoteException
InvalidDataException
InvalidCredentialsException
StorageException

getTaskResults

public Object getTaskResults(Context ctx,
                             Credentials cred,
                             int id)
                      throws RemoteException,
                             InvalidCredentialsException,
                             StorageException,
                             InterruptedException,
                             ExecutionException,
                             InvalidDataException
Specified by:
getTaskResults in interface OXTaskMgmtInterface
Throws:
RemoteException
InvalidCredentialsException
StorageException
InterruptedException
ExecutionException
InvalidDataException