Serialized Form
|
Package com.jcorporate.expresso.core |
|
Package com.jcorporate.expresso.core.cache |
value
Object value
key
String key
readObject
private void readObject(ObjectInputStream ois)
throws ClassNotFoundException,
IOException
- Serialization read.... explicit since this class is designed to be
serialized
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Serialization write.... explicit since this class is designed to be
serialized
- Throws:
IOException - upon streaming error
key
String key
- Key in name of cache.
contextName
String contextName
- Database context name
cacheName
String cacheName
- Name of cache
cacheInstances
Map cacheInstances
- The actual storage location of the caches.
|
Package com.jcorporate.expresso.core.controller |
formTransition
Transition formTransition
mNestedBlocks
Map mNestedBlocks
mNestedTransitions
Map mNestedTransitions
mNestedInputs
Map mNestedInputs
mNestedOutputs
Map mNestedOutputs
mLog
org.apache.log4j.Logger mLog
- if subclass calls getLogger(), this will create logger with
subclass name
promptStates
ArrayList promptStates
- promptStates is only updated in the constructor. The instantiation of Controller by Struts is
synchronized so we don't need to worry about threadsafety while updating this collection even
though it is shared by many threads(singleton). However, Controller is also instantiated by Transition and
Controller itself and unlike Struts these are not synchronized. Luckily, unlike Struts, these
instances are not shared between threads. So we should be OK with no sychronized access and
also with using a non-synchronized collection (ArrayList).
The main reason this collection was not static like most of the other fields in this class
is because of the way this collection is populated. Unlike the 'states' collection, this one
appends new items to the collection rather than overwriting (hashing). So if this had been
static, every time Transition/Controller instantiated a new instance of this class it would
try to append the same states to the collection making the collection inaccurate (and big).
handleStates
ArrayList handleStates
- handleStates is only updated in the constructor. The instantiation of Controller by Struts is
synchronized so we don't need to worry about threadsafety while updating this collection even
though it is shared by many threads(singleton). However, Controller is also instantiated by Transition and
Controller itself and unlike Struts these are not synchronized. Luckily, unlike Struts, these
instances are not shared between threads. So we should be OK with no sychronized access and
also with using a non-synchronized collection (ArrayList).
The main reason this collection was not static like most of the other fields in this class
is because of the way this collection is populated. Unlike the 'states' collection, this one
appends new items to the collection rather than overwriting (hashing). So if this had been
static, every time Transition/Controller instantiated a new instance of this class it would
try to append the same states to the collection making the collection inaccurate (and big).
finalState
State finalState
controllerChainingTransition
Transition controllerChainingTransition
controllerSecurityTransition
Transition controllerSecurityTransition
name
String name
- Short name for the element
label
String label
- Label to identify the element
type
String type
- Type - a descriptive categorization of the output type so that
automatic formatters have a chance of figuring out how to render
the element.
description
String description
- Longer description of the element (optional)
lines
int lines
- How many lines does this element consist of?
nested
Vector nested
- Nested items, if any
parent
ControllerElement parent
- Parent object within which this object is nested
displayLength
int displayLength
- Display length of the item
attributes
HashMap attributes
- The attributes of this ControllerElement object
myResponse
ControllerResponse myResponse
mappedNested
Map mappedNested
- A map of nested elements keyed by name. May be incomplete if the
developer does not use unique names.
params
Hashtable params
initParams
Map initParams
objectParams
Map objectParams
userName
String userName
uid
int uid
mySchema
String mySchema
currentLocale
Locale currentLocale
formAttribute
String formAttribute
initialState
String initialState
attributes
Map attributes
- The attributes of this Controller object
dbName
String dbName
mySession
PersistentSession mySession
- A PersistentSession object is a place to store attributes between states. It
is used when an error collection is stored for use in a subsequent state.
The exact mechanism used for this depends on the view mechanism being used
and how it handles sessions, so we must be given a PersistentSession object
in order to be able to store attributes
fileParams
Hashtable fileParams
formResponseCache
Hashtable formResponseCache
- the formResponseCache allows user input to be saved, so it can
be used later to prepopulate forms, etc.
myRequest
ControllerRequest myRequest
- The ControllerRequest object set for this response
responseLocale
Locale responseLocale
- Object for setting the Locale object
blockCache
HashMap blockCache
- A name to value map of blocks
inputCache
HashMap inputCache
- The name to value map for inputs
outputCache
HashMap outputCache
- A name to value map for outputs
transitionCache
HashMap transitionCache
- A name to value map for Transitions
currentState
State currentState
- The current state
myControllerClass
String myControllerClass
- The classname of this controller
dataContext
String dataContext
- The data context for this controller response
myRequestPath
String myRequestPath
- The request path
requestedState
String requestedState
- The requested state name
style
String style
- The resulting style code
title
String title
- The title of the ControllerResponse
blockCacheOrdered
Vector blockCacheOrdered
- A list of all blocks in the order they were added to the response
inputCacheOrdered
Vector inputCacheOrdered
- A list of all inputs as added to the response
outputCacheOrdered
Vector outputCacheOrdered
- A list of all outputs in the order they were added to the response
transitionCacheOrdered
Vector transitionCacheOrdered
- A list of all transitions in the order they were added to the response
customResponse
boolean customResponse
- NOTE: Any Controller that must access the HttpServletResponse object
available from the ControllerRequest object and handle making it's own
response to the client (e.g. a custom mime type, multimedia stream,
etc), should call setCustomResponse(true) to tell the caller that it
should not try to format the Outputs, Inputs, and Transitions from this
controller call. Use only when absolutely required!
schemaStack
Stack schemaStack
- Provides a hierarchy of schemas to check for messages bundles. The top
of the stack is the lowest on the heirarchy and should be checked first
for Messages, etc... then proceed on down the stack.
formData
Hashtable formData
formAttributes
Hashtable formAttributes
page
int page
validatorResults
org.apache.commons.validator.ValidatorResults validatorResults
sessionForwards
Map sessionForwards
- A map of session forward objects
mapModuleConfig
Map mapModuleConfig
defaultValue
ArrayList defaultValue
- Default value(s) for the item (optional)
validValues
Vector validValues
- Vector of value/description pairs that are valid for this item
lookup
String lookup
- Object name that can be used to look up valid values for
this item
maxLength
int maxLength
- Max length of the input field
multiple
String multiple
- Multiple select true or false
key
String key
- Key used when this input is used as a Cacheable object
content
String content
- The string contents of this Output
style
String style
- Suggested "style" of this Output item
alignment
String alignment
- Suggested alignment of this Output item
usedCount
long usedCount
key
String key
- Key used when this output is used as a Cacheable object
myServletResponse
ServletResponse myServletResponse
- NOTE: The response object below should be used VERY RARELY. It is not good
Controller design to simply send output to this stream for response data
that could be represented as Outputs, Inputs, etc. It is here for those
situations where a controller must take servlet-API specific actions,
such as setting a custom mime type or sending a binary stream of data back to
the client. Don't use it if you don't *need* it.
myServletRequest
ServletRequest myServletRequest
myCallingServlet
Servlet myCallingServlet
myMapping
org.apache.struts.action.ActionMapping myMapping
myForm
org.apache.struts.action.ActionForm myForm
myForward
org.apache.struts.action.ActionForward myForward
- The associated action forward
name
String name
- Name of this state, referred to by the "state" parameter
descrip
String descrip
- Long description of the state
requiredParameters
List requiredParameters
- Parameters needed by this state. It is possible for a state
to need other parameters, but the ones listed here can be
verified as present when transitioning into the state
optionalParameters
List optionalParameters
- Parameters defined by this state, but not necessarily
required.
paramMasks
Map paramMasks
- Hashmap that provides regular expressions to validate input parameters
paramMaskErrors
Map paramMaskErrors
- Map that stores friendly error messages if a parameter fails
an error check.
myController
Controller myController
- Current controller that this state is assigned to.
myRequest
ControllerRequest myRequest
- The request for this particular state handler. [Different for each thread]
myResponse
ControllerResponse myResponse
- The ControllerResponse for this particular state handler
[Different for each thread]
handlerName
String handlerName
errorState
String errorState
stateFormClass
String stateFormClass
returnToSender
Transition returnToSender
successTransition
Transition successTransition
- The transition performed if state completes without errors. Can be overriden at runtime.
errorTransition
Transition errorTransition
- The transition performed if state completes with errors. Can be overriden at runtime.
secure
boolean secure
- Is this state to run within an SSL setting?
ownerObject
String ownerObject
- name of the controller object that created this transition
controllerObject
String controllerObject
- The name of a controller object that handles this action
params
Hashtable params
- The parameters to the controller object
myState
String myState
returnToSender
boolean returnToSender
|
Package com.jcorporate.expresso.core.controller.session |
attributes
Hashtable attributes
- A storage place for attributes
persistentAttributes
Hashtable persistentAttributes
- A Storage place for persistent attributes
|
Package com.jcorporate.expresso.core.db |
allConfigurations
SoftReference allConfigurations
- A list of all configurations. This way we can load them up and keep
them in memory for a particular period of time.
currentConfig
com.jcorporate.expresso.core.db.config.JDBCConfig currentConfig
log
org.apache.log4j.Logger log
- The log4j Logger
dbMessage
String dbMessage
expressoFromSQL
Map expressoFromSQL
- SQL to Expresso Type Map
expressoToJava
Map expressoToJava
- Expresso type to Java type map
expressoToSQL
Map expressoToSQL
- Expresso to SQL type map
sqlToDB
Map sqlToDB
- SQL to DB Type Map
sqlTypeNames
Map sqlTypeNames
- Mapping of SQL types to sql type names
typeToString
Map typeToString
- Type to String Map
dataContext
String dataContext
- Name for the current data context
componentConfiguration
boolean componentConfiguration
- Set to true if we're in the component configuration system.
|
Package com.jcorporate.expresso.core.db.exception |
|
Package com.jcorporate.expresso.core.db.datasource |
|
Package com.jcorporate.expresso.core.dbobj |
readObject
private void readObject(ObjectInputStream stream)
throws IOException,
ClassNotFoundException
- Reads the Field object from a serialization stream.
fieldName
String fieldName
expressoFieldTypeString
String expressoFieldTypeString
- The string "type" used to specify this type of field in Expresso
allowNull
boolean allowNull
- Is a null value allowed for this field.
description
String description
- The user friendly description of this field.
fieldSize
int fieldSize
- The size of this field. ex: 80 for VARCHAR(80)
isVirtual
boolean isVirtual
- Is this a virtual field: Ie, does the system provide all values
for this field.
mask
org.apache.oro.text.regex.Pattern mask
attributes
Hashtable attributes
- User Defined Attributes for each field.
isMultiValued
boolean isMultiValued
- Is this a multivalued field
isSecret
boolean isSecret
- Does this field not appear in standard DBMaint listings?
isReadOnly
boolean isReadOnly
- Is this field readonly?
isBoolean
boolean isBoolean
- is the field boolean?
isNumeric
boolean isNumeric
- is the field numeric?
isDate
boolean isDate
- is the field a date type?
isDateTime
boolean isDateTime
- is the field a datetime or timestamp type?
This necessary for handling correctly the Database datatime format
when retrieve data from resultSet
author Yves Henri AMAIZO
isTime
boolean isTime
- is the field a time type?
This necessary for handling correctly the Database datatime format
when retrieve data from resultSet
author Yves Henri AMAIZO
isDateOnly
boolean isDateOnly
- is the field a date type?
This necessary for handling correctly the Database datatime format
when retrieve data from resultSet
author Yves Henri AMAIZO
defaultValue
String defaultValue
- The default value for when a data object is first initialized.
isLongBinary
boolean isLongBinary
- is the field a time type?
This necessary for handling correctly the Database string format data
when retrieve data from resultSet
Oracle does not handlin correctly string more longer than 4000 chars
author Yves Henri AMAIZO
isLongCharacter
boolean isLongCharacter
isText
boolean isText
- is the field a text type?
lookupObject
String lookupObject
- String for lookup object classname
lookupField
String lookupField
- String for the lookup field in the lookup object that maps to this
field.
lookupDefinition
String lookupDefinition
- Optional parameter that defines the definition of the lookup object if
the lookup object implements the Defineable interface.
isKey
boolean isKey
- Is this a key field?
isLongObject
boolean isLongObject
- Is this object a LOB?
isCharacterLongObject
boolean isCharacterLongObject
- Is this object a CLOB?
filterMethod
String filterMethod
- What is the string filtering method applied with this filter
isAutoInc
boolean isAutoInc
- set if the field is autoincremented
encrypted
boolean encrypted
- Set this value to true if you want a particular string field encrypted
(Not implemented yet)
hashed
boolean hashed
- Set this value to true if you want a particular string field hashed
instead of stored in plaintext.
(Not implamented yet)
precision
int precision
- Field precision, if applicable to this field
isFloatingPointType
boolean isFloatingPointType
mFilterClass
Class mFilterClass
- the preferred filtering class; null indicates default
readObject
private void readObject(ObjectInputStream ois)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
indexName
String indexName
- The name of the index.
fieldNames
String fieldNames
- A comma delimited list of fieldNames that belong in the Index.
unique
boolean unique
- Specifies whether or not the index is supposed to have unique entries
or not. If specified unique, if a duplicate value is entered in the
index, an exception will be thrown when the DBObject is written to the
database.
tableName
String tableName
readObject
private void readObject(ObjectInputStream stream)
throws IOException
- Used when reading object from initialization stream.
- Throws:
IOException - upon communication failure- See Also:
com.jcorporate.expresso.core.dbobj.DBObject#writeObject
writeObject
private void writeObject(ObjectOutputStream stream)
throws IOException
- Writes a DBObject to the stream. We write only a minimal data to the
stream since serialization would otherwise be expensive. Specifically
we only write the data values, and nothing else about the class.
- Throws:
IOException - upon communication error
mFilter
Class mFilter
- string filter class; null defaults to mean HtmlFilter
this should be stored here, in the object instance, rather than a setting
in metadata for all objects of this type: consider a use-case where
one object is getting rendered in HTML while another is simultaneously
rendered in XML.
fieldData
Map fieldData
- A DBObject instance often refers to a single row, and this hash map contains
the row data for this instance. This Map specifically contains a list of
DataField objects that in turn contain the actual field data.
fieldErrors
HashMap fieldErrors
- Contains a map of DBObject.FieldError classes describing the errors
set by checkField().
myLocale
Locale myLocale
foundKeys
ArrayList foundKeys
- Keys that have been found in the last retrieve.
attributes
HashMap attributes
- Attributes of this DB Object
myCacheSize
int myCacheSize
anyFieldsToRetrieveMulti
boolean anyFieldsToRetrieveMulti
- Very Similar to "anyFieldsToRetrieve" already present on the DBObject.
author ABHI
allFields
Map allFields
- A hashtable of all of the DBField objects in this DBObject
fieldNamesInOrder
ArrayList fieldNamesInOrder
- Vector containing the field names in the order they were added
allKeys
Map allKeys
keyList
ArrayList keyList
objectDescription
String objectDescription
allInParameters
Map allInParameters
- Vector containing the field names in the order they were added for
INPUT and OUTPUT parameters for store procedure
author Yves Henri AMAIZO
inParamList
ArrayList inParamList
allOutParameters
Map allOutParameters
outParamList
ArrayList outParamList
detailObjsLocal
Hashtable detailObjsLocal
- The detailObjsLocal local and detailObjsForeign hashtables holds one or more references to other
dbobject classes (the class name is the key), with the value
stored being the names of the field(s) in this class (pipe-delimited)
that relate to the primary key in the other object
detailObjsForeign
Hashtable detailObjsForeign
transitionTabs
ArrayList transitionTabs
- A vector of "transition" objects that can be displayed as tabs
available when DBMaint displays a DBObject of this type
indexList
ArrayList indexList
- The list of all indicies used by this DBObject.
Please Note: If there is no index associated with a dbobject
then indexList WILL be null.
tableName
String tableName
- Table name of the "primary" table that this DB object refers to
storeProcedureName
String storeProcedureName
- Store Procedure name of the "primary" table that this DB object refers to
returningValue
boolean returningValue
dbSchemaName
String dbSchemaName
- Database schema name of the "primary" table that this DB object refers to
dbCatalogName
String dbCatalogName
- Database catalogue name of the "primary" table that this DB object refers to
charSet
String charSet
- A default characterset to filter on.
mObjectName
String mObjectName
loggingEnabled
boolean loggingEnabled
- Do we log changes to this object
mySchema
String mySchema
- What schema does this DB object belong to?
checkZeroUpdate
boolean checkZeroUpdate
- When we do an update, do we check if any records
were updated & throw if there were none?
increment
Integer increment
minvalue
Integer minvalue
maxvalue
Integer maxvalue
start
Integer start
setupValue
Map setupValue
- These are the current setup values for this schema.
defaultSetupValues
Map defaultSetupValues
- This are setup values that are defined as default values.
dbKey
String dbKey
- dbKey is used to indicate that this schema is actually being applied to
other than the default database. Null indicates it's being applied to the
default
database
defaultComponentCode
String defaultComponentCode
- Return the component code, or the directory under the 'expresso' directory
that the component is set into.
defaultDescription
String defaultDescription
- Retrieve a default description of the schema.
messageBundlePath
String messageBundlePath
- The path to the message Bundle
mUserID
int mUserID
uid
int uid
value
String value
description
String description
|
Package com.jcorporate.expresso.core.job |
|
Package com.jcorporate.expresso.core.logging |
objectName
String objectName
msg
String msg
|
Package com.jcorporate.expresso.core.misc |
readObject
private void readObject(ObjectInputStream ois)
throws ClassNotFoundException,
IOException
- Default JBuilder Bean Maker functions for reading
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Default JBuilder Bean Maker functions for writing
parameters
Map parameters
name
String name
- This is the 'class category' that you're defining pluggable handlers for.
classHandler
String classHandler
- This is the name of the class that you want to handle the for this handler
category.
readObject
private void readObject(ObjectInputStream ois)
throws ClassNotFoundException,
IOException
- Bean serialization methods
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Bean serializatio method
paramName
String paramName
- The name of the class handler parmeter
paramValue
String paramValue
- The value of that parameter.
sessionId
String sessionId
- The sessionID assigned to this login.
userName
String userName
- User name assigned to this login.
ipAddress
String ipAddress
- This login's remote ip address.
loggedInAt
long loggedInAt
- Timestamp for when the person logged in.
uid
int uid
- The integer uid for this login.
dbName
String dbName
- The database context that this login belongs to.
messages
ArrayList messages
- The messages for the user.
attribHash
Hashtable attribHash
- Table of attributes.
readObject
private void readObject(ObjectInputStream ois)
throws ClassNotFoundException,
IOException
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
moreRecords
boolean moreRecords
- Are there more records that can be retrieved
previousRecords
boolean previousRecords
- Are there previous records that can be retrieved
pageNumber
int pageNumber
- What is the page number of the current record set.
pageLimit
int pageLimit
startRecordNumber
int startRecordNumber
- What is the start record number of the current set
endRecordNumber
int endRecordNumber
- What is the end record number of the current set.
countRecords
boolean countRecords
- Boolean that states whether a DBObject.count() should be issued before
issuing the search and retrieve call.
totalRecordCount
int totalRecordCount
- Total Number of records retrieved
readObject
private void readObject(ObjectInputStream ois)
throws ClassNotFoundException,
IOException
- Serialization capabilities Written out for performance sake
- Throws:
ClassNotFoundException - upon class instantiation error
IOException - i/o error
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
value
char value
- The value of the Character.
-
readObject
private void readObject(ObjectInputStream ois)
throws ClassNotFoundException,
IOException
- Serialization capabilities Written out for performance sake
writeObject
private void writeObject(ObjectOutputStream oos)
throws IOException
- Serialization write output method
value
long value
- The value of the Long.
- See Also:
java.lang.Long#value
myValue
String myValue
|
Package com.jcorporate.expresso.core.misc.upload |
|
Package com.jcorporate.expresso.core.security |
randomGenerator
AbstractRandomNumber randomGenerator
stringEncryptor
AbstractStringEncryption stringEncryptor
stringHash
StringHash stringHash
initialized
boolean initialized
encryptMode
String encryptMode
strongCrypto
boolean strongCrypto
- Flag for string cryptography
cryptoKey
String cryptoKey
- Passphrase
randomSeed
String randomSeed
|
Package com.jcorporate.expresso.core.security.filters |
replacementString
String replacementString
subnodes
HashMap subnodes
|
Package com.jcorporate.expresso.core.servlet |
skipLogin
boolean skipLogin