org.enhydra.shark.api.internal.working
Interface WfExecutionObjectInternal

All Superinterfaces:
PersistenceInterface
All Known Subinterfaces:
WfActivityInternal, WfProcessInternal

public interface WfExecutionObjectInternal
extends PersistenceInterface


Method Summary
 void abort(WMSessionHandle shandle)
           
 void calculateLimit(WMSessionHandle shandle)
           
 java.lang.String description(WMSessionHandle shandle)
           
 java.util.Map getContext(WMSessionHandle shandle)
           
 long getCreationTime(WMSessionHandle shandle)
           
 long getLimitTime(WMSessionHandle shandle)
           
 long getStartTime(WMSessionHandle shandle)
           
 java.lang.String key(WMSessionHandle shandle)
           
 UtcT last_state_time(WMSessionHandle shandle)
           
 java.lang.String name(WMSessionHandle shandle)
           
 short priority(WMSessionHandle shandle)
           
 java.util.Map process_context(WMSessionHandle shandle)
           
 void resume(WMSessionHandle shandle)
           
 void set_description(WMSessionHandle shandle, java.lang.String new_value)
           
 void set_name(WMSessionHandle shandle, java.lang.String new_value)
           
 void set_priority(WMSessionHandle shandle, short new_value)
           
 void set_process_context(WMSessionHandle shandle, java.util.Map new_value)
           
 java.lang.String state(WMSessionHandle shandle)
           
 void suspend(WMSessionHandle shandle)
           
 void terminate(WMSessionHandle shandle)
           
 
Methods inherited from interface org.enhydra.shark.api.internal.working.PersistenceInterface
delete, persist
 

Method Detail

state

java.lang.String state(WMSessionHandle shandle)
                       throws java.lang.Exception
Throws:
java.lang.Exception

name

java.lang.String name(WMSessionHandle shandle)
                      throws java.lang.Exception
Throws:
java.lang.Exception

set_name

void set_name(WMSessionHandle shandle,
              java.lang.String new_value)
              throws java.lang.Exception
Throws:
java.lang.Exception

key

java.lang.String key(WMSessionHandle shandle)
                     throws java.lang.Exception
Throws:
java.lang.Exception

description

java.lang.String description(WMSessionHandle shandle)
                             throws java.lang.Exception
Throws:
java.lang.Exception

set_description

void set_description(WMSessionHandle shandle,
                     java.lang.String new_value)
                     throws java.lang.Exception
Throws:
java.lang.Exception

process_context

java.util.Map process_context(WMSessionHandle shandle)
                              throws java.lang.Exception
Throws:
java.lang.Exception

set_process_context

void set_process_context(WMSessionHandle shandle,
                         java.util.Map new_value)
                         throws java.lang.Exception,
                                InvalidData,
                                UpdateNotAllowed
Throws:
java.lang.Exception
InvalidData
UpdateNotAllowed

priority

short priority(WMSessionHandle shandle)
               throws java.lang.Exception
Throws:
java.lang.Exception

set_priority

void set_priority(WMSessionHandle shandle,
                  short new_value)
                  throws java.lang.Exception
Throws:
java.lang.Exception

resume

void resume(WMSessionHandle shandle)
            throws java.lang.Exception,
                   CannotResume,
                   NotSuspended
Throws:
java.lang.Exception
CannotResume
NotSuspended

suspend

void suspend(WMSessionHandle shandle)
             throws java.lang.Exception,
                    CannotSuspend,
                    NotRunning,
                    AlreadySuspended
Throws:
java.lang.Exception
CannotSuspend
NotRunning
AlreadySuspended

terminate

void terminate(WMSessionHandle shandle)
               throws java.lang.Exception,
                      CannotStop,
                      NotRunning
Throws:
java.lang.Exception
CannotStop
NotRunning

abort

void abort(WMSessionHandle shandle)
           throws java.lang.Exception,
                  CannotStop,
                  NotRunning
Throws:
java.lang.Exception
CannotStop
NotRunning

last_state_time

UtcT last_state_time(WMSessionHandle shandle)
                     throws java.lang.Exception
Throws:
java.lang.Exception

calculateLimit

void calculateLimit(WMSessionHandle shandle)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getCreationTime

long getCreationTime(WMSessionHandle shandle)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getStartTime

long getStartTime(WMSessionHandle shandle)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getLimitTime

long getLimitTime(WMSessionHandle shandle)
                  throws java.lang.Exception
Throws:
java.lang.Exception

getContext

java.util.Map getContext(WMSessionHandle shandle)
                         throws java.lang.Exception
Throws:
java.lang.Exception