CONGO AppServer

Class reports

java.lang.Object
  extended byreports

public class reports
extends java.lang.Object

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


Field Summary
static int outputTypeCSV
           
static int outputTypeHTML
           
static int outputTypeTAB
           
 
Constructor Summary
reports()
           
 
Method Summary
 java.lang.Object affiliateReport(int cid)
          Report on the number of registered attendees, broken down by affiliation (ie where they heard about the event)
 java.lang.Object checkinBook(int whatconference)
          Print a formatted book of signin sheets for attendees.
 int numBadged(int cid)
          Display the number of registrants badged for a specific conference.
 int numCheckedin(int cid)
          Calculate the number of registrants marked as checked in for a conference.
 int numRegistered(int cid)
          Display the number of registrants registered for a specific conference.
 int numSubscribed(int cid)
          Display the number of registrants subscribed to a specific conference.
 int printReceipt(int whatconference, int pendingtrack)
          Print a single page receipt - half and half
 java.lang.Object registeredReport(int whatConference, java.lang.String fileName, int outputType)
          Generate all registered report to file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outputTypeHTML

public static int outputTypeHTML

outputTypeCSV

public static int outputTypeCSV

outputTypeTAB

public static int outputTypeTAB
Constructor Detail

reports

public reports()
Method Detail

affiliateReport

public java.lang.Object affiliateReport(int cid)
Report on the number of registered attendees, broken down by affiliation (ie where they heard about the event)

Parameters:
cid - Conference ID to report on
Returns:
Hashtable containing:
    Integer rowcount - The number of rows returned
    Hashtable rowdata - The Hashtable containing rows for each affiliate. See below

Structure of rowdata:
    String aname - Affiliate name
    String avalue - Number of registrants registered with this affiliate

numSubscribed

public int numSubscribed(int cid)
Display the number of registrants subscribed to a specific conference.

Parameters:
cid - the Conference id to look at
Returns:
int the number of registrants subscribed

numRegistered

public int numRegistered(int cid)
Display the number of registrants registered for a specific conference.

Parameters:
cid - the Conference id to look at
Returns:
int the number of registrants registered

numBadged

public int numBadged(int cid)
Display the number of registrants badged for a specific conference.

Parameters:
cid - the Conference id to look at
Returns:
int the number of registrants registered

numCheckedin

public int numCheckedin(int cid)
Calculate the number of registrants marked as checked in for a conference.

Parameters:
cid - the Conference id to look at
Returns:
int the number of registrants registered

checkinBook

public java.lang.Object checkinBook(int whatconference)
Print a formatted book of signin sheets for attendees.

Parameters:
whatconference - the Conference id
Returns:
int the number of registrants registered

printReceipt

public int printReceipt(int whatconference,
                        int pendingtrack)
Print a single page receipt - half and half

Parameters:
whatconference - the Conference id

registeredReport

public java.lang.Object registeredReport(int whatConference,
                                         java.lang.String fileName,
                                         int outputType)
Generate all registered report to file.

Parameters:
whatConference - the Conference id
fileName - the file to write to
outputType - the type of file to write
Returns:
Hashtable error string indexed under 'errorMessage', or 'None' on success

CONGO AppServer

Copyright © 2004 Stonekeep Consulting, Inc.