com.waveset.session
Class GenReportsBase

java.lang.Object
  extended bycom.waveset.session.GenReportsBase
Direct Known Subclasses:
GenAuditorReports, GenReports

public class GenReportsBase
extends java.lang.Object


Field Summary
protected static boolean _debug
           
protected static com.sun.idm.logging.audit.AuditLog _event
           
protected  java.util.ArrayList _resourceList
           
protected  Session _session
           
static java.lang.String code_id
           
protected static int MILLI_PER_DAY
           
 
Constructor Summary
GenReportsBase(java.lang.String user, java.lang.String pass)
          Construct a new class, using the SessionFactory method to get the sessoin, which will start the server and initialize the event logger.
 
Method Summary
protected  void createResourceList()
           
 void destroy()
           
protected  java.lang.String getRandomResource(long timeStamp)
           
protected  java.lang.String getRandomString(long timeStamp, int max, java.lang.String prefix)
           
static void printTimeStamp(java.lang.String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

_debug

protected static boolean _debug

_event

protected static com.sun.idm.logging.audit.AuditLog _event

MILLI_PER_DAY

protected static final int MILLI_PER_DAY
See Also:
Constant Field Values

_session

protected Session _session

_resourceList

protected java.util.ArrayList _resourceList
Constructor Detail

GenReportsBase

public GenReportsBase(java.lang.String user,
                      java.lang.String pass)
               throws WavesetException
Construct a new class, using the SessionFactory method to get the sessoin, which will start the server and initialize the event logger.

Method Detail

createResourceList

protected void createResourceList()
                           throws java.lang.Exception
Throws:
java.lang.Exception

destroy

public void destroy()
             throws WavesetException
Throws:
WavesetException

getRandomString

protected java.lang.String getRandomString(long timeStamp,
                                           int max,
                                           java.lang.String prefix)

getRandomResource

protected java.lang.String getRandomResource(long timeStamp)

printTimeStamp

public static void printTimeStamp(java.lang.String prefix)