Ontimize 5.2072EN

com.ontimize.util.operation
Interface RemoteOperationManager

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
AbstractRemoteOperationManager

public interface RemoteOperationManager
extends java.rmi.Remote

Since:
5.2008
Author:
Imatia Innovation S.L.

Field Summary
static int FINISHED
           
static int RUNNING
           
static int UNKNOWN
           
static int WAITING
           
static int WAITING_REQUIRED
           
 
Method Summary
 void cancel(java.lang.String token, int sessionId)
           
 java.util.Hashtable getCurrentExecutionInformation(java.lang.String token, int sessionId)
           
 java.util.HashMap getRequired(java.lang.String token, int sessionId)
           
 java.util.Hashtable getResult(java.lang.String token, int sessionId)
           
 int getStatus(java.lang.String token, int sessionId)
           
 boolean hasRequired(java.lang.String token, int sessionId)
           
 boolean isFinished(java.lang.String token, int sessionId)
           
 java.lang.String run(java.lang.String clase, java.util.HashMap parameters, int sessionId)
           
 void setRequired(java.lang.String token, java.util.HashMap required, int sessionId)
           
 

Field Detail

WAITING

public static final int WAITING
See Also:
Constant Field Values

WAITING_REQUIRED

public static final int WAITING_REQUIRED
See Also:
Constant Field Values

RUNNING

public static final int RUNNING
See Also:
Constant Field Values

FINISHED

public static final int FINISHED
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values
Method Detail

run

public java.lang.String run(java.lang.String clase,
                            java.util.HashMap parameters,
                            int sessionId)
                     throws java.lang.Exception
Throws:
java.lang.Exception

hasRequired

public boolean hasRequired(java.lang.String token,
                           int sessionId)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getRequired

public java.util.HashMap getRequired(java.lang.String token,
                                     int sessionId)
                              throws java.lang.Exception
Throws:
java.lang.Exception

setRequired

public void setRequired(java.lang.String token,
                        java.util.HashMap required,
                        int sessionId)
                 throws java.lang.Exception
Throws:
java.lang.Exception

cancel

public void cancel(java.lang.String token,
                   int sessionId)
            throws java.lang.Exception
Throws:
java.lang.Exception

isFinished

public boolean isFinished(java.lang.String token,
                          int sessionId)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getResult

public java.util.Hashtable getResult(java.lang.String token,
                                     int sessionId)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getStatus

public int getStatus(java.lang.String token,
                     int sessionId)
              throws java.lang.Exception
Throws:
java.lang.Exception

getCurrentExecutionInformation

public java.util.Hashtable getCurrentExecutionInformation(java.lang.String token,
                                                          int sessionId)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

Ontimize