org.enhydra.shark.corba.WorkflowService
Interface SharkConnectionOperations

All Known Subinterfaces:
SharkConnection
All Known Implementing Classes:
_SharkConnectionImplBase, _SharkConnectionStub, SharkConnectionPOA

public interface SharkConnectionOperations

org/enhydra/shark/corba/WorkflowService/SharkConnectionOperations.java . Generated by the IDL-to-Java compiler (portable), version "3.2" from WorkflowService.idl Monday, December 24, 2007 5:43:50 PM CET


Method Summary
 void connect(java.lang.String userId, java.lang.String password, java.lang.String engineName, java.lang.String scope)
           
 WfProcess createProcess(java.lang.String pkgId, java.lang.String pDefId)
           
 WfProcess createProcessWithRequester(WfRequester requester, java.lang.String pkgId, java.lang.String pDefId)
           
 void disconnect()
           
 void doneWith(org.omg.CORBA.Object toDisconnect)
           
 WfActivityIterator get_iterator_activity()
           
 WfAssignmentIterator get_iterator_assignment()
           
 WfProcessIterator get_iterator_process()
           
 WfProcessMgrIterator get_iterator_processmgr()
           
 WfResourceIterator get_iterator_resource()
           
 WfProcessMgr[] get_sequence_processmgr(int max_number)
           
 WfResource[] get_sequence_resource(int max_number)
           
 WfActivity getActivity(java.lang.String procId, java.lang.String actId)
           
 WfDataEventAudit[] getActivitySequenceDataHistory(java.lang.String procId, java.lang.String actId, int max_number)
           
 WfStateEventAudit[] getActivitySequenceStateHistory(java.lang.String procId, java.lang.String actId, int max_number)
           
 WfAssignment getAssignment(java.lang.String procId, java.lang.String actId, java.lang.String username)
           
 WfAssignment getAssignmentById(java.lang.String procId, java.lang.String assId)
           
 WfCreateProcessEventAudit getCreateProcessHistory(java.lang.String procId)
           
 WfProcess getProcess(java.lang.String procId)
           
 WfProcessMgr getProcessMgr(java.lang.String name)
           
 WfProcessMgr getProcessMgrByXPDLDefinition(java.lang.String pkgId, java.lang.String pDefId)
           
 WfDataEventAudit[] getProcessSequenceDataHistory(java.lang.String procId, int max_number)
           
 WfStateEventAudit[] getProcessSequenceStateHistory(java.lang.String procId, int max_number)
           
 WfResource getResource(java.lang.String username)
           
 WfResource getResourceObject()
           
 WfAssignmentEventAudit[] getSequenceAssignmentHistory(java.lang.String procId, java.lang.String actId, int max_number)
           
 void removeProcessRequester(java.lang.String procId)
           
 void shutdown()
           
 

Method Detail

connect

void connect(java.lang.String userId,
             java.lang.String password,
             java.lang.String engineName,
             java.lang.String scope)
             throws BaseException,
                    ConnectFailed
Throws:
BaseException
ConnectFailed

disconnect

void disconnect()
                throws BaseException,
                       NotConnected
Throws:
BaseException
NotConnected

getResourceObject

WfResource getResourceObject()
                             throws BaseException,
                                    NotConnected
Throws:
BaseException
NotConnected

get_iterator_processmgr

WfProcessMgrIterator get_iterator_processmgr()
                                             throws BaseException,
                                                    NotConnected
Throws:
BaseException
NotConnected

get_sequence_processmgr

WfProcessMgr[] get_sequence_processmgr(int max_number)
                                       throws BaseException,
                                              NotConnected
Throws:
BaseException
NotConnected

get_iterator_resource

WfResourceIterator get_iterator_resource()
                                         throws BaseException,
                                                NotConnected
Throws:
BaseException
NotConnected

get_sequence_resource

WfResource[] get_sequence_resource(int max_number)
                                   throws BaseException,
                                          NotConnected
Throws:
BaseException
NotConnected

getProcessMgr

WfProcessMgr getProcessMgr(java.lang.String name)
                           throws BaseException,
                                  NotConnected
Throws:
BaseException
NotConnected

getProcessMgrByXPDLDefinition

WfProcessMgr getProcessMgrByXPDLDefinition(java.lang.String pkgId,
                                           java.lang.String pDefId)
                                           throws BaseException,
                                                  NotConnected
Throws:
BaseException
NotConnected

getResource

WfResource getResource(java.lang.String username)
                       throws BaseException,
                              NotConnected
Throws:
BaseException
NotConnected

getProcess

WfProcess getProcess(java.lang.String procId)
                     throws BaseException,
                            NotConnected
Throws:
BaseException
NotConnected

getActivity

WfActivity getActivity(java.lang.String procId,
                       java.lang.String actId)
                       throws BaseException,
                              NotConnected
Throws:
BaseException
NotConnected

getAssignment

WfAssignment getAssignment(java.lang.String procId,
                           java.lang.String actId,
                           java.lang.String username)
                           throws BaseException,
                                  NotConnected
Throws:
BaseException
NotConnected

getAssignmentById

WfAssignment getAssignmentById(java.lang.String procId,
                               java.lang.String assId)
                               throws BaseException,
                                      NotConnected
Throws:
BaseException
NotConnected

get_iterator_assignment

WfAssignmentIterator get_iterator_assignment()
                                             throws BaseException,
                                                    NotConnected
Throws:
BaseException
NotConnected

get_iterator_process

WfProcessIterator get_iterator_process()
                                       throws BaseException,
                                              NotConnected
Throws:
BaseException
NotConnected

get_iterator_activity

WfActivityIterator get_iterator_activity()
                                         throws BaseException,
                                                NotConnected
Throws:
BaseException
NotConnected

createProcess

WfProcess createProcess(java.lang.String pkgId,
                        java.lang.String pDefId)
                        throws BaseException,
                               NotConnected,
                               NotEnabled
Throws:
BaseException
NotConnected
NotEnabled

createProcessWithRequester

WfProcess createProcessWithRequester(WfRequester requester,
                                     java.lang.String pkgId,
                                     java.lang.String pDefId)
                                     throws BaseException,
                                            NotConnected,
                                            NotEnabled,
                                            InvalidRequester,
                                            RequesterRequired
Throws:
BaseException
NotConnected
NotEnabled
InvalidRequester
RequesterRequired

removeProcessRequester

void removeProcessRequester(java.lang.String procId)
                            throws BaseException,
                                   NotConnected
Throws:
BaseException
NotConnected

getCreateProcessHistory

WfCreateProcessEventAudit getCreateProcessHistory(java.lang.String procId)
                                                  throws BaseException,
                                                         NotConnected
Throws:
BaseException
NotConnected

getProcessSequenceDataHistory

WfDataEventAudit[] getProcessSequenceDataHistory(java.lang.String procId,
                                                 int max_number)
                                                 throws BaseException,
                                                        NotConnected
Throws:
BaseException
NotConnected

getProcessSequenceStateHistory

WfStateEventAudit[] getProcessSequenceStateHistory(java.lang.String procId,
                                                   int max_number)
                                                   throws BaseException,
                                                          NotConnected
Throws:
BaseException
NotConnected

getActivitySequenceDataHistory

WfDataEventAudit[] getActivitySequenceDataHistory(java.lang.String procId,
                                                  java.lang.String actId,
                                                  int max_number)
                                                  throws BaseException,
                                                         NotConnected
Throws:
BaseException
NotConnected

getActivitySequenceStateHistory

WfStateEventAudit[] getActivitySequenceStateHistory(java.lang.String procId,
                                                    java.lang.String actId,
                                                    int max_number)
                                                    throws BaseException,
                                                           NotConnected
Throws:
BaseException
NotConnected

getSequenceAssignmentHistory

WfAssignmentEventAudit[] getSequenceAssignmentHistory(java.lang.String procId,
                                                      java.lang.String actId,
                                                      int max_number)
                                                      throws BaseException,
                                                             NotConnected
Throws:
BaseException
NotConnected

doneWith

void doneWith(org.omg.CORBA.Object toDisconnect)

shutdown

void shutdown()
              throws BaseException,
                     NotConnected
Throws:
BaseException
NotConnected