I need to write a code to invoke the 'transferControl' routine and to read the information off the Inbox.. What would me my code in java invoking the 'transferControl' method? pls help im new in java
public class WhatNext
{
//
// this method is invoked by the business logic to determine the
// NextStep and set it in the receipient's Inbox. There is a suggested
// InBox layout design in this code
//
public static void transferControl ( String requestId,
String businessTransactionId,
String transactionStepId,
String selector,
String requesterId)
{
InStorDB theDB = new InStorDB(); // "connect" to the DB
NextStep next = theDB.getNextStep(businessTransactionId,
transactionStepId,
selector);
//
// these 'columns' provide information on the next step to be taken
//
String nextTranId = next.nextBusinessTransactionId;
String nextStepId = next.nextBusinessStepId;
//
// which is then used to obtain the next initiation environment
//
CurrentStep current = theDB.getCurrentStep(nextTranId,
nextStepId);
//
// then used to set up the InBox fields of the recepient
// "to be coded"
//
// and stored in Inbox database
// "to be coded"
}
}