CONGO AppServer

Class pending

java.lang.Object
  extended bypending

public class pending
extends java.lang.Object

an XMLRPC class to handle 'pending' registrant information

Version:
$Id: pending.java,v 1.6 2005/01/18 01:37:36 shevett Exp $
Author:
Dave Belfer Shevett - dbs@stonekeep.com

Constructor Summary
pending()
           
 
Method Summary
static java.util.Hashtable pendingGetEntry(int ptrack)
           
static java.lang.Object pendingList(int cid, java.lang.String status)
          Return the list of pending requests, based on conference and type to return
static int pendingSetStatus(int ptrack, java.lang.String newstatus)
          Set a pending status code
 java.util.Hashtable queueAttendee(java.util.Hashtable attendee)
          Take in a list of attendees and put them in the pending queue awaiting processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

pending

public pending()
Method Detail

queueAttendee

public java.util.Hashtable queueAttendee(java.util.Hashtable attendee)
Take in a list of attendees and put them in the pending queue awaiting processing.

Parameters:
attendee - A hashtable containing the registrant to queue Structure of Hashtable entries:
    Integer cid - Conference ID
    String firstName - Registrants first name
    String lastName - Last name
    String badgeName - Badgename
    String companyName - Company name
    String regType - Regtype from the config.regtypes
    Float amount - The amount for this registration
    String address - a CONGO-formatted address. xxx xxxx xx//yyyy//zz String phone - phone number
    String email - email
Returns:
Hashtable containing:
    Integer trackNumber - 0 = failure, see errorString, otherwise the pending tracking number for this entry
    String errorString - Text of the reason for the failre ('Success' if successful)

pendingList

public static java.lang.Object pendingList(int cid,
                                           java.lang.String status)
Return the list of pending requests, based on conference and type to return

Parameters:
cid - Which conference to list pendings for
Returns:
Hashtable containing:
    Integer rowcount - The number of rows in the result set Vector rowdata - A hashtable containing one row per pending entry

Structure of rowdata
    Integer pendingTrack - The track number
    String pendingFirstname - Firstname
    String pendingLastname - Lastname
    String pendingBadgename - Badgename
    String pendingRegtype - Registration type
    String pendingEmail - email addy
    String pendingStatus - status (see above for type list)

pendingSetStatus

public static int pendingSetStatus(int ptrack,
                                   java.lang.String newstatus)
Set a pending status code

Parameters:
ptrack - The track number of the pending entry
newstatus - The new status setting (Pending, OnHold, Denied, Completed)
Returns:
1=success, 0=failure

pendingGetEntry

public static java.util.Hashtable pendingGetEntry(int ptrack)

CONGO AppServer

Copyright © 2004 Stonekeep Consulting, Inc.