CONGO AppServer

Class proc

java.lang.Object
  extended byproc

public class proc
extends java.lang.Object

Process back end requests, such as queuing requests for credit card processing, etc.


Constructor Summary
proc()
           
 
Method Summary
 int createTransaction(java.util.Hashtable transinfo)
          Create a new transaction
 java.lang.Object getTransactionbyTID(int whichtrans)
           
 java.lang.Object getTransactionsbyCID(int whichcid)
           
 java.lang.Object mailNotify(int rid, int cid, java.lang.String toAddress, java.lang.String ccAddress, java.lang.String replyAddress, java.lang.String templateName)
          Searches the history of a registrant for specific activity, within a cetrain conference.
 java.lang.Object printBadge(int rid, int cid)
           
 java.lang.Object printLabel(int rid, int cid)
           
 int processTransaction(int whichtrans, java.lang.String opcode)
          Process a transaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

proc

public proc()
Method Detail

createTransaction

public int createTransaction(java.util.Hashtable transinfo)
Create a new transaction

Parameters:
transinfo - Hashtable containing:
    String ptype
    Integer rid
    Integer hid
    String arg1 (CC number CC)
    String arg2 (Expiration for CC)
    String amount
    String status (PENDING,VOID,COMPLETED)
    String comment (freeform comment)
    Integer operator (Operator reg ID)
    String opcomment (usually used for 'closing' comments)
    String reason (reason for the transaction, NULL for reg)
Returns:
The new transaction ID.

processTransaction

public int processTransaction(int whichtrans,
                              java.lang.String opcode)
Process a transaction

Parameters:
whichtrans - transaction ID to update
opcode - New transaction status. Can be:
COMPLETED - Transaction is completed successfully.
VOID - This transaction is cancelled
PENDING - The initial state, the transaction is waiting to be handled
Returns:
The new transaction ID.

getTransactionbyTID

public java.lang.Object getTransactionbyTID(int whichtrans)

getTransactionsbyCID

public java.lang.Object getTransactionsbyCID(int whichcid)

mailNotify

public java.lang.Object mailNotify(int rid,
                                   int cid,
                                   java.lang.String toAddress,
                                   java.lang.String ccAddress,
                                   java.lang.String replyAddress,
                                   java.lang.String templateName)
Searches the history of a registrant for specific activity, within a cetrain conference.

Parameters:
rid - to generate the mail for
cid - the Conference we're working with
toAddress - Where to send the mail to
ccAddress - Make a Carbon Copy to this address
replyAddress - Where is the mail being sent from
templateName - Which template to use to generate the mail
Returns:
Hashtable containing:
    If the function succeeds:
      Integer errorCode - 0
      String errorString - 'Success'
    If the function fails:
      Integer errorCode - 1
      String errorString - The reason for the failure.

printLabel

public java.lang.Object printLabel(int rid,
                                   int cid)

printBadge

public java.lang.Object printBadge(int rid,
                                   int cid)

CONGO AppServer

Copyright © 2004 Stonekeep Consulting, Inc.