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.1" from WorkflowService.idl Friday, May 18, 2007 2:02:07 PM CEST


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

public 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

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

getResourceObject

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

get_iterator_processmgr

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

get_sequence_processmgr

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

get_iterator_resource

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

get_sequence_resource

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

getProcessMgr

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

getProcessMgrByXPDLDefinition

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

getResource

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

getProcess

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

getActivity

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

getAssignment

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

getAssignmentById

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

get_iterator_assignment

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

get_iterator_process

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

get_iterator_activity

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

createProcess

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

createProcessWithRequester

public 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

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

getCreateProcessHistory

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

getProcessSequenceDataHistory

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

getProcessSequenceStateHistory

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

getActivitySequenceDataHistory

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

getActivitySequenceStateHistory

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

getSequenceAssignmentHistory

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

doneWith

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

shutdown

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