com.ibm.etill.framework.supervisor
Class FrameworkSupervisor

java.lang.Object
  |
  +--com.ibm.etill.framework.supervisor.FrameworkSupervisor

public final synchronized class FrameworkSupervisor
extends Object


Field Summary
static Vector allComPoints
           
 
Constructor Summary
FrameworkSupervisor()
           
 
Method Summary
static Enumeration activeCassettes()
           
static Vector batchesForAccount(String)
           
static Vector batchesForAccount(String, String)
           
static Hashtable batchesForAccount(String, String, String)
           
static Cassette cassette(String)
           
static FrameworkBatch createBatch(String, String, String)
           
static FrameworkBatch createBatch(String, String, String, String, ParameterTable)
           
static CassetteBatch createCassetteBatch(Batch, ParameterTable)
           
static CassetteTransaction createCassetteCredit(Credit, ParameterTable)
           
static CassetteOrder createCassetteOrder(FrameworkOrder, ParameterTable)
           
static CassetteTransaction createCassettePayment(Payment, ParameterTable)
           
static Credit createCredit(FrameworkOrder, String, Amount, ParameterTable)
           
static FrameworkOrder createOrder(String, String, String, String, String, String, byte[], String, boolean, String, String, String, String, String, int, String, String, boolean, boolean, String, ParameterTable, String, String, String, String, byte[], byte[])
           
static Payment createPayment(FrameworkOrder, String, Amount, ParameterTable)
           
static Timestamp getTimestamp(long)
           
static String getUniqueKey()
           
static void handleCassetteInitializationException(Cassette, Exception)
           
static void handleCassetteRuntimeException(Cassette, Exception)
           
static void handleRuntimeError(ETillRuntimeException)
           
static void initializeOpenBatch(BatchKey, FrameworkBatch)
           
static Enumeration installedCassettes()
           
static void releaseBatch(FrameworkBatch)
           
static void releaseCassette(String)
           
static void releaseOrder(FrameworkOrder)
           
static void removeAllWorkItems(Cassette)
           
static void removeAsynchronousApproveWorkItems(String, Enumeration)
           
static void removeBatch(FrameworkBatch)
           
static void removeOrder(FrameworkOrder)
           
static CassetteBatch resurrectCassetteBatch(Batch)
           
static CassetteTransaction resurrectCassetteCredit(Credit)
           
static CassetteOrder resurrectCassetteOrder(FrameworkOrder)
           
static CassetteTransaction resurrectCassettePayment(Payment)
           
static FrameworkBatch retrieveBatch(String, String)
           
static FrameworkOrder retrieveOrder(String, String, boolean)
           
static void scheduleApprovalExpiration(FrameworkCassetteAdmin, boolean)
           
static void scheduleAsynchronousApprove(FrameworkOrder, Cassette, ParameterTable, ParameterTable)
           
static void setApprovalExpirationDelayTimeInMins(long)
           
static void systemShutdown()
           
static void validateDependencies(Batch)
           
static void validateDependencies(Order)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allComPoints

public static Vector allComPoints
Constructor Detail

FrameworkSupervisor

public FrameworkSupervisor()
Method Detail

retrieveOrder

public static FrameworkOrder retrieveOrder(String,
                                           String,
                                           boolean)
                                    throws ETillAbortOperation

releaseOrder

public static void releaseOrder(FrameworkOrder)

removeOrder

public static void removeOrder(FrameworkOrder)

createOrder

public static FrameworkOrder createOrder(String,
                                         String,
                                         String,
                                         String,
                                         String,
                                         String,
                                         byte[],
                                         String,
                                         boolean,
                                         String,
                                         String,
                                         String,
                                         String,
                                         String,
                                         int,
                                         String,
                                         String,
                                         boolean,
                                         boolean,
                                         String,
                                         ParameterTable,
                                         String,
                                         String,
                                         String,
                                         String,
                                         byte[],
                                         byte[])
                                  throws ETillAbortOperation

createPayment

public static Payment createPayment(FrameworkOrder,
                                    String,
                                    Amount,
                                    ParameterTable)
                             throws ETillAbortOperation

createCredit

public static Credit createCredit(FrameworkOrder,
                                  String,
                                  Amount,
                                  ParameterTable)
                           throws ETillAbortOperation

releaseCassette

public static void releaseCassette(String)

cassette

public static Cassette cassette(String)
                         throws ETillAbortOperation

installedCassettes

public static Enumeration installedCassettes()

activeCassettes

public static Enumeration activeCassettes()

handleCassetteInitializationException

public static void handleCassetteInitializationException(Cassette,
                                                         Exception)

handleCassetteRuntimeException

public static void handleCassetteRuntimeException(Cassette,
                                                  Exception)
                                           throws ETillAbortOperation

createCassetteOrder

public static CassetteOrder createCassetteOrder(FrameworkOrder,
                                                ParameterTable)
                                         throws ETillAbortOperation

resurrectCassetteOrder

public static CassetteOrder resurrectCassetteOrder(FrameworkOrder)
                                            throws ETillAbortOperation

createCassettePayment

public static CassetteTransaction createCassettePayment(Payment,
                                                        ParameterTable)
                                                 throws ETillAbortOperation

resurrectCassettePayment

public static CassetteTransaction resurrectCassettePayment(Payment)
                                                    throws ETillAbortOperation

createCassetteCredit

public static CassetteTransaction createCassetteCredit(Credit,
                                                       ParameterTable)
                                                throws ETillAbortOperation

resurrectCassetteCredit

public static CassetteTransaction resurrectCassetteCredit(Credit)
                                                   throws ETillAbortOperation

initializeOpenBatch

public static void initializeOpenBatch(BatchKey,
                                       FrameworkBatch)

retrieveBatch

public static FrameworkBatch retrieveBatch(String,
                                           String)
                                    throws ETillAbortOperation

releaseBatch

public static void releaseBatch(FrameworkBatch)

removeBatch

public static void removeBatch(FrameworkBatch)

batchesForAccount

public static Vector batchesForAccount(String)

batchesForAccount

public static Vector batchesForAccount(String,
                                       String)

batchesForAccount

public static Hashtable batchesForAccount(String,
                                          String,
                                          String)

createBatch

public static FrameworkBatch createBatch(String,
                                         String,
                                         String)
                                  throws ETillAbortOperation

createBatch

public static FrameworkBatch createBatch(String,
                                         String,
                                         String,
                                         String,
                                         ParameterTable)
                                  throws ETillAbortOperation

createCassetteBatch

public static CassetteBatch createCassetteBatch(Batch,
                                                ParameterTable)
                                         throws ETillAbortOperation

resurrectCassetteBatch

public static CassetteBatch resurrectCassetteBatch(Batch)
                                            throws ETillAbortOperation

getTimestamp

public static final Timestamp getTimestamp(long)

systemShutdown

public static void systemShutdown()
                           throws ETillAbortOperation

removeAllWorkItems

public static void removeAllWorkItems(Cassette)

removeAsynchronousApproveWorkItems

public static void removeAsynchronousApproveWorkItems(String,
                                                      Enumeration)

scheduleAsynchronousApprove

public static void scheduleAsynchronousApprove(FrameworkOrder,
                                               Cassette,
                                               ParameterTable,
                                               ParameterTable)

handleRuntimeError

public static void handleRuntimeError(ETillRuntimeException)

getUniqueKey

public static String getUniqueKey()

validateDependencies

public static void validateDependencies(Order)
                                 throws ETillAbortOperation

validateDependencies

public static void validateDependencies(Batch)
                                 throws ETillAbortOperation

scheduleApprovalExpiration

public static void scheduleApprovalExpiration(FrameworkCassetteAdmin,
                                              boolean)

setApprovalExpirationDelayTimeInMins

public static void setApprovalExpirationDelayTimeInMins(long)