A B C D E F G H I J K L M N O P R S T U V W X Z

A

AbstractDataSource - class com.revusky.oreo.AbstractDataSource.
A convenient base class for DataSource implementations.
AbstractDataSource() - Constructor for class com.revusky.oreo.AbstractDataSource
Our constructor must throw the exception since the superclass's constructor does.
AbstractMutableDataSource - class com.revusky.oreo.AbstractMutableDataSource.
A convenient base class for MutableDataSource implementations.
AbstractMutableDataSource() - Constructor for class com.revusky.oreo.AbstractMutableDataSource
Our constructor must throw the exception since the superclass's constructor does.
accept(Record) - Method in interface com.revusky.oreo.RecordFilter
Does this record meet the filter criterion?
accept(Record) - Method in class com.revusky.oreo.predicates.TypeFilter
 
accept(Record) - Method in class com.revusky.oreo.predicates.ClassConstraint
 
accept(Record) - Method in class com.revusky.oreo.predicates.SimplePredicate
 
accept(Record) - Method in class com.revusky.oreo.predicates.CompoundPredicate
 
action - Variable in class com.revusky.niggle.servlet.ServletInteraction
name of the current action being executed by this ServletInteraction instance
addDataEvent(DataEvent) - Method in class com.revusky.oreo.transaction.Transaction
 
addDataListener(DataListener) - Method in class com.revusky.oreo.AbstractMutableDataSource
 
addDataListener(DataListener) - Method in interface com.revusky.oreo.MutableDataSource
Add a listener that gets notified if ever a record is inserted, updated or deleted.
AntiRecord - class com.revusky.oreo.AntiRecord.
An AntiRecord is to a regular record like Anti-matter is to matter.
AntiRecord(Record) - Constructor for class com.revusky.oreo.AntiRecord
 
arrayAsEnumeration(Object[]) - Static method in class com.revusky.oreo.util.Util
wraps an array of objects as an instance of java.util.Enumeration useful for API's that require an Enumeration to be passed in or out.
Assert - class com.revusky.oreo.util.Assert.
A helper class that gives us functionality equivalent to C's stdlib assert() macro.
Assert() - Constructor for class com.revusky.oreo.util.Assert
 
assert(boolean) - Static method in class com.revusky.oreo.util.Assert
 
assert(boolean, String) - Static method in class com.revusky.oreo.util.Assert
The most basic assertion test - a boolean test with a message explaining it.
AssertionFailedException - exception com.revusky.oreo.util.AssertionFailedException.
Runtime exception to indicate that an assertion has failed.
AssertionFailedException() - Constructor for class com.revusky.oreo.util.AssertionFailedException
 
AssertionFailedException(String) - Constructor for class com.revusky.oreo.util.AssertionFailedException
 
AssertionFailedException(String, Throwable) - Constructor for class com.revusky.oreo.util.AssertionFailedException
Create a new AssertionFailedException from an existing exception.
AssertionFailedException(Throwable) - Constructor for class com.revusky.oreo.util.AssertionFailedException
Create a new AssertionFailedException wrapping an existing exception.
attach(MutableDataSource) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
Called to run over a MutableDataSource's entire set of elements and index them.

B

BooleanField - class com.revusky.oreo.metadata.BooleanField.
A FieldDescriptor that describes a field with a boolean true/false value.
BooleanField() - Constructor for class com.revusky.oreo.metadata.BooleanField
 

C

cacheRecord(Record) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
add a record, and index it.
canWriteToFile(String) - Static method in class com.revusky.oreo.util.Assert
convenient method that throws an IOException if the file cannot be written to.
CASE_INSENSITIVE - Static variable in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
checkSessionInfo() - Method in class com.revusky.niggle.servlet.ServletInteraction
Method to call if a given action requires a valid session.
checkValidity() - Method in class com.revusky.oreo.DefaultRecord
Check if the record's data is valid.
checkValidValue(Record, Object) - Method in interface com.revusky.oreo.FieldDescriptor
Check whether this object is a valid value for this field of the given record.
checkValidValue(Record, Object) - Method in class com.revusky.oreo.metadata.Field
 
checkValidValue(Record, Object) - Method in class com.revusky.oreo.metadata.StringField
 
checkValidValue(Record, Object) - Method in class com.revusky.oreo.metadata.URLField
 
checkValidValue(Record, Object) - Method in class com.revusky.oreo.metadata.NumericalField
Note that the min-max interval is [min, max) following python range semantics.
checkValidValue(Record, Object) - Method in class com.revusky.oreo.metadata.EmailField
 
clase - Variable in class com.revusky.oreo.predicates.ClassConstraint
 
ClassConstraint - class com.revusky.oreo.predicates.ClassConstraint.
A RecordFilter type that accepts any record as long as it is of a given class.
ClassConstraint(Class) - Constructor for class com.revusky.oreo.predicates.ClassConstraint
 
classLoader - Variable in class com.revusky.niggle.templates.webmacroimpl.WebMacroPageFactory
 
classLoader - Variable in class com.revusky.niggle.templates.velocityimpl.VelocityPageFactory
 
ClasspathEntityResolver - class com.revusky.oreo.metadata.ClasspathEntityResolver.
Resolve entities from the classpath.
ClasspathEntityResolver() - Constructor for class com.revusky.oreo.metadata.ClasspathEntityResolver
 
ClasspathEntityResolver(ClassLoader) - Constructor for class com.revusky.oreo.metadata.ClasspathEntityResolver
 
clear() - Method in class com.revusky.oreo.inmemory.InMemoryIndex
clear the cache -- wipe out the entire index structure.
clearData() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
Clears out the hash
clearFields() - Method in interface com.revusky.oreo.Record
reset the fields to their default state The record must be in a mutable state.
clearFields() - Method in class com.revusky.oreo.DefaultRecord
set the fields to their default values.
clearFields() - Method in class com.revusky.oreo.RecordReference
 
close() - Method in class com.revusky.oreo.AbstractDataSource
 
close() - Method in interface com.revusky.oreo.DataSource
A method that should be called to free any resources associated with the data source.
close() - Method in class com.revusky.oreo.inmemory.InMemoryIndex
 
close() - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
close() - Method in class com.revusky.oreo.jdbc.JDBCConnection
 
com.revusky.niggle.servlet - package com.revusky.niggle.servlet
Niggle classes that wrap and extend the core Java Servlet API.
com.revusky.niggle.templates - package com.revusky.niggle.templates
The base Niggle API's that abstract away your web app's interaction with page templates.
com.revusky.niggle.templates.freemarkerimpl - package com.revusky.niggle.templates.freemarkerimpl
An implementation of the Niggle presentation API in com.revusky.niggle.templates that leverages the open source Freemarker template engine.
com.revusky.niggle.templates.velocityimpl - package com.revusky.niggle.templates.velocityimpl
An implementation of the Niggle presentation API in com.revusky.niggle.templates that leverages the open source Velocity template engine.
com.revusky.niggle.templates.webmacroimpl - package com.revusky.niggle.templates.webmacroimpl
An implementation of the Niggle presentation API in com.revusky.niggle.templates that leverages the open source Webmacro template engine.
com.revusky.oreo - package com.revusky.oreo
The base Oreo API's that abstract away your web app's interaction with externally configured data sources and data records.
com.revusky.oreo.inmemory - package com.revusky.oreo.inmemory
An Oreo DataSource implementation that keeps records in-memory and persists them to a flat file.
com.revusky.oreo.jdbc - package com.revusky.oreo.jdbc
An implementation of the core Oreo Data API's in com.revusky.oreo that uses JDBC to store/retrieve the records to/from an external database system.
com.revusky.oreo.metadata - package com.revusky.oreo.metadata
This package contains classes that represent metadata in Oreo, objects that encapsulate information about data sources, record types, and fields.
com.revusky.oreo.predicates - package com.revusky.oreo.predicates
This package contains concrete RecordFilter objects (predicates) that represent a subset of records to return from a data source.
com.revusky.oreo.transaction - package com.revusky.oreo.transaction
This package contains a TransactionalDataSource interface that would have to be implemented to wrap up a transactional data source as an Oreo data source object.
com.revusky.oreo.util - package com.revusky.oreo.util
A hodge-podge of utility code/classes that don't really fit anywhere else.
com.revusky.oreo.xml - package com.revusky.oreo.xml
 
commit(String) - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
Commit the transaction that is identified by this transactionID
complement - Variable in class com.revusky.oreo.predicates.Predicate
 
CompoundPredicate - class com.revusky.oreo.predicates.CompoundPredicate.
A Predicate that represents the AND, OR or XOR condition on two other predicates.
CompoundPredicate(int, Predicate, Predicate) - Constructor for class com.revusky.oreo.predicates.CompoundPredicate
 
config - Variable in class com.revusky.niggle.servlet.ServletInteraction
The information that contains the niggle servlet config info.
ConsoleLog - class com.revusky.oreo.util.ConsoleLog.
Make System.(out|err) support the com.revusky.oreo.Log interface.
ConsoleLog() - Constructor for class com.revusky.oreo.util.ConsoleLog
 
ConsoleLog(PrintStream) - Constructor for class com.revusky.oreo.util.ConsoleLog
 
contentType - Variable in class com.revusky.niggle.templates.PresentationWrapper
 
convert(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.SmartScalar
 
convertFromJDBC(Object) - Method in interface com.revusky.oreo.FieldDescriptor
Method to support slurping records from a JDBC result set.
convertFromJDBC(Object) - Method in class com.revusky.oreo.metadata.Field
 
convertFromJDBC(Object) - Method in class com.revusky.oreo.metadata.StringField
 
convertFromJDBC(Object) - Method in class com.revusky.oreo.metadata.LocaleField
 
convertHTMLEntities(String) - Static method in class com.revusky.oreo.util.Util
Converts the literal characters in a string to HTML entities as need be.
convertToEntities(String) - Static method in class com.revusky.oreo.xml.XMLOutput
 
copyFieldsByName(Record, Record) - Static method in class com.revusky.oreo.DataUtil
convenience routine for transitioning records.
createNestedHash(Map) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
createNewSession() - Method in class com.revusky.niggle.servlet.ServletInteraction
Method that creates a new session.
createRecordWrapper(Record, ServletInteraction, String) - Static method in class com.revusky.niggle.templates.PresentationWrapper
create a wrapper of the appropriate class to wrap the given record, reusing the context info.
createReference(Record, ReferenceQueue) - Method in class com.revusky.oreo.RecordReference
 
createTable(Connection, RecordDescriptor) - Static method in class com.revusky.oreo.jdbc.SQLUtil
Creates a table in the database or tries to do so.
createWrapper(Object) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
CrudeDataPersister - class com.revusky.oreo.inmemory.CrudeDataPersister.
A data listener that persists using an extremely crude scheme.
CrudeDataPersister(MutableDataSource, String, int) - Constructor for class com.revusky.oreo.inmemory.CrudeDataPersister
This constructor automatically adds this object to the list of listeners of the specified DataSource
CustomResourceLoader - class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader.
 
CustomResourceLoader() - Constructor for class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader
 

D

DataEvent - class com.revusky.oreo.DataEvent.
An event that encapsulates something happening in a MutableDataSource -- the insertion, deletion or updating of a record
DataEvent(DataSource) - Constructor for class com.revusky.oreo.DataEvent
 
DataEvent(DataSource, int, Record, Record) - Constructor for class com.revusky.oreo.DataEvent
 
DataEvent(DataSource, int, Record, Record, Date) - Constructor for class com.revusky.oreo.DataEvent
Create a new DataEvent
DataException - exception com.revusky.oreo.DataException.
The base exception for Oreo data.
DataException(Record, Exception) - Constructor for class com.revusky.oreo.DataException
 
DataException(Record, String) - Constructor for class com.revusky.oreo.DataException
 
DataListener - interface com.revusky.oreo.DataListener.
The interface implemented by objects that listen to data-related events thrown by instances of com.revusky.oreo.MutableDataSource.
DataLogger - class com.revusky.oreo.xml.DataLogger.
A DataListener implementation that logs data events in an XML format
DataLogger(File, File, File) - Constructor for class com.revusky.oreo.xml.DataLogger
 
DataLogger(MutableDataSource, Properties) - Constructor for class com.revusky.oreo.xml.DataLogger
 
DataRegistry - interface com.revusky.oreo.DataRegistry.
The interface implemented by objects that vend "virgin" instances of a Record.
DataRegistryImpl - class com.revusky.oreo.DataRegistryImpl.
This object plays a central role in Oreo's object-relational mapping.
DataRegistryImpl() - Constructor for class com.revusky.oreo.DataRegistryImpl
 
DataSource - interface com.revusky.oreo.DataSource.
a marker interface representing objects that contain a set of Records indexed by a lookup key
DataSourceMetadata - class com.revusky.oreo.metadata.DataSourceMetadata.
An object that provides metadata about how to instantiate a DataSource object -- it bridges the W3C DOM with our DataSource descriptions in XML format.
DataUtil - class com.revusky.oreo.DataUtil.
a holder for various useful static routines dealing with Oreo data
DataUtil() - Constructor for class com.revusky.oreo.DataUtil
 
DateField - class com.revusky.oreo.metadata.DateField.
A descriptor for a field that holds a date or timestamp (probably a misnomer, should be called TimeStampField)
DateField() - Constructor for class com.revusky.oreo.metadata.DateField
 
decodeMultiLineString(String) - Method in class com.revusky.oreo.metadata.StringField
Deal with a string with embedded \n literals for newlines.
deduceAction() - Method in class com.revusky.niggle.servlet.ServletInteraction
A hook that you might want to override if you want to change the default scheme for how we decide what the current action is.
deduceLocale() - Method in class com.revusky.niggle.servlet.ServletInteraction
A hook that you might want to override if you want to be more sophisticated about how you decide what the preferred locale for the request is.
deduceSessionInfo() - Method in class com.revusky.niggle.servlet.ServletInteraction
A hook that you might want to override if you want to change the default scheme for session tracking.
defaultDirectory - Variable in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
DefaultErrorHandler - class com.revusky.oreo.metadata.DefaultErrorHandler.
A default handler for exceptions that come from the XML parsing engine.
DefaultErrorHandler() - Constructor for class com.revusky.oreo.metadata.DefaultErrorHandler
 
DefaultRecord - class com.revusky.oreo.DefaultRecord.
A concrete implementation of the Record interface In this implementation, the records can be written out as a human-readable string.
DefaultRecord() - Constructor for class com.revusky.oreo.DefaultRecord
 
DefaultRecordInputStream - class com.revusky.oreo.DefaultRecordInputStream.
An implementation of the ObjectInput interface for slurping Records off a stream in their default flat-file format, which is not the standard Java serialised object format.
DefaultRecordInputStream(File) - Constructor for class com.revusky.oreo.DefaultRecordInputStream
a convenience constructor that takes a File argument.
DefaultRecordInputStream(InputStream) - Constructor for class com.revusky.oreo.DefaultRecordInputStream
Constructor, given stream
DefaultRecordOutputStream - class com.revusky.oreo.DefaultRecordOutputStream.
An implementation of ObjectOutput for spitting out Oreo records onto a stream in their default flat-file format.
DefaultRecordOutputStream(OutputStream) - Constructor for class com.revusky.oreo.DefaultRecordOutputStream
 
DefaultRecordOutputStream(String) - Constructor for class com.revusky.oreo.DefaultRecordOutputStream
A convenience constructor that takes a filename argument.
defaultValue() - Method in interface com.revusky.oreo.FieldDescriptor
returns this field's "default value".
defaultValue() - Method in class com.revusky.oreo.metadata.Field
 
defaultValue() - Method in class com.revusky.oreo.metadata.DateField
 
defaultValueString - Variable in class com.revusky.oreo.metadata.Field
 
delete(Record) - Method in interface com.revusky.oreo.MutableDataSource
Delete a record
delete(Record) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
delete(Record) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
delete(Record) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
delete(String, Object, String) - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
delete the Record of the given type and primary key taking into account the transaction which this is part of.
DELETION_MARKER - Static variable in class com.revusky.oreo.DefaultRecordInputStream
 
dispatch() - Method in class com.revusky.niggle.servlet.ServletInteraction
Dispatches the request based on the action This actually delegates to the NiggleConfig object that does some reflective magic to invoke the method this.execFoo() for action "foo".
dispatchAction(ServletInteraction) - Method in class com.revusky.niggle.servlet.NiggleConfig
Dispatches the request based on the action
dispose() - Method in class com.revusky.oreo.util.FileLock
Deletes the file associated with the current lock object.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.revusky.niggle.servlet.NiggleServlet
By default, a Niggle servlet treats a GET and a POST identically.
DOMUtil - class com.revusky.oreo.metadata.DOMUtil.
holder for various useful routines in manipulating a W3C DOM tree.
DOMUtil() - Constructor for class com.revusky.oreo.metadata.DOMUtil
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.revusky.niggle.servlet.NiggleServlet
This method implements the top-level flow of of control by which we handle a request.
DuplicateRecordException - exception com.revusky.oreo.DuplicateRecordException.
A DataException that indicates that there has been an attempt to insert a new record with a primary key that is already taken.
DuplicateRecordException() - Constructor for class com.revusky.oreo.DuplicateRecordException
 
DuplicateRecordException(Record, String) - Constructor for class com.revusky.oreo.DuplicateRecordException
 
DuplicateRecordException(String) - Constructor for class com.revusky.oreo.DuplicateRecordException
 

E

EmailAddress - class com.revusky.oreo.util.EmailAddress.
 
EmailAddress(String) - Constructor for class com.revusky.oreo.util.EmailAddress
construct a new email address, must be a valid (looking) internet email address.
EmailField - class com.revusky.oreo.metadata.EmailField.
A trivial subclass of StringField for handling the validity checking email addresses.
EmailField() - Constructor for class com.revusky.oreo.metadata.EmailField
 
EMPTY_ENUM - Static variable in class com.revusky.oreo.util.Util
An empty java.util.Enumeration, comes in handy for API's that require an Enumeration to be passed in or out.
EMPTY_ITERATOR - Static variable in class com.revusky.oreo.util.Util
An empty java.util.Iterator, comes in handy for API's that require an Iterator to be passed in or out.
encodeMultiLineString(String) - Method in class com.revusky.oreo.metadata.StringField
routine that encodes a string so that it can be all on one line in a key=value storage scheme.
EQUALS - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
equals(Object) - Method in class com.revusky.oreo.DefaultRecord
 
equals(Object) - Method in class com.revusky.oreo.RecordReference
 
equals(Object) - Method in class com.revusky.oreo.metadata.DataSourceMetadata
Checks for equality with another object.
equals(Object) - Method in class com.revusky.oreo.util.EmailAddress
 
error(SAXParseException) - Method in class com.revusky.oreo.metadata.DefaultErrorHandler
 
escapeString(Object) - Static method in class com.revusky.oreo.predicates.SQLQueryUtil
 
events() - Method in class com.revusky.oreo.transaction.Transaction
 
execDefault() - Method in class com.revusky.niggle.servlet.ServletInteraction
A default handler that simply displays the default template, index.nhtml.
expose(String, boolean) - Method in interface com.revusky.niggle.templates.Page
Expose internal data, publishing it to make it available to the page Template.
expose(String, boolean) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
Convenience method really, since all Freemarker scalar variables are strings.
expose(String, boolean) - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPage
 
expose(String, boolean) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPage
 
expose(String, Object) - Method in interface com.revusky.niggle.templates.Page
Expose internal data, publishing it to make it available to the page template.
expose(String, Object) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
expose internal data, publishing it to make it available to a Freemarker Template.
expose(String, Object) - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPage
 
expose(String, Object) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPage
 
exposeActionURL(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
a convenience for exposing the URL corresponding to an action on the page.
exposeDefaultVariables() - Method in class com.revusky.niggle.servlet.ServletInteraction
A hook that can be overridden to make sure that certain top-level template variables get exposed.
exposeResourceBundle(String) - Method in interface com.revusky.niggle.templates.Page
expose an instance of java.util.ResourceBundle as a template hash variable
exposeResourceBundle(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
 
exposeResourceBundle(String) - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPage
 
exposeResourceBundle(String) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPage
 

F

fatalError(SAXParseException) - Method in class com.revusky.oreo.metadata.DefaultErrorHandler
 
Field - class com.revusky.oreo.metadata.Field.
abstract base class for objects that represent the metadata relating to a record field.
Field() - Constructor for class com.revusky.oreo.metadata.Field
 
FieldDescriptor - interface com.revusky.oreo.FieldDescriptor.
An interface implemented by objects that describe the constraints on the field of an Oreo data record.
FileLock - class com.revusky.oreo.util.FileLock.
A file lock.
FileLock(String) - Constructor for class com.revusky.oreo.util.FileLock
Designated constructor.
FileLockException - exception com.revusky.oreo.util.FileLockException.
Thrown in the face of file lock problems, by the FileLock class.
FileLog - class com.revusky.oreo.util.FileLog.
This class provides logging to a file.
FileLog(String) - Constructor for class com.revusky.oreo.util.FileLog
Intstantiant an instance for a given file.
fillInFields(Record) - Method in class com.revusky.niggle.servlet.ServletInteraction
Given a record, attempts to fill in the record's fields based on the information in the servlet request.
fillRecordFromResultSet(Record, ResultSet) - Static method in class com.revusky.oreo.jdbc.SQLUtil
 
findClass(String, ClassLoader) - Static method in class com.revusky.oreo.util.Util
 
fireDataEvent(DataEvent) - Method in class com.revusky.oreo.AbstractMutableDataSource
Fire a data event to the listeners.
FreemarkerPage - class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage.
An implementation of the com.revusky.niggle.templates.Page interface that uses the freemarker template library.
FreemarkerPage(LocalizedTemplate, LazyHash, ClassLoader, String) - Constructor for class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
Creates a new FreemarkerPage.
FreemarkerPageFactory - class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPageFactory.
A concrete PageFactory type that vends Page objects that represent Freemarker templates.
FreemarkerPageFactory() - Constructor for class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
FreemarkerPresentationWrapper - class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper.
 
FreemarkerPresentationWrapper() - Constructor for class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
freeze() - Method in interface com.revusky.oreo.Record
make this record immutable.
freeze() - Method in class com.revusky.oreo.DefaultRecord
 
freeze() - Method in class com.revusky.oreo.AntiRecord
 
freeze() - Method in class com.revusky.oreo.RecordReference
 
freeze(Record) - Method in class com.revusky.oreo.AbstractMutableDataSource
This is equivalent to calling freeze(rec, true);
freeze(Record, boolean) - Method in class com.revusky.oreo.AbstractMutableDataSource
Called to mark the record as immutable.
from(String) - Static method in class com.revusky.oreo.predicates.SQLQueryUtil
 
fromByteEncodedString(String) - Static method in class com.revusky.oreo.util.Util
 
fromString(String) - Static method in class com.revusky.oreo.DataUtil
convenience routine to convert a string to a Record.

G

get(FieldDescriptor) - Method in interface com.revusky.oreo.Record
Low-level method to query the value of a field in a Record.
get(FieldDescriptor) - Method in class com.revusky.oreo.DefaultRecord
 
get(FieldDescriptor) - Method in class com.revusky.oreo.RecordReference
 
get(int) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
get(int) - Method in class com.revusky.oreo.DefaultRecord
 
get(Object) - Method in class com.revusky.niggle.templates.ResourceBundleWrapper
 
get(Object) - Method in class com.revusky.oreo.AbstractDataSource
 
get(Object) - Method in class com.revusky.oreo.DefaultRecord
 
get(Object) - Method in interface com.revusky.oreo.DataSource
method that exists for backward compatibility This is equivalent to get(null, key);
get(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
get(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
Overloaded so that the template variables can be case-insensitive.
get(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper
 
get(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.SmartScalar
 
get(String) - Method in interface com.revusky.oreo.Record
Method to get the value of a field by name.
get(String) - Method in class com.revusky.oreo.DefaultRecord
 
get(String) - Method in class com.revusky.oreo.RecordReference
 
get(String, Object) - Method in interface com.revusky.oreo.DataSource
 
get(String, Object) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
 
get(String, Object) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
get(String, Object) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
get(String, Object) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
get(String, Object, String) - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
 
getAsString() - Method in class com.revusky.niggle.templates.freemarkerimpl.SmartScalar
 
getCharset(Locale) - Static method in class com.revusky.niggle.templates.PresentationWrapper
Gets the preferred charset for the given locale, or null if the locale is not recognized.
getChildElementsByName(Element, String) - Static method in class com.revusky.oreo.metadata.DOMUtil
 
getComplement() - Method in class com.revusky.oreo.predicates.Predicate
 
getComplement() - Method in class com.revusky.oreo.predicates.SimplePredicate
 
getComplement() - Method in class com.revusky.oreo.predicates.CompoundPredicate
 
getConnection() - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
getContext(ServletInteraction) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPageFactory
 
getCopy(Object) - Method in interface com.revusky.oreo.FieldDescriptor
Used when encapsulation requires Record::getFieldValue() to return a clone of an object.
getCopy(Object) - Method in class com.revusky.oreo.metadata.Field
 
getCopy(Object) - Method in class com.revusky.oreo.metadata.StringField
 
getCopy(Object) - Method in class com.revusky.oreo.metadata.DateField
 
getDataSource(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
convenient wrapper to get a data source by name.
getDataSource(String) - Method in interface com.revusky.oreo.DataRegistry
 
getDataSource(String) - Method in class com.revusky.oreo.DataRegistryImpl
 
getDataSourceNames() - Method in interface com.revusky.oreo.DataRegistry
 
getDataSourceNames() - Method in class com.revusky.oreo.DataRegistryImpl
 
getDefaultRegistry() - Static method in class com.revusky.oreo.DataRegistryImpl
 
getDOM(String, ClassLoader) - Static method in class com.revusky.oreo.metadata.MetadataLoader
 
getEqualityPredicate(String, String, Object) - Static method in class com.revusky.oreo.predicates.Predicates
this is equivalent to getEqualityPredicate(recType, fieldName, comparisonValue, false)
getEqualityPredicate(String, String, Object, boolean) - Static method in class com.revusky.oreo.predicates.Predicates
 
getExemplar(String) - Method in interface com.revusky.oreo.DataRegistry
 
getExemplar(String) - Method in class com.revusky.oreo.DataRegistryImpl
 
getField(int) - Method in interface com.revusky.oreo.RecordDescriptor
 
getField(int) - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getField(String) - Method in interface com.revusky.oreo.RecordDescriptor
 
getField(String) - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getFieldDescriptors() - Method in interface com.revusky.oreo.RecordDescriptor
 
getFieldDescriptors() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getFilename() - Method in class com.revusky.oreo.util.FileLog
 
getFilenames(String, Locale) - Static method in class com.revusky.niggle.templates.PresentationWrapper
 
getGreaterThanEqualsPredicate(String, String, Object) - Static method in class com.revusky.oreo.predicates.Predicates
 
getGreaterThanEqualsPredicate(String, String, Object, Comparator) - Static method in class com.revusky.oreo.predicates.Predicates
 
getGreaterThanPredicate(String, String, Object) - Static method in class com.revusky.oreo.predicates.Predicates
 
getGreaterThanPredicate(String, String, Object, Comparator) - Static method in class com.revusky.oreo.predicates.Predicates
 
getInequalityPredicate(String, String, Object) - Static method in class com.revusky.oreo.predicates.Predicates
this is equivalent to getInequalityPredicate(recType, fieldName, comparisonValue, false)
getInequalityPredicate(String, String, Object, boolean) - Static method in class com.revusky.oreo.predicates.Predicates
 
getInitParameter(String) - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getInitParameterNames() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getInputStream(String) - Method in class com.revusky.niggle.servlet.NiggleConfig
Gets the specified input stream, assuming that it may be a fully specified filename, OR relative to the classpath.
getInputStream(String) - Static method in class com.revusky.oreo.util.Util
Gets the specified input stream, assuming that it may be a fully specified filename, OR relative to the system classpath.
getInputStream(String, ClassLoader) - Static method in class com.revusky.oreo.util.Util
 
getInstance() - Method in class com.revusky.oreo.metadata.DataSourceMetadata
 
getIntersection(Predicate, Predicate) - Static method in class com.revusky.oreo.predicates.Predicates
 
getJavaType() - Method in interface com.revusky.oreo.FieldDescriptor
The kind of java object that can live in this record field.
getJavaType() - Method in class com.revusky.oreo.metadata.Field
 
getJavaType() - Method in class com.revusky.oreo.metadata.StringField
 
getJavaType() - Method in class com.revusky.oreo.metadata.BooleanField
 
getJavaType() - Method in class com.revusky.oreo.metadata.DateField
 
getJavaType() - Method in class com.revusky.oreo.metadata.NumericalField
 
getJavaType() - Method in class com.revusky.oreo.metadata.TimeZoneField
 
getJavaType() - Method in class com.revusky.oreo.metadata.LocaleField
 
getLastModified(Resource) - Method in class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader
 
getLessThanEqualsPredicate(String, String, Object) - Static method in class com.revusky.oreo.predicates.Predicates
 
getLessThanEqualsPredicate(String, String, Object, Comparator) - Static method in class com.revusky.oreo.predicates.Predicates
 
getLessThanPredicate(String, String, Object) - Static method in class com.revusky.oreo.predicates.Predicates
 
getLessThanPredicate(String, String, Object, Comparator) - Static method in class com.revusky.oreo.predicates.Predicates
 
getLikePredicate(String, String, String, boolean) - Static method in class com.revusky.oreo.predicates.Predicates
 
getLocale() - Method in class com.revusky.niggle.servlet.ServletInteraction
 
getLocale() - Method in class com.revusky.niggle.templates.PresentationWrapper
 
getLocale() - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
 
getLocale() - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPage
 
getLocale() - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPage
 
getLocale() - Method in class com.revusky.oreo.DataException
 
getLocalizedMessage() - Method in class com.revusky.oreo.DataException
Currently, this method is rather half-baked.
getLocalizedName(Locale) - Method in interface com.revusky.oreo.FieldDescriptor
 
getLocalizedName(Locale) - Method in class com.revusky.oreo.metadata.Field
 
getLog() - Static method in class com.revusky.oreo.util.Logger
Get the value of log.
getMetadata() - Method in interface com.revusky.oreo.Record
 
getMetadata() - Method in class com.revusky.oreo.DefaultRecord
 
getMetadata() - Method in class com.revusky.oreo.RecordReference
 
getMetadata(String) - Method in interface com.revusky.oreo.DataRegistry
get record Metadata for the type
getMetadata(String) - Method in class com.revusky.oreo.DataRegistryImpl
 
getMethodFromAction(ServletInteraction, String) - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getMutableCopy() - Method in interface com.revusky.oreo.Record
create a clone.
getMutableCopy() - Method in class com.revusky.oreo.DefaultRecord
create a clone.
getMutableCopy() - Method in class com.revusky.oreo.RecordReference
 
getName() - Method in class com.revusky.oreo.AbstractDataSource
 
getName() - Method in interface com.revusky.oreo.FieldDescriptor
A unique name that identifies the field
getName() - Method in interface com.revusky.oreo.DataSource
 
getName() - Method in class com.revusky.oreo.inmemory.InMemoryIndex
 
getName() - Method in class com.revusky.oreo.metadata.Field
 
getName() - Method in class com.revusky.oreo.metadata.DataSourceMetadata
 
getNested() - Method in class com.revusky.oreo.util.AssertionFailedException
the wrapped exception (or null)
getNestedException() - Method in class com.revusky.oreo.DataException
 
getNewRecord(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
convenient wrapper to get a record exemplar data source by name.
getNotLikePredicate(String, String, String, boolean) - Static method in class com.revusky.oreo.predicates.Predicates
 
getObjectFromString(Record, String) - Method in interface com.revusky.oreo.FieldDescriptor
Given the string representation of a field, return its internal java object representation.
getObjectFromString(Record, String) - Method in class com.revusky.oreo.metadata.StringField
 
getObjectFromString(Record, String) - Method in class com.revusky.oreo.metadata.BooleanField
 
getObjectFromString(Record, String) - Method in class com.revusky.oreo.metadata.DateField
method is synchronized because DateFormat is not thread-safe.
getObjectFromString(Record, String) - Method in class com.revusky.oreo.metadata.NumericalField
 
getObjectFromString(Record, String) - Method in class com.revusky.oreo.metadata.TimeZoneField
 
getObjectFromString(Record, String) - Method in class com.revusky.oreo.metadata.LocaleField
 
getPage(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
 
getPage(String, ServletInteraction) - Method in interface com.revusky.niggle.templates.PageFactory
Returns a Page.
getPage(String, ServletInteraction) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
getPage(String, ServletInteraction) - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPageFactory
 
getPage(String, ServletInteraction) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPageFactory
 
getPageFactory() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getParameter(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
Check for presence of data field in CGI input.
getPresentationWrapperClass() - Method in interface com.revusky.oreo.RecordDescriptor
 
getPresentationWrapperClass() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getPrimaryKey() - Method in interface com.revusky.oreo.Record
Retrieve the value of the record's primary key.
getPrimaryKey() - Method in class com.revusky.oreo.DefaultRecord
 
getPrimaryKey() - Method in class com.revusky.oreo.AntiRecord
 
getPrimaryKey() - Method in class com.revusky.oreo.RecordReference
 
getPrimaryKeyField() - Method in interface com.revusky.oreo.RecordDescriptor
 
getPrimaryKeyField() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getPrimaryKeys(String) - Method in class com.revusky.oreo.jdbc.JDBCConnection
 
getPrintStream() - Method in class com.revusky.oreo.util.ConsoleLog
Get the value of printStream.
getProperty(String) - Method in interface com.revusky.oreo.FieldDescriptor
a hook so that implementors can add other properties
getProperty(String) - Method in interface com.revusky.oreo.RecordDescriptor
a hook so that implementors can add other properties
getProperty(String) - Method in class com.revusky.oreo.metadata.Field
 
getProperty(String) - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getReader() - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroTemplate
 
getRecord() - Method in class com.revusky.oreo.DataException
 
getRecord() - Method in class com.revusky.oreo.ImmutableDataException
 
getRecordClass() - Method in interface com.revusky.oreo.RecordDescriptor
 
getRecordClass() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getRecordNames() - Method in interface com.revusky.oreo.DataRegistry
 
getRecordNames() - Method in class com.revusky.oreo.DataRegistryImpl
 
getRecords(Object) - Method in class com.revusky.oreo.AbstractMutableDataSource
 
getRecords(Object) - Method in interface com.revusky.oreo.DataSource
 
getRecords(Object) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
Use this routine to lookup if there may be multiple records with the same key.
getResourceStream(String) - Method in class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader
 
getServlet() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getServletClassLoader() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getServletContext() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getServletInfo() - Method in class com.revusky.niggle.servlet.NiggleServlet
 
getServletName() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
getSQLType() - Method in interface com.revusky.oreo.FieldDescriptor
 
getSQLType() - Method in class com.revusky.oreo.metadata.Field
 
getTableName() - Method in interface com.revusky.oreo.RecordDescriptor
 
getTableName() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getTableNames(Connection) - Static method in class com.revusky.oreo.jdbc.SQLUtil
 
getTemplate(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
 
getTemplate(String, Locale) - Method in interface com.revusky.niggle.templates.freemarkerimpl.LocalizedTemplateCache
 
getTemplate(String, Locale) - Method in class com.revusky.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
fish out the Template object based on the given base filename and locale.
getTemplate(String, String) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPageFactory
 
getText(Element) - Static method in class com.revusky.oreo.metadata.DOMUtil
 
getTimeStamp() - Method in class com.revusky.oreo.DataEvent
 
getType() - Method in interface com.revusky.oreo.Record
 
getType() - Method in class com.revusky.oreo.DefaultRecord
 
getType() - Method in class com.revusky.oreo.RecordReference
 
getType() - Method in interface com.revusky.oreo.RecordDescriptor
 
getType() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
getTypeInfo() - Method in class com.revusky.oreo.DefaultRecordInputStream
Read the first line of the record data, which tells us what type of record this is.
getUnderlyingRecord() - Method in class com.revusky.oreo.RecordReference
 
getUnion(Predicate, Predicate) - Static method in class com.revusky.oreo.predicates.Predicates
 
getURL(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
Builds the URL that corresponds to a given action.
getWrappedFieldValue(FieldDescriptor) - Method in class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper
wrap the field value as a Freemarker TemplateModel You can override this method in a subclass if if you want special (ad-hoc) treatment of a given field.
GREATER_THAN - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
GREATER_THAN_EQUALS - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
gunzipFile(File) - Static method in class com.revusky.oreo.util.Util
 
GZEntityResolver - class com.revusky.oreo.xml.GZEntityResolver.
 
GZEntityResolver(File, String) - Constructor for class com.revusky.oreo.xml.GZEntityResolver
 
gzipFile(File) - Static method in class com.revusky.oreo.util.Util
 

H

handleEvent(DataEvent) - Method in interface com.revusky.oreo.DataListener
handle the event when the MutableDataSource we are listening to has modified data
handleEvent(DataEvent) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
 
handleEvent(DataEvent) - Method in class com.revusky.oreo.inmemory.CrudeDataPersister
 
handleEvent(DataEvent) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
handleEvent(DataEvent) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
handleEvent(DataEvent) - Method in class com.revusky.oreo.xml.DataLogger
 
hasContent(String) - Static method in class com.revusky.niggle.servlet.ServletInteraction
check for empty strings.
hasContent(String) - Static method in class com.revusky.oreo.util.Assert
Special assertion for Strings.
hasContent(String) - Static method in class com.revusky.oreo.util.Util
 
hashCode() - Method in class com.revusky.oreo.metadata.Field
 
hashCode() - Method in class com.revusky.oreo.util.EmailAddress
 
hasNext() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
hasNonAscii(String) - Static method in class com.revusky.oreo.util.Util
A routine that says whether the given string has unicode characters in it -- by that I mean, characters above 0x7F, for which a naive byte encoding will not work.
hasParameter(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
 
hasRedirected - Variable in class com.revusky.niggle.servlet.ServletInteraction
Indicates whether we handled the request by redirecting.
hasSession() - Method in class com.revusky.niggle.servlet.ServletInteraction
Indicates whether we have a session.
hasValidLoginInfo() - Method in class com.revusky.niggle.servlet.ServletInteraction
Override this method to check whether the servlet request has the info for a login (thus allowing us to create a new session).

I

id - Variable in class com.revusky.oreo.transaction.Transaction
 
ImmutableDataException - exception com.revusky.oreo.ImmutableDataException.
thrown when an attempt is made to modify data in an immutable data record.
ImmutableDataException() - Constructor for class com.revusky.oreo.ImmutableDataException
default constructor
ImmutableDataException(Record) - Constructor for class com.revusky.oreo.ImmutableDataException
 
ImmutableDataException(String) - Constructor for class com.revusky.oreo.ImmutableDataException
constructor
indexOf(String) - Method in interface com.revusky.oreo.RecordDescriptor
 
indexOf(String) - Method in class com.revusky.oreo.metadata.RecordMetadata
 
inheritFrom(PresentationWrapper) - Method in class com.revusky.niggle.templates.PresentationWrapper
 
init() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
init(Element) - Method in class com.revusky.oreo.metadata.Field
If you extend this class and override this method, do make sure to call the super.init() at some point.
init(Element) - Method in class com.revusky.oreo.metadata.StringField
 
init(Element) - Method in class com.revusky.oreo.metadata.DateField
 
init(Element) - Method in class com.revusky.oreo.metadata.NumericalField
 
init(Element, ClassLoader) - Method in class com.revusky.oreo.metadata.DataSourceMetadata
 
init(Element, Map, ClassLoader) - Method in class com.revusky.oreo.metadata.RecordMetadata
fill in internal state from a DOM element
init(ExtendedProperties) - Method in class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader
 
init(Properties) - Method in class com.revusky.oreo.AbstractDataSource
 
init(Properties) - Method in interface com.revusky.oreo.DataSource
A method that initializes a DataSource with a set of initialization properties.
init(Properties) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
 
init(Properties) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
init(Properties) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
init(Properties) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
init(ServletConfig) - Method in class com.revusky.niggle.servlet.NiggleServlet
Servlet initialization.
initBaseClasses() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
initLogFile() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
initPageFactory() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
InMemoryIndex - class com.revusky.oreo.inmemory.InMemoryIndex.
An object that listens to the insert/update/delete events of a MutableDataSource and maintains a lookup table based on a certain field.
InMemoryIndex() - Constructor for class com.revusky.oreo.inmemory.InMemoryIndex
 
InMemoryIndex(String, String, Class, boolean) - Constructor for class com.revusky.oreo.inmemory.InMemoryIndex
A convenience constructor largely for backward compatibility.
InMemoryIndex(String, String, RecordFilter, boolean) - Constructor for class com.revusky.oreo.inmemory.InMemoryIndex
Constructor Create an MemoryDataSource that caches on the given keyField If type is non-null, it will ignore all records that are not of this type
InMemoryRecordSet - class com.revusky.oreo.inmemory.InMemoryRecordSet.
A simple implementation of the com.revusky.oreo.MutableDataSource interface.
InMemoryRecordSet() - Constructor for class com.revusky.oreo.inmemory.InMemoryRecordSet
 
insert(Record) - Method in interface com.revusky.oreo.MutableDataSource
Adds a new record to the managed pool.
insert(Record) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
insert(Record) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
insert(Record) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
insert(Record, String) - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
update the Record taking into account the transaction which this is part of.
INSERTION_MARKER - Static variable in class com.revusky.oreo.DefaultRecordInputStream
 
interaction - Variable in class com.revusky.niggle.templates.PresentationWrapper
 
INTERSECTION - Static variable in class com.revusky.oreo.predicates.CompoundPredicate
 
InvalidDataException - exception com.revusky.oreo.InvalidDataException.
thrown when there is an attempt to set data in some invalid way.
InvalidDataException(Record, String) - Constructor for class com.revusky.oreo.InvalidDataException
Create a new InvalidDataException
InvalidDataException(String) - Constructor for class com.revusky.oreo.InvalidDataException
Create a new InvalidDataException with no record specified.
InvalidFieldException - exception com.revusky.oreo.InvalidFieldException.
thrown when there is an attempt to access data from a record via a field that does not belong to that record.
InvalidFieldException(Record, String) - Constructor for class com.revusky.oreo.InvalidFieldException
 
InvalidFieldException(String) - Constructor for class com.revusky.oreo.InvalidFieldException
 
IS_NULL - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
isAffirmative(String) - Static method in class com.revusky.oreo.metadata.DOMUtil
 
isClosed() - Method in class com.revusky.oreo.jdbc.JDBCConnection
 
isEmpty() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
isEmpty() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
 
isEmpty() - Method in class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper
 
isEmpty() - Method in class com.revusky.niggle.templates.freemarkerimpl.SmartScalar
 
isFieldOf(Record) - Method in interface com.revusky.oreo.FieldDescriptor
Does this FieldDescriptor describe a field of the Record? Useful for sanity checks.
isFieldOf(Record) - Method in class com.revusky.oreo.metadata.Field
 
isImmutable() - Method in interface com.revusky.oreo.Record
Have the fields all been set? Once a record is put in a DataSource, its fields are immutable.
isImmutable() - Method in class com.revusky.oreo.DefaultRecord
Once a record is immutable, attempts to change data will result in an ImmutableDataException being thrown.
isImmutable() - Method in class com.revusky.oreo.AntiRecord
 
isImmutable() - Method in class com.revusky.oreo.RecordReference
 
isNegative(String) - Static method in class com.revusky.oreo.metadata.DOMUtil
 
isRemote() - Method in class com.revusky.oreo.metadata.DataSourceMetadata
 
isRequired() - Method in interface com.revusky.oreo.FieldDescriptor
Used in the core validity checks.
isRequired() - Method in class com.revusky.oreo.metadata.Field
 
isRewound() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
isSourceModified(Resource) - Method in class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader
 
isStale() - Method in interface com.revusky.oreo.Record
Has this record been deleted or superseded in the associated DataSource?
isStale() - Method in class com.revusky.oreo.DefaultRecord
 
isStale() - Method in class com.revusky.oreo.RecordReference
 
isValidEmailAddress(String) - Static method in class com.revusky.oreo.util.EmailAddress
 

J

JDBCBackedRecordSet - class com.revusky.oreo.jdbc.JDBCBackedRecordSet.
A class that is essentially a facade in front of an external relational database.
JDBCBackedRecordSet() - Constructor for class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
JDBCConnection - class com.revusky.oreo.jdbc.JDBCConnection.
A wrapper object that wraps the connection to an RDBMS.
JDBCConnection(String) - Constructor for class com.revusky.oreo.jdbc.JDBCConnection
 

K

keys() - Method in class com.revusky.oreo.AbstractDataSource
 
keys() - Method in interface com.revusky.oreo.DataSource
This is equivalent to calling keys(null) where no record type is specified.
keys(String) - Method in interface com.revusky.oreo.DataSource
 
keys(String) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
Return the keys to the index.
keys(String) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
keys(String) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
keys(String) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 

L

LazyHash - class com.revusky.niggle.templates.freemarkerimpl.LazyHash.
A freemarker template model implementation that replaces freemarker.template.SimpleHash.
LazyHash() - Constructor for class com.revusky.niggle.templates.freemarkerimpl.LazyHash
 
LazyHash(ServletInteraction) - Constructor for class com.revusky.niggle.templates.freemarkerimpl.LazyHash
 
LazyList - class com.revusky.niggle.templates.freemarkerimpl.LazyList.
A "lazy" list implementation of the freemarker TemplateListModel interface for exposing a collection of records at one go.
LazyList(List, ServletInteraction, String) - Constructor for class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
LESS_THAN - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
LESS_THAN_EQUALS - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
LIKE - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
LINE_SEPARATOR - Static variable in class com.revusky.oreo.util.FileLog
 
listSize() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
loadDataSourceFromFile() - Method in class com.revusky.oreo.xml.DataLogger
 
loadDataSources(DataRegistry, String) - Static method in class com.revusky.oreo.metadata.MetadataLoader
 
loadDataSources(DataRegistry, String, ClassLoader) - Static method in class com.revusky.oreo.metadata.MetadataLoader
 
loadMetadata() - Method in class com.revusky.niggle.servlet.NiggleConfig
 
loadRecordMetadata(DataRegistry, String) - Static method in class com.revusky.oreo.metadata.MetadataLoader
 
loadRecordMetadata(DataRegistry, String, ClassLoader) - Static method in class com.revusky.oreo.metadata.MetadataLoader
 
loadRecords(ObjectInput) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
Slurp the records into this InMemoryRecordSet object with a stream-based idiom.
loadRecordsFromFlatFile(String) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
Wrapper around loadRecords() to read records from a flat file.
locale - Variable in class com.revusky.niggle.servlet.ServletInteraction
locale associated with this request
locale - Variable in class com.revusky.niggle.templates.PresentationWrapper
locale to use to select encoding for generated HTML
LocaleField - class com.revusky.oreo.metadata.LocaleField.
A Field subtype that indicates that this field represents an instance of java.util.Locale.
LocaleField() - Constructor for class com.revusky.oreo.metadata.LocaleField
 
LocalizedFileTemplateCache - class com.revusky.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache.
A version of the Freemarker TemplateCache that fishes out a different template based on locale information.
LocalizedFileTemplateCache() - Constructor for class com.revusky.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
 
LocalizedFileTemplateCache(String, ClassLoader) - Constructor for class com.revusky.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
 
LocalizedTemplateCache - interface com.revusky.niggle.templates.freemarkerimpl.LocalizedTemplateCache.
Extends the TemplateCache abstraction to encapsulate localized page templates.
Log - interface com.revusky.oreo.util.Log.
An interface to define a single method used for logging information.
LOG_ALL - Static variable in class com.revusky.oreo.util.Logger
Log level.
LOG_DEBUG - Static variable in class com.revusky.oreo.util.Logger
Log level.
LOG_ERROR - Static variable in class com.revusky.oreo.util.Logger
Log level.
LOG_INFO - Static variable in class com.revusky.oreo.util.Logger
Log level.
LOG_WARN - Static variable in class com.revusky.oreo.util.Logger
Log level.
log(String) - Static method in class com.revusky.oreo.util.Logger
Log the message.
log(String, int) - Static method in class com.revusky.oreo.util.Logger
Log the message at the specified level.
logException(Throwable) - Static method in class com.revusky.oreo.util.Logger
 
logException(Throwable, int) - Static method in class com.revusky.oreo.util.Logger
log an exception, including the stack trace.
Logger - class com.revusky.oreo.util.Logger.
A class that manages logging.
Logger() - Constructor for class com.revusky.oreo.util.Logger
 

M

main(String[]) - Static method in class com.revusky.oreo.metadata.MetadataLoader
A main method to validate an XML configuration file against its DTD.
main(String[]) - Static method in class com.revusky.oreo.util.EmailAddress
 
MangledDataException - exception com.revusky.oreo.MangledDataException.
Thrown when there is an attempt to put a value in a record's fields that does not match the metadata description, e.g.
MangledDataException(Record, String) - Constructor for class com.revusky.oreo.MangledDataException
 
MangledDataException(String) - Constructor for class com.revusky.oreo.MangledDataException
 
markStale(Record) - Method in class com.revusky.oreo.AbstractMutableDataSource
Mark the record as "stale".
matchLikeString(String, String) - Static method in class com.revusky.oreo.predicates.SQLQueryUtil
This is equivalent to calling matchLikeString(s, like, '@')
matchLikeString(String, String, char) - Static method in class com.revusky.oreo.predicates.SQLQueryUtil
A routine that does the Ansi SQL 'LIKE' comparison.
MetadataLoader - class com.revusky.oreo.metadata.MetadataLoader.
 
MetadataLoader() - Constructor for class com.revusky.oreo.metadata.MetadataLoader
 
methodNameFromAction(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
Override this if you want to change the default execXXX naming scheme.
MissingDataException - exception com.revusky.oreo.MissingDataException.
Thrown when an attempt is made to initialize a record which is missing a required field.
MissingDataException(Record, String) - Constructor for class com.revusky.oreo.MissingDataException
 
MissingDataException(String) - Constructor for class com.revusky.oreo.MissingDataException
Constructs a MissingDataException with a detail message.
MissingRecordException - exception com.revusky.oreo.MissingRecordException.
Thrown when a client tries to modify a record that has already been deleted.
MissingRecordException() - Constructor for class com.revusky.oreo.MissingRecordException
Constructs a MissingRecordException without a detail message.
MissingRecordException(Record, String) - Constructor for class com.revusky.oreo.MissingRecordException
Constructs a MissingRecordException with a detail message.
MissingRecordException(String) - Constructor for class com.revusky.oreo.MissingRecordException
 
model - Variable in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
 
ModifiedRecordException - exception com.revusky.oreo.ModifiedRecordException.
Thrown when a client tries to modify a record that was modified by another process since it was requested from a data source.
ModifiedRecordException() - Constructor for class com.revusky.oreo.ModifiedRecordException
Constructs a ModifiedRecordException without a default message.
ModifiedRecordException(Record, String) - Constructor for class com.revusky.oreo.ModifiedRecordException
 
ModifiedRecordException(String) - Constructor for class com.revusky.oreo.ModifiedRecordException
Constructs a ModifiedRecordException with a detail message.
MutableDataSource - interface com.revusky.oreo.MutableDataSource.
Interface implemented by objects that manage a collection of records.

N

navigationError() - Method in class com.revusky.niggle.servlet.ServletInteraction
A convenient method to override if you want to handle this kind of condition more gracefully.
newRecord - Variable in class com.revusky.oreo.DataEvent
record being added
newRecord() - Method in interface com.revusky.oreo.RecordDescriptor
 
newRecord() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
newServletInteraction(HttpServletRequest, HttpServletResponse) - Method in class com.revusky.niggle.servlet.NiggleConfig
where the servlet gives us a transaction to process.
newTransaction() - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
 
next() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
nextKey() - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
Returns the next available primary key, assuming that it is an integer.
niggleConfig - Variable in class com.revusky.niggle.servlet.NiggleServlet
The object that contains our servlet config info.
NiggleConfig - class com.revusky.niggle.servlet.NiggleConfig.
A custom implementation of the ServletConfig interface The default NiggleServlet initializations are delegated to this object.
NiggleConfig() - Constructor for class com.revusky.niggle.servlet.NiggleConfig
 
NiggleConfig(ServletConfig, Servlet) - Constructor for class com.revusky.niggle.servlet.NiggleConfig
 
NiggleServlet - class com.revusky.niggle.servlet.NiggleServlet.
The base Servlet class in the Niggle framework.
NiggleServlet() - Constructor for class com.revusky.niggle.servlet.NiggleServlet
 
noNull(String) - Static method in class com.revusky.oreo.util.Util
 
normalize(String) - Method in interface com.revusky.oreo.FieldDescriptor
"normalize" the string passed in.
normalize(String) - Method in class com.revusky.oreo.metadata.Field
 
normalize(String) - Method in class com.revusky.oreo.metadata.StringField
 
normalize(String) - Method in class com.revusky.oreo.metadata.URLField
 
normalize(String) - Method in class com.revusky.oreo.metadata.NumericalField
 
normalizeKey(String, String) - Static method in class com.revusky.oreo.AbstractMutableDataSource
 
normalizeMap(Map) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
NOT_EQUALS - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
NOT_LIKE - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
NOT_NULL - Static variable in class com.revusky.oreo.predicates.SimplePredicate
 
NULL_FILTER - Static variable in class com.revusky.oreo.predicates.Predicates
A trivial RecordFilter that simply accepts anything.
NumericalField - class com.revusky.oreo.metadata.NumericalField.
A descriptor for a field that holds a single numerical value.
NumericalField() - Constructor for class com.revusky.oreo.metadata.NumericalField
 
numRowsInTable(Connection, String) - Static method in class com.revusky.oreo.jdbc.SQLUtil
 

O

objectAsIterator(Object) - Static method in class com.revusky.oreo.util.Util
take a single object and wrap it up as an instance of java.util.Iterator useful for API's that require an Iterator to be passed in or out.
oldRecord - Variable in class com.revusky.oreo.DataEvent
Record being deleted or displaced
output() - Method in class com.revusky.niggle.servlet.ServletInteraction
Finally output the page as a result of a servlet interaction
outputPage(HttpServletResponse, boolean) - Method in interface com.revusky.niggle.templates.Page
Prepare the cooked output, filling in the parameters with data values, and send it to the end user via the servlet's response stream.
outputPage(HttpServletResponse, boolean) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
Prepare the cooked HTML, filling in the parameters with data values, and send it to the end user via the servlet's response stream.
outputPage(HttpServletResponse, boolean) - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPage
 
outputPage(HttpServletResponse, boolean) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPage
 
outputXML(Writer, Collection, String, boolean) - Static method in class com.revusky.oreo.xml.XMLOutput
utility routine to output a set of records to a character stream in XMl format.
outputXML(Writer, DataEvent) - Static method in class com.revusky.oreo.xml.XMLOutput
 
outputXML(Writer, Record) - Static method in class com.revusky.oreo.xml.XMLOutput
utility routine to output a record as an XML element to a character stream.
outputXMLTimeStamp(Writer, Date) - Static method in class com.revusky.oreo.xml.XMLOutput
 

P

page - Variable in class com.revusky.niggle.servlet.ServletInteraction
The Page template object that we are working with.
Page - interface com.revusky.niggle.templates.Page.
An abstract encapsulation of a page template.
PageFactory - interface com.revusky.niggle.templates.PageFactory.
An interface for an object that vends Page instances
parse() - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroTemplate
 
performDeletion(Record) - Method in class com.revusky.oreo.jdbc.JDBCConnection
 
performInsertion(Record) - Method in class com.revusky.oreo.jdbc.JDBCConnection
 
performUpdate(Record) - Method in class com.revusky.oreo.jdbc.JDBCConnection
 
playEvent(DataEvent) - Method in interface com.revusky.oreo.MutableDataSource
"play" an event This will be mostly used in restarting an app and reconstructing the state of the data from logs.
playEvent(DataEvent) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
playEvent(DataEvent) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
playEvent(DataEvent) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
postCheck() - Method in class com.revusky.oreo.DefaultRecord
Called after checking the fields.
preCheck() - Method in class com.revusky.oreo.DefaultRecord
Called before checking the fields.
Predicate - class com.revusky.oreo.predicates.Predicate.
Abstract base class for database query predicates.
Predicate() - Constructor for class com.revusky.oreo.predicates.Predicate
 
Predicates - class com.revusky.oreo.predicates.Predicates.
Holder for factory methods for predicate objects.
Predicates() - Constructor for class com.revusky.oreo.predicates.Predicates
 
preloads() - Method in class com.revusky.oreo.metadata.DataSourceMetadata
 
PresentationWrapper - class com.revusky.niggle.templates.PresentationWrapper.
An abstract base class for objects that wrap another object for presentation purposes.
PresentationWrapper() - Constructor for class com.revusky.niggle.templates.PresentationWrapper
 
printFullStackTrace(Throwable, PrintStream) - Static method in class com.revusky.oreo.util.Util
 
println(Object) - Method in class com.revusky.oreo.util.ConsoleLog
Call System.out.println with the toString() of the Object.
println(Object) - Method in class com.revusky.oreo.util.FileLog
Append the o.toString() followed by a newline to the file.
println(Object) - Method in class com.revusky.oreo.util.ServletLog
 
println(Object) - Method in interface com.revusky.oreo.util.Log
This single method accepts an Object and produces a log entry from it.
processDefaultValue() - Method in class com.revusky.oreo.metadata.Field
 
processDefaultValue() - Method in class com.revusky.oreo.metadata.DateField
 
processNormalization(Element) - Method in class com.revusky.oreo.metadata.Field
 
processPresentationWrapper(Element, ClassLoader) - Method in class com.revusky.oreo.metadata.RecordMetadata
 
processProperties() - Method in class com.revusky.oreo.metadata.Field
 
processProperties() - Method in class com.revusky.oreo.metadata.StringField
 
processProperties() - Method in class com.revusky.oreo.metadata.NumericalField
 
processProperties(Element) - Method in class com.revusky.oreo.metadata.RecordMetadata
 
properties - Variable in class com.revusky.oreo.metadata.Field
 
put(String, boolean) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
Overloaded so that the template variables can be case-insensitive.
put(String, Object) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
expose an arbitrary object in this hash model
put(String, Record) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
expose data from a record by key
put(String, TemplateModel) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
 

R

randomAlphaNumString(int) - Static method in class com.revusky.oreo.util.Util
generate a random alphanum string of the given length.
readExternal(ObjectInput) - Method in class com.revusky.oreo.DefaultRecord
 
readObject() - Method in class com.revusky.oreo.DefaultRecordInputStream
Read the next record off the stream.
rec - Variable in class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper
 
Record - interface com.revusky.oreo.Record.
An interface that describes the canonical methods of a data record in the Oreo Object-Relational Layer.
RECORD_DELETED - Static variable in class com.revusky.oreo.DataEvent
event type for deleting a record
RECORD_INSERTED - Static variable in class com.revusky.oreo.DataEvent
event type for inserting a record
RECORD_UPDATED - Static variable in class com.revusky.oreo.DataEvent
event type for replacing a record
recordDeleted(DataEvent) - Method in class com.revusky.oreo.inmemory.InMemoryIndex
Listener notified when a record has been deleted.
RecordDescriptor - interface com.revusky.oreo.RecordDescriptor.
A metadata object that describes what is in a record.
RecordFilter - interface com.revusky.oreo.RecordFilter.
An interface for objects that can filter a set of records based on some criterion.
RecordMetadata - class com.revusky.oreo.metadata.RecordMetadata.
An implementation of the RecordDescriptor interface.
RecordMetadata() - Constructor for class com.revusky.oreo.metadata.RecordMetadata
 
RecordReference - class com.revusky.oreo.RecordReference.
An object that represents a weak or soft reference to an underlying Record object.
RecordReference(Record) - Constructor for class com.revusky.oreo.RecordReference
 
RecordReference(Record, ReferenceQueue) - Constructor for class com.revusky.oreo.RecordReference
 
RecordWrapper - class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper.
A freemarker template model specifically designed to "wrap" a niggle data record.
RecordWrapper() - Constructor for class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper
 
recordWrapperClass - Static variable in class com.revusky.niggle.templates.PresentationWrapper
 
recover(IOException) - Method in class com.revusky.niggle.servlet.ServletInteraction
override this method to provide some default exception handling for when an execXXX method fails for whatever reason.
recType() - Method in interface com.revusky.oreo.RecordFilter
says what kind of record type we are looking for, i.e.
recType() - Method in class com.revusky.oreo.predicates.TypeFilter
 
recType() - Method in class com.revusky.oreo.predicates.ClassConstraint
 
recType() - Method in class com.revusky.oreo.predicates.SimplePredicate
 
recType() - Method in class com.revusky.oreo.predicates.CompoundPredicate
 
redirectAction(String) - Method in class com.revusky.niggle.servlet.ServletInteraction
redirects the browser to the URL corresponding to a given action.
reexposeServletParams() - Method in class com.revusky.niggle.servlet.ServletInteraction
A convenience method to expose all of the servlet request's parameters as template variables
ref - Variable in class com.revusky.oreo.RecordReference
 
reflectionCheck(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper
This method allows us to automatically expose "variables" via the getXXX naming patterns within record subtype classes.
regexp - Variable in class com.revusky.oreo.metadata.StringField
The regexp that expresses a constraint that the field must satisfy.
regexpString - Variable in class com.revusky.oreo.metadata.StringField
 
registerDataSource(DataSource) - Method in interface com.revusky.oreo.DataRegistry
register a DataSource by its unique name
registerDataSource(DataSource) - Method in class com.revusky.oreo.DataRegistryImpl
 
registerDataSource(DataSourceMetadata) - Method in interface com.revusky.oreo.DataRegistry
register the metadata for a DataSource by its unique name.
registerDataSource(DataSourceMetadata) - Method in class com.revusky.oreo.DataRegistryImpl
 
registerDataSourceAlias(String, DataSourceMetadata) - Method in interface com.revusky.oreo.DataRegistry
 
registerDataSourceAlias(String, DataSourceMetadata) - Method in class com.revusky.oreo.DataRegistryImpl
 
registerRecordType(RecordDescriptor) - Method in interface com.revusky.oreo.DataRegistry
Register the metadata for a record type.
registerRecordType(RecordDescriptor) - Method in class com.revusky.oreo.DataRegistryImpl
 
remove(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyHash
Overloaded so that the template variables can be case-insensitive.
removeDataListener(DataListener) - Method in class com.revusky.oreo.AbstractMutableDataSource
 
removeDataListener(DataListener) - Method in interface com.revusky.oreo.MutableDataSource
Remove a listener that gets notified if ever a record is inserted, updated or deleted.
request - Variable in class com.revusky.niggle.servlet.ServletInteraction
 
resolveEntity(String, String) - Method in class com.revusky.oreo.metadata.ClasspathEntityResolver
Tries to resolve an entity relative to the classloader's search path.
resolveEntity(String, String) - Method in class com.revusky.oreo.xml.GZEntityResolver
 
ResourceBundleWrapper - class com.revusky.niggle.templates.ResourceBundleWrapper.
An object specifically designed to "wrap" a Resource bundle containing externalized strings for a template engine that uses the get() hook, like WebMacro or Velocity
ResourceBundleWrapper(ResourceBundle) - Constructor for class com.revusky.niggle.templates.ResourceBundleWrapper
 
response - Variable in class com.revusky.niggle.servlet.ServletInteraction
Our HTML response back to the user.
restoreReferent(String, Object) - Method in class com.revusky.oreo.RecordReference
A method that should restore the referent (i.e.
rethrow(Throwable) - Static method in class com.revusky.oreo.util.Assert
convenience method to rethrow an exception as a RuntimeException.
retrieveValues(String, Object) - Method in class com.revusky.oreo.jdbc.JDBCConnection
 
rewind() - Method in class com.revusky.niggle.templates.freemarkerimpl.LazyList
 
rollback(String) - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
Roll back the transaction
rotateLog() - Method in class com.revusky.oreo.xml.DataLogger
 

S

select(RecordFilter) - Method in interface com.revusky.oreo.MutableDataSource
Fetches a list of records matching filter.
select(RecordFilter) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
select(RecordFilter) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
select(RecordFilter) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
select(RecordFilter, String) - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
 
selectRecords(String, RecordFilter, boolean) - Method in class com.revusky.oreo.jdbc.JDBCConnection
Wraps the Statement.executeQuery
ServletInteraction - class com.revusky.niggle.servlet.ServletInteraction.
An abstract class that encapsulates the various paths of execution involved in fulfilling a servlet request.
ServletInteraction(HttpServletRequest, HttpServletResponse, NiggleConfig) - Constructor for class com.revusky.niggle.servlet.ServletInteraction
 
ServletLog - class com.revusky.oreo.util.ServletLog.
A class that implements the com.revusky.oreo.util.Log interface by wrapping the built-in logging functionality in the ServletContext
ServletLog(ServletContext) - Constructor for class com.revusky.oreo.util.ServletLog
 
session - Variable in class com.revusky.niggle.servlet.ServletInteraction
Our session, assuming we have one, and we are using the servlet womb's default session-tracking scheme.
sessionID - Variable in class com.revusky.niggle.servlet.ServletInteraction
The session ID.
set(FieldDescriptor, Object) - Method in interface com.revusky.oreo.Record
Low-level method to set an individual field value concrete implementations will probably wrap this.
set(FieldDescriptor, Object) - Method in class com.revusky.oreo.DefaultRecord
 
set(FieldDescriptor, Object) - Method in class com.revusky.oreo.RecordReference
 
set(int, Object) - Method in class com.revusky.oreo.DefaultRecord
 
set(String, Object) - Method in interface com.revusky.oreo.Record
Method to set the value of a field by name.
set(String, Object) - Method in class com.revusky.oreo.DefaultRecord
 
set(String, Object) - Method in class com.revusky.oreo.RecordReference
 
setClassLoader(ClassLoader) - Static method in class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader
 
setConfig(NiggleConfig) - Method in interface com.revusky.niggle.templates.PageFactory
pass a copy of the NiggleConfig object for setup info.
setConfig(NiggleConfig) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
setConfig(NiggleConfig) - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPageFactory
 
setConfig(NiggleConfig) - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPageFactory
 
setContentType(String) - Method in class com.revusky.niggle.templates.PresentationWrapper
 
setDefaultPath(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
setDefaultRegistry(DataRegistry) - Static method in class com.revusky.oreo.DataRegistryImpl
Optional hook to call if you want to substitute a custom DataRegistry implementation for the default one.
setDefaultValue(Object) - Method in class com.revusky.oreo.metadata.Field
 
setFatal(boolean) - Static method in class com.revusky.oreo.util.Assert
Set fatal to true to cause system exit
setFilename(String) - Method in class com.revusky.oreo.util.FileLog
Set the value of the file.
setInitParameter(String, String) - Method in class com.revusky.niggle.servlet.NiggleConfig
 
setLocale(Locale) - Method in class com.revusky.oreo.DataException
 
setLog(Log) - Static method in class com.revusky.oreo.util.Logger
Set the value of log.
setLogFileName(String) - Static method in class com.revusky.oreo.util.Logger
Set the log file name.
setLogFileName(String, boolean) - Static method in class com.revusky.oreo.util.Logger
Set the log file name.
setLogLevel(int) - Static method in class com.revusky.oreo.util.Logger
Set the log level.
setMetadata(RecordDescriptor) - Method in interface com.revusky.oreo.Record
Method only used internally.
setMetadata(RecordDescriptor) - Method in class com.revusky.oreo.DefaultRecord
 
setMetadata(RecordDescriptor) - Method in class com.revusky.oreo.RecordReference
 
setPath(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
 
setPrimaryKey(Object) - Method in interface com.revusky.oreo.Record
set the value of this record's primary key.
setPrimaryKey(Object) - Method in class com.revusky.oreo.DefaultRecord
 
setPrimaryKey(Object) - Method in class com.revusky.oreo.RecordReference
 
setPrintStream(PrintStream) - Method in class com.revusky.oreo.util.ConsoleLog
Set the value of printStream.
setRecord(Record) - Method in class com.revusky.niggle.templates.PresentationWrapper
 
setRecord(Record) - Method in class com.revusky.niggle.templates.freemarkerimpl.RecordWrapper
 
setRecord(Record) - Method in class com.revusky.oreo.DataException
 
setRecordWrapperClass(Class) - Static method in class com.revusky.niggle.templates.PresentationWrapper
 
setRemoteRegistry(DataRegistry) - Method in class com.revusky.oreo.DataRegistryImpl
Set a second DataRegistry source that will be used if the type is not found locally.
setSearchPath(String) - Static method in class com.revusky.niggle.templates.velocityimpl.CustomResourceLoader
 
setServletContext(ServletContext) - Static method in class com.revusky.oreo.util.Logger
 
setSessionContext(ServletInteraction) - Method in class com.revusky.niggle.templates.PresentationWrapper
 
SimplePredicate - class com.revusky.oreo.predicates.SimplePredicate.
A Predicate that represents a simple comparison filter.
SimplePredicate(int, String, String, Object, Comparator) - Constructor for class com.revusky.oreo.predicates.SimplePredicate
 
SimplePredicate(int, String, String, Object, Comparator, boolean) - Constructor for class com.revusky.oreo.predicates.SimplePredicate
 
size() - Method in interface com.revusky.oreo.RecordDescriptor
The number of fields in the record.
size() - Method in class com.revusky.oreo.metadata.RecordMetadata
 
SmartScalar - class com.revusky.niggle.templates.freemarkerimpl.SmartScalar.
A freemarker template model that is aware of HTML entities.
SmartScalar(boolean) - Constructor for class com.revusky.niggle.templates.freemarkerimpl.SmartScalar
 
SmartScalar(String) - Constructor for class com.revusky.niggle.templates.freemarkerimpl.SmartScalar
 
SmartScalar(String, boolean) - Constructor for class com.revusky.niggle.templates.freemarkerimpl.SmartScalar
 
sqlEquivalent() - Method in interface com.revusky.oreo.RecordFilter
 
sqlEquivalent() - Method in class com.revusky.oreo.predicates.TypeFilter
 
sqlEquivalent() - Method in class com.revusky.oreo.predicates.ClassConstraint
 
sqlEquivalent() - Method in class com.revusky.oreo.predicates.SimplePredicate
 
sqlEquivalent() - Method in class com.revusky.oreo.predicates.CompoundPredicate
 
SQLQueryUtil - class com.revusky.oreo.predicates.SQLQueryUtil.
a holder for various utility routines for parsing and building SQL queries.
SQLQueryUtil() - Constructor for class com.revusky.oreo.predicates.SQLQueryUtil
 
sqlType - Variable in class com.revusky.oreo.metadata.Field
 
SQLUtil - class com.revusky.oreo.jdbc.SQLUtil.
A holder for some JDBC/SQL-related convenience routines
SQLUtil() - Constructor for class com.revusky.oreo.jdbc.SQLUtil
 
STATUS_KEY - Static variable in class com.revusky.oreo.DefaultRecord
The special reserved name of the status pseudo-key.
StringField - class com.revusky.oreo.metadata.StringField.
Field metadata that represents a field with a string value.
StringField() - Constructor for class com.revusky.oreo.metadata.StringField
 

T

templateCache - Variable in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
timeToRotate(DataEvent) - Method in class com.revusky.oreo.xml.DataLogger
 
TimeZoneField - class com.revusky.oreo.metadata.TimeZoneField.
A descriptor for a field that holds a time zone
TimeZoneField() - Constructor for class com.revusky.oreo.metadata.TimeZoneField
 
toByteEncodedString(String) - Static method in class com.revusky.oreo.util.Util
 
toDoubleQuoteLiteral(String) - Static method in class com.revusky.oreo.util.Util
A convenience routine that switches a string with possibly embedded \' to '' for escaping the single quote character.
toString() - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPage
 
toString() - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroPage
 
toString() - Method in class com.revusky.niggle.templates.webmacroimpl.WebMacroTemplate
 
toString() - Method in class com.revusky.niggle.templates.velocityimpl.VelocityPage
 
toString() - Method in class com.revusky.oreo.DefaultRecord
Provides a default string representation of the record for a human-readable flat-file persistence scheme.
toString() - Method in class com.revusky.oreo.AntiRecord
 
toString() - Method in class com.revusky.oreo.RecordReference
 
toString() - Method in class com.revusky.oreo.metadata.Field
 
toString() - Method in class com.revusky.oreo.metadata.DataSourceMetadata
outputs the key:value pairs that make up this metadata object.
toString() - Method in class com.revusky.oreo.util.EmailAddress
 
toXML(Record) - Static method in class com.revusky.oreo.xml.XMLOutput
Utility routine to turn a Record into an XML-formatted string.
Transaction - class com.revusky.oreo.transaction.Transaction.
 
Transaction(TransactionalDataSource, String) - Constructor for class com.revusky.oreo.transaction.Transaction
 
TransactionalDataSource - interface com.revusky.oreo.transaction.TransactionalDataSource.
An interface that represents the contract of an Oreo DataSource that supports atomic transactions
type - Variable in class com.revusky.oreo.DataEvent
either RECORD_INSERTED, RECORD_DELETED or RECORD_UPDATED
TYPE_KEY - Static variable in class com.revusky.oreo.DefaultRecord
The special reserved name of the type pseudo-key.
TypeFilter - class com.revusky.oreo.predicates.TypeFilter.
A simple RecordFilter implementation that simply makes sure that a record is of a given type.
TypeFilter(String) - Constructor for class com.revusky.oreo.predicates.TypeFilter
 

U

unauthorized() - Method in class com.revusky.niggle.servlet.ServletInteraction
Override this method to handle this condition more gracefully.
UNION - Static variable in class com.revusky.oreo.predicates.CompoundPredicate
 
uniqueKey(Record) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
UnknownRecordTypeException - exception com.revusky.oreo.UnknownRecordTypeException.
exception thrown when an customized object input stream encounters a record type that it doesn't know about.
UnknownRecordTypeException() - Constructor for class com.revusky.oreo.UnknownRecordTypeException
 
UnknownRecordTypeException(String) - Constructor for class com.revusky.oreo.UnknownRecordTypeException
 
UPDATE_MARKER - Static variable in class com.revusky.oreo.DefaultRecordInputStream
 
update(Record, Record) - Method in interface com.revusky.oreo.MutableDataSource
Replaces an existing version of a record with a new updated version.
update(Record, Record) - Method in class com.revusky.oreo.inmemory.InMemoryRecordSet
 
update(Record, Record) - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
update(Record, Record) - Method in class com.revusky.oreo.xml.XMLFileDataSource
 
update(Record, String) - Method in interface com.revusky.oreo.transaction.TransactionalDataSource
update the Record taking into account the transaction which this is part of.
updateCacheInfo(Record) - Method in class com.revusky.oreo.RecordReference
updates the information held in the reference wrapper.
URLField - class com.revusky.oreo.metadata.URLField.
Field descriptor that describes a field that must be a valid URL
URLField() - Constructor for class com.revusky.oreo.metadata.URLField
 
userID - Variable in class com.revusky.niggle.servlet.ServletInteraction
Login ID of the current user.
Util - class com.revusky.oreo.util.Util.
Dumping ground for utility functions that are more or less general-purpose.
Util() - Constructor for class com.revusky.oreo.util.Util
 

V

ValidatingRecordInput - interface com.revusky.oreo.ValidatingRecordInput.
A marker interface that indicates that records should be validated as they are read in.
valueToString(Object) - Method in interface com.revusky.oreo.FieldDescriptor
returns the preferred the String representation of the object in question.
valueToString(Object) - Method in class com.revusky.oreo.metadata.Field
 
valueToString(Object) - Method in class com.revusky.oreo.metadata.StringField
 
valueToString(Object) - Method in class com.revusky.oreo.metadata.DateField
synchronized because DateFormat is not synchronized
valueToString(Object) - Method in class com.revusky.oreo.metadata.TimeZoneField
 
VelocityPage - class com.revusky.niggle.templates.velocityimpl.VelocityPage.
An implementation of the com.revusky.niggle.templates.Page interface that uses the Velocity template engine.
VelocityPage(Template, Context, Locale, ClassLoader) - Constructor for class com.revusky.niggle.templates.velocityimpl.VelocityPage
Creates a new VelocityPage.
VelocityPageFactory - class com.revusky.niggle.templates.velocityimpl.VelocityPageFactory.
A concrete PageFactory type that vends Page objects that wrap Velocity template objects
VelocityPageFactory() - Constructor for class com.revusky.niggle.templates.velocityimpl.VelocityPageFactory
 

W

warning(SAXParseException) - Method in class com.revusky.oreo.metadata.DefaultErrorHandler
 
WebMacroPage - class com.revusky.niggle.templates.webmacroimpl.WebMacroPage.
An implementation of the com.revusky.niggle.templates.Page interface that uses the WebMacro template engine.
WebMacroPage(Template, Context, Locale, ClassLoader) - Constructor for class com.revusky.niggle.templates.webmacroimpl.WebMacroPage
Creates a new WebMacroPage.
WebMacroPageFactory - class com.revusky.niggle.templates.webmacroimpl.WebMacroPageFactory.
A concrete PageFactory type that vends Page objects that wrap WebMacro template objects
WebMacroPageFactory() - Constructor for class com.revusky.niggle.templates.webmacroimpl.WebMacroPageFactory
 
WebMacroTemplate - class com.revusky.niggle.templates.webmacroimpl.WebMacroTemplate.
 
WebMacroTemplate(String, Broker, URL, String) - Constructor for class com.revusky.niggle.templates.webmacroimpl.WebMacroTemplate
 
where(String) - Static method in class com.revusky.oreo.predicates.SQLQueryUtil
 
wipeCache() - Method in class com.revusky.oreo.AbstractDataSource
 
wipeCache() - Method in interface com.revusky.oreo.DataSource
If this data source is backed by some external mechanism, like an RDBMS, wipes the in-memory cache, if one is being maintained.
wipeCache() - Method in class com.revusky.oreo.jdbc.JDBCBackedRecordSet
 
wrapString(String) - Method in class com.revusky.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
writeExternal(ObjectOutput) - Method in class com.revusky.oreo.DefaultRecord
 
writeObject(Object) - Method in class com.revusky.oreo.DefaultRecordOutputStream
Serialise object in ASCII format xx=yyy

X

XMLFileDataSource - class com.revusky.oreo.xml.XMLFileDataSource.
A class that uses an XML-based persistence scheme.
XMLFileDataSource() - Constructor for class com.revusky.oreo.xml.XMLFileDataSource
 
XMLOutput - class com.revusky.oreo.xml.XMLOutput.
 
XMLOutput() - Constructor for class com.revusky.oreo.xml.XMLOutput
 

Z

ZERO - Static variable in class com.revusky.oreo.util.Util
A zero integer wrapper, defined statically here to avoid replications

A B C D E F G H I J K L M N O P R S T U V W X Z