Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G I J L M N O P Q R S T U W X

A

add(Vector, Table) - Method in class com.jcorporate.expresso.core.utility.ControllerRun
 
addActions(Vector, Row, Form) - Method in class com.jcorporate.expresso.core.utility.ControllerRun
 
addInput(Input, Table) - Method in class com.jcorporate.expresso.core.utility.ControllerRun
 
addOutput(Output, Table) - Method in class com.jcorporate.expresso.core.utility.ControllerRun
Add the designated output to the given table
alreadyCleared - Static variable in class com.jcorporate.expresso.core.utility.DBToolTests
 

C

ControllerRun - class com.jcorporate.expresso.core.utility.ControllerRun.
Special servlet designed to interact with server-side Controller objects
ControllerRun() - Constructor for class com.jcorporate.expresso.core.utility.ControllerRun
 
checkControlQueue() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Check the job control queue for special commands coming down the pipe
checkQueue() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Actually check the job queue and invoke the appropriate server module
chooseConfig(String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Choose a schema to enter Setup values for
cleanFinishedJobs() - Method in class com.jcorporate.expresso.core.utility.JobHandler
 
com.jcorporate.expresso.core.utility - package com.jcorporate.expresso.core.utility
The sub-packages to this package define the core objects of Expresso, where items such as DBObject are defined.
compare(String) - Static method in class com.jcorporate.expresso.core.utility.XlateUtil
Compares all MessagesBundles against all directories.
compare(String, String) - Static method in class com.jcorporate.expresso.core.utility.XlateUtil
Compares the files for a particular language.
compareOneFile(BufferedReader, String) - Static method in class com.jcorporate.expresso.core.utility.XlateUtil
Given a buffered reader, checks against the default language
compareTables(InstallLog, Vector, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Reverse engineer the table for each db object for every known schema, then compare the fields in the database to the fields in the db object and report on the differences to the the log and to System.err

todo why isn't this log passed in used?

compiler - Static variable in class com.jcorporate.expresso.core.utility.XlateUtil
 
createTables(InstallLog, Vector, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Create the tables required by the database objects in the list of schemas.

D

DBTool - class com.jcorporate.expresso.core.utility.DBTool.
DBTool is a multi-purpose tool for working with database objects.
DBTool() - Constructor for class com.jcorporate.expresso.core.utility.DBTool
Constructor
DBToolTests - class com.jcorporate.expresso.core.utility.DBToolTests.
What this does:

Runs DBCreate on the schemas and makes sure that no exceptions are thrown while creating.

DBToolTests(String) - Constructor for class com.jcorporate.expresso.core.utility.DBToolTests
 
DEFAULT_HASHMAP_SPACE - Static variable in class com.jcorporate.expresso.core.utility.XlateUtil
 
dbName - Static variable in class com.jcorporate.expresso.core.utility.DBTool
 
dbName - Variable in class com.jcorporate.expresso.core.utility.JobHandler
Data Context
deleteSchema(Page, String, Vector) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Method wipes out more than one installed schema.
deleteSchema(Page, String, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Method to remove an installed schema.
deleteTable(String, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Delete Table - Deletes a table from the specified db
displayInput(Input) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
 
displayOutput(Output, int) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
 
displayTransition(Transition) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
 
doBenchMarks() - Static method in class com.jcorporate.expresso.core.utility.DBTool
Benchmark the data connection
doController(String, Hashtable) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
Perform the named Controller
doOperation(String) - Method in class com.jcorporate.expresso.core.utility.JobHandler
 

E

english - Static variable in class com.jcorporate.expresso.core.utility.XlateUtil
 
enterConfig(String, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
 
exportFile(String, String, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Export data from the named dbobject to the specified filename
exportTabFile(DBObject, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Export the named database object into the given file, where the file is tab delimited, and the fields are in the order of the database object's fields

F

failedOne - Static variable in class com.jcorporate.expresso.core.utility.DBToolTests
 

G

genAllDBObject(DBConnection, String, String, String, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Recursively generate a Java DBObject file for every table in the specified database.
genDBObject(DBConnection, String, String, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Generate a Java file as a database object for the given table
getAppDir(Hashtable) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
 
getAppDir(Hashtable) - Static method in class com.jcorporate.expresso.core.utility.JobHandler
For startup command line parsing.
getConfigDir(Hashtable) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
 
getConfigDir(Hashtable) - Static method in class com.jcorporate.expresso.core.utility.JobHandler
For startup command line parsing.
getCronManager() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Retrieve the crontab for this job handler.
getCurrJobNum() - Method in class com.jcorporate.expresso.core.utility.JobHandler
 
getDataContext() - Method in class com.jcorporate.expresso.core.utility.JobHandler
 
getDir(String) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
Return a vector of the file/dir names in any give directory
getExtension(String) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
Get the file extension (after the ".")
getFreeMem() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
Retrieve the amount of free memory in Kilobytes
getHostName() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
Get the host name.
getID() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Retrieve the server id
getJavaClassName(String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Creates a Java Class name from a database table name.
getLoadAverage() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
Not implemented
getOSClass() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
Retrieves either windows or unix depending on the os name
getOSName() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
Returns the operating system name as defined by the "os.name" system property
getPath(String) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
Get the path of a file name
getPowerFactor() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
 
getQueueScanCriteria() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Builds the custom where clause to locate jobs that are ready to be executed.
getServerList() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Return a list of current Job objects
getServerListSize() - Method in class com.jcorporate.expresso.core.utility.JobHandler
 
getStatus() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Useful for determining current state from the outside.
getTimeStamp() - Static method in class com.jcorporate.expresso.core.utility.JobHandler
 
getTotalMem() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
Retrieve the total system memory in kilobytes
getUsedMem() - Static method in class com.jcorporate.expresso.core.utility.SystemInfo
Get the used memory in bytes

I

importExportAll(DBConnection, String, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Instantiate & load all Schema objects that we know about, get a list of their DBObjects, and call the import or export for each DBObject as appropriate
importFile(String, String, String, DBConnection) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Import data into the named dbobject from the specified filename
importTabFile(DBObject, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Import the named file into the given database object, where the file is tab delimited, and the fields are in the order of the database object's fields
importTabLine(String, DBObject, int) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Process a single line of tab-delimited data into a record for the given database object, and add the object to the database
installLog - Variable in class com.jcorporate.expresso.core.utility.DBToolTests
 
interval - Variable in class com.jcorporate.expresso.core.utility.JobHandler
default interval and max numbers - read from setup once we connect to database
isAlreadyCleared() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
 
isFailedOnce() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
 
isMixedCase(String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
This method returns true if the string contains both upper and lowercase letters, false otherwise.

J

JobHandler - class com.jcorporate.expresso.core.utility.JobHandler.
The JobHandler is an object which runs constantly on the server side, looking periodically in a job queue for work to do.
JobHandler(String) - Constructor for class com.jcorporate.expresso.core.utility.JobHandler
Constructor

L

loadDefaultBundle(String) - Static method in class com.jcorporate.expresso.core.utility.XlateUtil
Loads the english bundle into memory for quick compare.
log - Static variable in class com.jcorporate.expresso.core.utility.DBTool
 
log - Static variable in class com.jcorporate.expresso.core.utility.JobHandler
The log4j Logger

M

MailFiles - class com.jcorporate.expresso.core.utility.MailFiles.
 
MailFiles() - Constructor for class com.jcorporate.expresso.core.utility.MailFiles
Constructor
MailFiles(String[]) - Constructor for class com.jcorporate.expresso.core.utility.MailFiles
Constructor
m_cronMgr - Variable in class com.jcorporate.expresso.core.utility.JobHandler
The crontab for this job handler
m_jobHandlerControl - Static variable in class com.jcorporate.expresso.core.utility.JobHandler
Job Handler Control instance
m_jobHandlerRegistry - Static variable in class com.jcorporate.expresso.core.utility.JobHandler
Job Handler Register
m_jobHandlerStatus - Variable in class com.jcorporate.expresso.core.utility.JobHandler
Current handler status
m_qScanCriteria - Variable in class com.jcorporate.expresso.core.utility.JobHandler
Scan criteria string
m_runtime - Static variable in class com.jcorporate.expresso.core.utility.SystemInfo
The Runtime system
m_serverID - Variable in class com.jcorporate.expresso.core.utility.JobHandler
The server id
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
Main method so that ControllerRun can be launched from a command line
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Main method so that DBTool can be launched from a command line
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.DBToolTests
 
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.JobHandler
Main method so that JobHandler can be launched from a command line
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.MailFiles
Main method Parameters are: mailServer: SMTP Server name for sending e-mails mailFrom: Value to use as the "from" field in e-mails sendToUser: E-mail address to send message to subject: Subject of message message: Text of message.
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.QueueJob
Main method
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
 
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.RunURL
Main Method.
main(String[]) - Static method in class com.jcorporate.expresso.core.utility.XlateUtil
Main method so that XlateUtil can be launched from a command line
markJob(String) - Method in class com.jcorporate.expresso.core.utility.JobHandler
Marks an available job as running.
matcher - Static variable in class com.jcorporate.expresso.core.utility.XlateUtil
 
maxJobs - Variable in class com.jcorporate.expresso.core.utility.JobHandler
Maximum number of simultaneous jobs
mySession - Static variable in class com.jcorporate.expresso.core.utility.ControllerRun
 

N

nameChange(String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Performs the Expresso 3 to Expresso 4 name changes
newState(Controller, ControllerRequest, String) - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
 

O

otherLang - Static variable in class com.jcorporate.expresso.core.utility.XlateUtil
 
otherSetups(InstallLog, Vector, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Method to perform any other additonal setup required by each schema

P

poolTest() - Static method in class com.jcorporate.expresso.core.utility.DBTool
 
populateTables(InstallLog, Vector, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
This method goes through the schemas and populates tables with default values if they do not exist.
prepareWord(String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
prepareWord prepares a single word for use in a Java class name by capitalizing the first letter and lowecasing the rest.
processDB(String, String) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
 
processDirs(String) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
 
processFile(String) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
Process a single file

Q

QueueJob - class com.jcorporate.expresso.core.utility.QueueJob.
Command line program to queue a job to the job queue.
QueueJob(String[]) - Constructor for class com.jcorporate.expresso.core.utility.QueueJob
Constructor: Arguments are passed in from the main method
queueJob(Hashtable) - Method in class com.jcorporate.expresso.core.utility.QueueJob
Actually queue the requested job

R

ReNameUtil - class com.jcorporate.expresso.core.utility.ReNameUtil.
Utility for renaming classes & dependant objects.
ReNameUtil() - Constructor for class com.jcorporate.expresso.core.utility.ReNameUtil
Constructor
RunURL - class com.jcorporate.expresso.core.utility.RunURL.
Program to allow a URL to be run from the command line Primarily intended to allow the Application Server thread to be started automatically, but can be used to run any arbitrary URL
RunURL() - Constructor for class com.jcorporate.expresso.core.utility.RunURL
Constructor
RunURL(String) - Constructor for class com.jcorporate.expresso.core.utility.RunURL
Constructor
readTransFile(String) - Static method in class com.jcorporate.expresso.core.utility.ReNameUtil
 
registerJobHandler() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Register JobHandler in the DataBase.
removeCronJobForRemovedQueueEntry() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Iterate through all crontab entries, checking to make sure they exist in the JobQueue.
resetCurrentJobs() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Marks all current running jobs as "Available"
resetQ(String) - Static method in class com.jcorporate.expresso.core.utility.JobHandler
Resets any 'running' jobs on startup to available.
run() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Main thread process of the JobHandler process
runThroughSerializer(DBObject) - Method in class com.jcorporate.expresso.core.utility.DBToolTests
Helper functino that serializes a DBOBject to a memory stream and then reads a new instance out from the stream.
running - Variable in class com.jcorporate.expresso.core.utility.JobHandler
Status flag for if the server is running

S

SystemInfo - class com.jcorporate.expresso.core.utility.SystemInfo.
System information utility class
SystemInfo() - Constructor for class com.jcorporate.expresso.core.utility.SystemInfo
 
schemaList - Variable in class com.jcorporate.expresso.core.utility.DBToolTests
Add schemas to this list to verify other schemas
serverList - Static variable in class com.jcorporate.expresso.core.utility.JobHandler
The list of JobHandler servers
setAlreadyCleared(boolean) - Method in class com.jcorporate.expresso.core.utility.DBToolTests
 
setDataContext(String) - Method in class com.jcorporate.expresso.core.utility.JobHandler
Sets the Job Handler's data context
setFailedOnce(boolean) - Method in class com.jcorporate.expresso.core.utility.DBToolTests
 
setID(long) - Method in class com.jcorporate.expresso.core.utility.JobHandler
Sets the Job Handler Id
setStatus(String) - Method in class com.jcorporate.expresso.core.utility.JobHandler
 
setUp() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
 
setup(String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Command line setup
setupConfig(InstallLog, Vector, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
Method to set up the default Setup values for each schema.
setupSecurity(InstallLog, Vector, String) - Static method in class com.jcorporate.expresso.core.utility.DBTool
This method creates default security entries for all of the database objects and controller objects for the known schemas.
shutDown() - Method in class com.jcorporate.expresso.core.utility.JobHandler
mark thread for shutdown and interrupt
suffix - Static variable in class com.jcorporate.expresso.core.utility.ReNameUtil
Suffix to be appended to copy of the file as it's processed
suite() - Static method in class com.jcorporate.expresso.core.utility.DBToolTests
Creates the test cases.

T

testAddingSchemas() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
If testing multiple schemas, this will make sure that the schema has been added to the dbtable when created.
testAllSchemas() - Static method in class com.jcorporate.expresso.core.utility.DBTool
Instantiate & load all Schema objects that we know about, get a list of their DBObjects, and call the verify() method of each DBObject
testCreate() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
Runs the createTables() on the schema list to make sure no exceptions are getting thrown
testOtherSetups() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
Runs the othersetups() on the schema list to make sure no exceptions are getting thrown
testPopulateTables() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
Runs the populateTables() on the schema list to make sure no exceptions are getting thrown
testSerialization() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
This testcase makes sure that all DBObjects within all the schemas are serializable.
testSetupConfigValues() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
Runs through setting up the configuration values for a particular schema
testSetupSecurity() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
Runs the setupSecurity() on the schema list to make sure no exceptions are getting thrown
testVerify() - Method in class com.jcorporate.expresso.core.utility.DBToolTests
Call verify on all the dbobjects.
thisClass - Static variable in class com.jcorporate.expresso.core.utility.ControllerRun
 
thisClass - Static variable in class com.jcorporate.expresso.core.utility.DBTool
 
thisClass - Static variable in class com.jcorporate.expresso.core.utility.QueueJob
 
thisClass - Static variable in class com.jcorporate.expresso.core.utility.ReNameUtil
 
thisClass - Static variable in class com.jcorporate.expresso.core.utility.RunURL
 
totalEdits - Static variable in class com.jcorporate.expresso.core.utility.ReNameUtil
 
translateTable - Static variable in class com.jcorporate.expresso.core.utility.ReNameUtil
 

U

updateJobHandlerStatus() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Writes the latest available status to the database table.
usage() - Static method in class com.jcorporate.expresso.core.utility.ControllerRun
 
usage() - Static method in class com.jcorporate.expresso.core.utility.DBTool
Show the user a usage message
usage() - Static method in class com.jcorporate.expresso.core.utility.JobHandler
Display the usage message if the user gives a bad option, then bail out.
usage() - Static method in class com.jcorporate.expresso.core.utility.QueueJob
Display the usage message if the user gives a bad option, then bail out.
usage() - Static method in class com.jcorporate.expresso.core.utility.XlateUtil
Returns a sample usage message in case of errors.

W

waitForAllJobs() - Method in class com.jcorporate.expresso.core.utility.JobHandler
Wait for all current jobs to complete before returning.

X

XlateUtil - class com.jcorporate.expresso.core.utility.XlateUtil.
Simple utility to read the english and another language strings bundle and report where additional translation is required
XlateUtil() - Constructor for class com.jcorporate.expresso.core.utility.XlateUtil
 

A C D E F G I J L M N O P Q R S T U W X