org.enhydra.shark.corba.poa
Class WfProcessIteratorCORBA

java.lang.Object
  extended byorg.omg.PortableServer.Servant
      extended byorg.omg.WorkflowModel.WfProcessIteratorPOA
          extended byorg.enhydra.shark.corba.poa.WfProcessIteratorCORBA
All Implemented Interfaces:
BaseIteratorOperations, org.omg.CORBA.portable.InvokeHandler, WfProcessIteratorOperations

public class WfProcessIteratorCORBA
extends WfProcessIteratorPOA

Iterator for process managers processes.

Version:
1.0
Author:
David Forslund

Constructor Summary
protected WfProcessIteratorCORBA(org.omg.CORBA.ORB orb, Collective toJoin, WfProcessIterator iter)
           
 
Method Summary
 WfProcess[] get_next_n_sequence(int max_number)
           
 WfProcess get_next_object()
           
 WfProcess[] get_previous_n_sequence(int max_number)
           
 WfProcess get_previous_object()
           
 void goto_end()
           
 void goto_start()
           
 int how_many()
           
 NameValue[] names_in_expression()
           
 java.lang.String query_expression()
           
 java.lang.String query_grammar()
           
 void set_names_in_expression(NameValue[] query)
           
 void set_query_expression(java.lang.String query)
          The following names may be used in queries: processDefinitionId, key, name, priority, description, state.
 void set_query_grammar(java.lang.String query_grammmar)
           
 
Methods inherited from class org.omg.WorkflowModel.WfProcessIteratorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WfProcessIteratorCORBA

protected WfProcessIteratorCORBA(org.omg.CORBA.ORB orb,
                                 Collective toJoin,
                                 WfProcessIterator iter)
                          throws BaseException
Method Detail

query_expression

public java.lang.String query_expression()
                                  throws BaseException
Throws:
BaseException

set_query_expression

public void set_query_expression(java.lang.String query)
                          throws BaseException,
                                 InvalidQuery
The following names may be used in queries: processDefinitionId, key, name, priority, description, state. Also the names of process context variables can be used, but the "context_" prefix should be placed before variable Id, i.e. "context_myvariable".

Throws:
BaseException
InvalidQuery

names_in_expression

public NameValue[] names_in_expression()
                                throws BaseException
Throws:
BaseException

set_names_in_expression

public void set_names_in_expression(NameValue[] query)
                             throws BaseException,
                                    NameMismatch
Throws:
BaseException
NameMismatch

query_grammar

public java.lang.String query_grammar()
                               throws BaseException
Throws:
BaseException

set_query_grammar

public void set_query_grammar(java.lang.String query_grammmar)
                       throws BaseException,
                              GrammarNotSupported
Throws:
BaseException
GrammarNotSupported

how_many

public int how_many()
             throws BaseException
Throws:
BaseException

goto_start

public void goto_start()
                throws BaseException
Throws:
BaseException

goto_end

public void goto_end()
              throws BaseException
Throws:
BaseException

get_next_object

public WfProcess get_next_object()
                          throws BaseException
Throws:
BaseException

get_previous_object

public WfProcess get_previous_object()
                              throws BaseException
Throws:
BaseException

get_next_n_sequence

public WfProcess[] get_next_n_sequence(int max_number)
                                throws BaseException
Throws:
BaseException

get_previous_n_sequence

public WfProcess[] get_previous_n_sequence(int max_number)
                                    throws BaseException
Throws:
BaseException