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

A

AbstractDataSource - class com.niggle.data.AbstractDataSource.
An possible base class for DataSource implementations.
AbstractDataSource() - Constructor for class com.niggle.data.AbstractDataSource
Our constructor must throw the exception since the superclass's constructor does.
AbstractJNDIRecord - class com.niggle.data.jndi.AbstractJNDIRecord.
 
AbstractJNDIRecord() - Constructor for class com.niggle.data.jndi.AbstractJNDIRecord
 
AbstractMutableDataSource - class com.niggle.data.AbstractMutableDataSource.
An possible base class for MutableDataSource implementations.
AbstractMutableDataSource() - Constructor for class com.niggle.data.AbstractMutableDataSource
Our constructor must throw the exception since the superclass's constructor does.
accept(Record) - Method in interface com.niggle.data.RecordFilter
The method that determines whether the record gets through the filter.
accept(Record) - Method in class com.niggle.data.RecordFilter.NullFilter
 
accept(Record) - Method in class com.niggle.data.RecordFilter.ClassConstraint
 
accept(Record) - Method in class com.niggle.data.RecordFilter.FieldConstraint
 
accept(Record) - Method in class com.niggle.data.RecordFilter.TypeConstraint
 
accept(Record) - Method in class com.niggle.data.RecordFilter.UnionFilter
 
accept(Record) - Method in class com.niggle.data.RecordFilter.IntersectionFilter
 
accept(Record) - Method in class com.niggle.data.RecordFilter.NegationFilter
 
action - Variable in class com.niggle.servlet.ServletInteraction
name of the current action being executed by this ServletInteraction instance
ACTION_KEY - Static variable in interface com.niggle.servlet.NiggleConstants
A key used to identify an action, what the server should do with the incoming CGI form messages.
addDataListener(DataListener) - Method in class com.niggle.data.AbstractMutableDataSource
 
addDataListener(DataListener) - Method in interface com.niggle.data.DataChangeNotifier
Add a listener that gets notified if ever a record is inserted, updated or deleted.
addToEnvironment(String, Object) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
AntiRecord - class com.niggle.data.AntiRecord.
An AntiRecord is to a regular record like Anti-matter is to matter.
AntiRecord(Record) - Constructor for class com.niggle.data.AntiRecord
 
arrayAsEnumeration(Object[]) - Static method in class com.niggle.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.niggle.util.Assert.
A helper class that gives us functionality equivalent to C's stdlib assert() macro.
Assert() - Constructor for class com.niggle.util.Assert
 
assert(boolean) - Static method in class com.niggle.util.Assert
 
assert(boolean, String) - Static method in class com.niggle.util.Assert
The most basic assertion test - a boolean test with a message explaining it.
AssertionFailedException - exception com.niggle.util.AssertionFailedException.
Runtime exception to indicate that an assertion has failed.
AssertionFailedException() - Constructor for class com.niggle.util.AssertionFailedException
 
AssertionFailedException(String) - Constructor for class com.niggle.util.AssertionFailedException
 
AssertionFailedException(String, Throwable) - Constructor for class com.niggle.util.AssertionFailedException
Create a new AssertionFailedException from an existing exception.
AssertionFailedException(Throwable) - Constructor for class com.niggle.util.AssertionFailedException
Create a new AssertionFailedException wrapping an existing exception.
attach(MutableDataSource) - Method in class com.niggle.data.inmemory.InMemoryIndex
Called to run over a RecordManager's entire set of elements and index them.
attrs - Variable in class com.niggle.data.jndi.AbstractJNDIRecord
 

B

bind(Name, Object) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
bind(Name, Object, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
bind(String, Object) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
bind(String, Object, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
BooleanField - class com.niggle.data.metadata.BooleanField.
A FieldDescriptor that describes a field with a boolean true/false value.
BooleanField() - Constructor for class com.niggle.data.metadata.BooleanField
 

C

cacheRecord(Record) - Method in class com.niggle.data.inmemory.InMemoryIndex
add a record, and index it.
canWriteToFile(String) - Static method in class com.niggle.util.Assert
convenient method that throws an IOException if the file cannot be written to.
capitalizeFirstLetter(String) - Static method in class com.niggle.data.metadata.Field
 
checkSessionInfo() - Method in class com.niggle.servlet.ServletInteraction
Method to call if a given action requires a valid session.
checkValidity() - Method in class com.niggle.data.DefaultRecord
Check if the record's data is valid.
checkValidValue(Record, Object) - Method in interface com.niggle.data.FieldDescriptor
Check whether this object is a valid value for this field of the given record.
checkValidValue(Record, Object) - Method in class com.niggle.data.metadata.Field
 
checkValidValue(Record, Object) - Method in class com.niggle.data.metadata.NumericalField
Note that the min-max interval is [min, max) following python range semantics.
checkValidValue(Record, Object) - Method in class com.niggle.data.metadata.StringField
 
checkValidValue(Record, Object) - Method in class com.niggle.data.metadata.EnumField
 
checkValidValue(Record, Object) - Method in class com.niggle.data.metadata.StringArrayField
 
checkValidValue(Record, Object) - Method in class com.niggle.data.metadata.IntArrayField
 
checkValidValue(Record, Object) - Method in class com.niggle.data.metadata.URLField
 
cl - Variable in class com.niggle.data.RecordFilter.ClassConstraint
 
ClasspathEntityResolver - class com.niggle.data.metadata.ClasspathEntityResolver.
Resolve entities from the classpath.
ClasspathEntityResolver() - Constructor for class com.niggle.data.metadata.ClasspathEntityResolver
 
ClasspathEntityResolver(ClassLoader) - Constructor for class com.niggle.data.metadata.ClasspathEntityResolver
 
clear() - Method in class com.niggle.data.inmemory.InMemoryIndex
clear the cache -- wipe out the entire index structure.
clearData() - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
Clears out the hash
clearFields() - Method in class com.niggle.data.DefaultRecord
set the fields to their default values.
clearFields() - Method in class com.niggle.data.RecordReference
 
clearFields() - Method in interface com.niggle.data.Record
reset the fields to their default state The record must be in a mutable state.
close() - Method in class com.niggle.data.AbstractMutableDataSource
 
close() - Method in interface com.niggle.data.DataSource
A method that should be called to free any resources associated with the data source.
close() - Method in class com.niggle.data.inmemory.InMemoryRecordSet
 
close() - Method in class com.niggle.data.inmemory.InMemoryIndex
 
close() - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
close() - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
close() - Method in class com.niggle.data.jdbc.JDBCConnection
 
com.niggle.data - package com.niggle.data
 
com.niggle.data.inmemory - package com.niggle.data.inmemory
 
com.niggle.data.jdbc - package com.niggle.data.jdbc
 
com.niggle.data.jndi - package com.niggle.data.jndi
 
com.niggle.data.metadata - package com.niggle.data.metadata
 
com.niggle.servlet - package com.niggle.servlet
 
com.niggle.templates - package com.niggle.templates
 
com.niggle.templates.freemarkerimpl - package com.niggle.templates.freemarkerimpl
 
com.niggle.util - package com.niggle.util
 
composeName(Name, Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
composeName(String, String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
config - Variable in class com.niggle.servlet.ServletInteraction
The information that contains the niggle servlet config info.
ConsoleLog - class com.niggle.util.ConsoleLog.
Make System.(out|err) support the LogIF interface.
ConsoleLog() - Constructor for class com.niggle.util.ConsoleLog
 
ConsoleLog(PrintStream) - Constructor for class com.niggle.util.ConsoleLog
 
contentType - Variable in class com.niggle.templates.PresentationWrapper
 
convert(String) - Method in class com.niggle.templates.freemarkerimpl.SmartScalar
 
convertHTMLEntities(String) - Static method in class com.niggle.util.Util
Converts the literal characters in a string to HTML entities as need be.
copyFieldsByName(Record, Record) - Static method in class com.niggle.data.DataUtil
convenience routine for transitioning records.
createNestedHash(Map) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
createNewSession() - Method in class com.niggle.servlet.ServletInteraction
 
createRecordWrapper(Record, ServletInteraction, String) - Static method in class com.niggle.templates.PresentationWrapper
create a RecordTemplate of the appropriate class to wrap the given record, reusing the context info.
createReference(Record, ReferenceQueue) - Method in class com.niggle.data.RecordReference
 
createSubcontext(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
createSubcontext(Name, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
createSubcontext(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
createSubcontext(String, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
createWrapper(Object) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
CrudeDataPersister - class com.niggle.data.inmemory.CrudeDataPersister.
A data listener that persists using an extremely crude scheme.
CrudeDataPersister(MutableDataSource, String, int) - Constructor for class com.niggle.data.inmemory.CrudeDataPersister
This constructor automatically adds this object to the list of listeners of the specified DataSource

D

DataChangeNotifier - interface com.niggle.data.DataChangeNotifier.
Interface implemented by objects that will send out notifications about data changes.
DataEvent - class com.niggle.data.DataEvent.
An event that encapsulates something happening in a RecordManager -- the insertion, deletion or updating of a record
DataEvent(DataSource, int, Record, Record) - Constructor for class com.niggle.data.DataEvent
Create a new DataEvent
DataException - exception com.niggle.data.DataException.
The base exception for niggle data.
DataException(Record, Exception) - Constructor for class com.niggle.data.DataException
 
DataException(Record, String) - Constructor for class com.niggle.data.DataException
 
DataListener - interface com.niggle.data.DataListener.
The interface implemented by objects that listen to data-related events thrown by instances of com.niggle.data.MutableDataSource.
DataRegistry - interface com.niggle.data.DataRegistry.
The interface implemented by objects that vend "virgin" instances of a Record.
DataRegistryImpl - class com.niggle.data.DataRegistryImpl.
This object plays a central role in the niggle framework.
DataRegistryImpl() - Constructor for class com.niggle.data.DataRegistryImpl
 
DataSource - interface com.niggle.data.DataSource.
a marker interface representing objects that contain a set of Records indexed by a lookup key
DataSourceMetadata - class com.niggle.data.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.niggle.data.DataUtil.
a holder for various useful static routines dealing with niggle data
DataUtil() - Constructor for class com.niggle.data.DataUtil
 
DateField - class com.niggle.data.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.niggle.data.metadata.DateField
 
decodeMultiLineString(String) - Method in class com.niggle.data.metadata.StringField
Deal with a string with embedded \n literals for newlines.
defaultDirectory - Variable in class com.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
DefaultRecord - class com.niggle.data.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.niggle.data.DefaultRecord
 
DefaultRecordInputStream - class com.niggle.data.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.niggle.data.DefaultRecordInputStream
a convenience constructor that takes a File argument.
DefaultRecordInputStream(InputStream) - Constructor for class com.niggle.data.DefaultRecordInputStream
Constructor, given stream
DefaultRecordOutputStream - class com.niggle.data.DefaultRecordOutputStream.
An implementation of ObjectOutput for spitting out niggle records onto a stream in their default flat-file format.
DefaultRecordOutputStream(OutputStream) - Constructor for class com.niggle.data.DefaultRecordOutputStream
 
DefaultRecordOutputStream(String) - Constructor for class com.niggle.data.DefaultRecordOutputStream
A convenience constructor that takes a filename argument.
defaultValue() - Method in interface com.niggle.data.FieldDescriptor
returns this field's "default value".
defaultValue() - Method in class com.niggle.data.metadata.Field
 
defaultValue() - Method in class com.niggle.data.metadata.DateField
 
defaultValueString - Variable in class com.niggle.data.metadata.Field
 
delete(Object) - Method in class com.niggle.data.AbstractMutableDataSource
 
delete(Object) - Method in interface com.niggle.data.MutableDataSource
This is equivalent to delete(null, key)
delete(String, Object) - Method in interface com.niggle.data.MutableDataSource
Delete a record given its primary lookup key.
delete(String, Object) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
 
delete(String, Object) - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
delete(String, Object) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
 
DELETION_MARKER - Static variable in class com.niggle.data.DefaultRecordInputStream
 
destroySubcontext(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
destroySubcontext(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
dispatch() - Method in class com.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.niggle.servlet.NiggleConfig
Dispatches the request based on the action
displayError(String, String, String) - Method in class com.niggle.servlet.ServletInteraction
 
displayLogin() - Method in class com.niggle.servlet.ServletInteraction
Throw up the login page template,
displayMessage(String, String, String) - Method in class com.niggle.servlet.ServletInteraction
 
dispose() - Method in class com.niggle.util.FileLock
Deletes the file associated with the current lock object.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.niggle.servlet.NiggleServlet
By default, a Niggle servlet treats a GET and a POST identically.
DOMUtil - class com.niggle.data.metadata.DOMUtil.
holder for various useful routines in manipulating a W3C DOM tree.
DOMUtil() - Constructor for class com.niggle.data.metadata.DOMUtil
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.niggle.servlet.NiggleServlet
This method implements the top-level flow of of control by which we handle a request.
DuplicateRecordException - exception com.niggle.data.DuplicateRecordException.
Thrown when a client tries to add a record that already exists.
DuplicateRecordException() - Constructor for class com.niggle.data.DuplicateRecordException
Constructs a DuplicateRecordException without a default message.
DuplicateRecordException(Record, String) - Constructor for class com.niggle.data.DuplicateRecordException
 
DuplicateRecordException(String) - Constructor for class com.niggle.data.DuplicateRecordException
Constructs a DuplicateRecordException with a detail message.

E

EMPTY_ENUM - Static variable in class com.niggle.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.niggle.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.niggle.data.metadata.StringField
 
EnumField - class com.niggle.data.metadata.EnumField.
A String field that only admits a set of possible string values.
EnumField() - Constructor for class com.niggle.data.metadata.EnumField
 
EnumTemplateModel - class com.niggle.templates.freemarkerimpl.EnumTemplateModel.
a freemarker template implementation that wraps an enumeration of strings.
EnumTemplateModel(String[], Locale) - Constructor for class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
EnumTemplateModel(String[], String, Locale) - Constructor for class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
equals(Object) - Method in class com.niggle.data.DefaultRecord
 
equals(Object) - Method in class com.niggle.data.RecordReference
 
equals(Object) - Method in class com.niggle.data.metadata.DataSourceMetadata
Checks for equality with another object.
ERROR_TEMPLATE - Static variable in interface com.niggle.servlet.NiggleConstants
 
execDefault() - Method in class com.niggle.servlet.ServletInteraction
default handler for requests in which no action is defined.
execLogin() - Method in class com.niggle.servlet.ServletInteraction
default handler for the "login" action.
execLogout() - Method in class com.niggle.servlet.ServletInteraction
default logout handler.
execStatic() - Method in class com.niggle.servlet.ServletInteraction
A default handler for "action=static", which will simply display a static page.
expose(String, boolean) - Method in interface com.niggle.templates.Page
Expose internal data, publishing it to make it available to a Freemarker Template.
expose(String, boolean) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPage
Convenience method really, since all Freemarker scalar variables are strings.
expose(String, Object) - Method in interface com.niggle.templates.Page
Expose internal data, publishing it to make it available to the page template.
expose(String, Object) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPage
expose internal data, publishing it to make it available to a Freemarker Template.
exposeDefaultVariables() - Method in class com.niggle.servlet.ServletInteraction
A hook that can be overridden to make sure that certain top-level template variables get exposed.

F

Field - class com.niggle.data.metadata.Field.
abstract base class for objects that represent the metadata relating to a record field.
Field() - Constructor for class com.niggle.data.metadata.Field
 
FieldDescriptor - interface com.niggle.data.FieldDescriptor.
An interface implemented by objects that describe the constraints on the field of a niggle data record.
fieldName - Variable in class com.niggle.data.RecordFilter.FieldConstraint
 
FileLock - class com.niggle.util.FileLock.
A file lock.
FileLock(String) - Constructor for class com.niggle.util.FileLock
Designated constructor.
FileLockException - exception com.niggle.util.FileLockException.
Thrown in the face of file lock problems, by the FileLock class.
FileLog - class com.niggle.util.FileLog.
This class provides logging to a file.
FileLog(String) - Constructor for class com.niggle.util.FileLog
Intstantiant an instance for a given file.
fillRecordFromResultSet(Record, ResultSet) - Static method in class com.niggle.data.jdbc.SQLUtil
 
fillRecordFromServletRequest(Record, ServletRequest) - Static method in class com.niggle.data.DataUtil
Given a ServletRequest and a record, attempts to fill in the record's fields.
findClass(String, ClassLoader) - Static method in class com.niggle.util.Util
 
fireDataEvent(DataEvent) - Method in class com.niggle.data.AbstractMutableDataSource
Fire a data event to the listeners.
forceUpdate(Record, Record) - Method in class com.niggle.data.AbstractMutableDataSource
 
forceUpdate(Record, Record) - Method in interface com.niggle.data.MutableDataSource
Replace an existing version of a record with a new updated version.
forceUpdate(Record, Record) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
Updates the entire record, regardless of whether or not it was modified by another user since it was retrieved from the data store.
forceUpdate(Record, Record) - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
FreemarkerPage - class com.niggle.templates.freemarkerimpl.FreemarkerPage.
An implementation of the com.niggle.templates.Page interface that uses the freemarker template library.
FreemarkerPage(Template, LazyHashModel) - Constructor for class com.niggle.templates.freemarkerimpl.FreemarkerPage
 
FreemarkerPage(Template, LazyHashModel, String) - Constructor for class com.niggle.templates.freemarkerimpl.FreemarkerPage
Creates a new FreemarkerPage.
FreemarkerPageFactory - class com.niggle.templates.freemarkerimpl.FreemarkerPageFactory.
A concrete PageFactory type that vends Page objects that represent Freemarker templates.
FreemarkerPageFactory() - Constructor for class com.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
FreemarkerPresentationWrapper - class com.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper.
 
FreemarkerPresentationWrapper() - Constructor for class com.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
freeze(Record) - Method in class com.niggle.data.AbstractMutableDataSource
Called to mark the record as immutable.
fromString(String) - Static method in class com.niggle.data.DataUtil
convenience routine to convert a string to a Record.

G

get(FieldDescriptor) - Method in class com.niggle.data.DefaultRecord
 
get(FieldDescriptor) - Method in class com.niggle.data.RecordReference
 
get(FieldDescriptor) - Method in interface com.niggle.data.Record
Deprecated. still exists for backward compatibility
get(int) - Method in class com.niggle.data.DefaultRecord
 
get(int) - Method in class com.niggle.data.RecordReference
 
get(int) - Method in interface com.niggle.data.Record
Low-level method to get the value of a field.
get(int) - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
get(int) - Method in class com.niggle.templates.freemarkerimpl.LazyListTemplate
 
get(Object) - Method in class com.niggle.data.AbstractDataSource
 
get(Object) - Method in interface com.niggle.data.DataSource
method that exists for backward compatibility This is equivalent to get(null, key);
get(String) - Method in class com.niggle.data.DefaultRecord
 
get(String) - Method in class com.niggle.data.RecordReference
 
get(String) - Method in interface com.niggle.data.Record
Low-level method to set the value of a field.
get(String) - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
get(String) - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
Overloaded so that the template variables can be case-insensitive.
get(String) - Method in class com.niggle.templates.freemarkerimpl.RecordTemplate
 
get(String, Object) - Method in interface com.niggle.data.DataSource
 
get(String, Object) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
 
get(String, Object) - Method in class com.niggle.data.inmemory.InMemoryIndex
 
get(String, Object) - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
get(String, Object) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
 
getAsString() - Method in class com.niggle.templates.freemarkerimpl.SmartScalar
 
getAsString() - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
getAttributes(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
 
getAttributes(Name, String[]) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
 
getAttributes(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Get all the attributes associated with this context.
getAttributes(String, String[]) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Return only the desired attributes.
getCopy(Object) - Method in interface com.niggle.data.FieldDescriptor
Used when encapsulation requires Record::getFieldValue() to return a clone of an object.
getCopy(Object) - Method in class com.niggle.data.metadata.Field
 
getCopy(Object) - Method in class com.niggle.data.metadata.DateField
 
getCopy(Object) - Method in class com.niggle.data.metadata.StringField
Massage a null into an empty string.
getCopy(Object) - Method in class com.niggle.data.metadata.StringArrayField
 
getCopy(Object) - Method in class com.niggle.data.metadata.IntArrayField
 
getCopy(Object) - Method in class com.niggle.data.metadata.HashtableField
 
getCreationDate() - Method in class com.niggle.data.DefaultRecord
 
getCreationDate() - Method in class com.niggle.data.RecordReference
 
getCreationDate() - Method in interface com.niggle.data.Record
convenience method that returns the value of the field that holds the record's creation timestamp.
getDataSource(String) - Method in interface com.niggle.data.DataRegistry
 
getDataSource(String) - Method in class com.niggle.data.DataRegistryImpl
 
getDataSourceNames() - Method in interface com.niggle.data.DataRegistry
 
getDataSourceNames() - Method in class com.niggle.data.DataRegistryImpl
 
getDefaultRegistry() - Static method in class com.niggle.data.DataRegistryImpl
 
getDisplayLocale() - Method in class com.niggle.data.DefaultRecord
Simply returns the default locale, subclasses can override this to do something more useful.
getDisplayLocale() - Method in class com.niggle.data.RecordReference
 
getDisplayLocale() - Method in interface com.niggle.data.Record
 
getDOM(String, ClassLoader) - Static method in class com.niggle.data.metadata.MetadataLoader
 
getEnvironment() - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getExemplar(String) - Method in interface com.niggle.data.DataRegistry
 
getExemplar(String) - Method in class com.niggle.data.DataRegistryImpl
 
getExemplar(String, int) - Method in interface com.niggle.data.DataRegistry
 
getExemplar(String, int) - Method in class com.niggle.data.DataRegistryImpl
 
getField(int) - Method in interface com.niggle.data.RecordDescriptor
 
getField(int) - Method in class com.niggle.data.metadata.RecordMetadata
 
getField(String) - Method in interface com.niggle.data.RecordDescriptor
 
getField(String) - Method in class com.niggle.data.metadata.RecordMetadata
 
getFieldDescriptors() - Method in interface com.niggle.data.RecordDescriptor
 
getFieldDescriptors() - Method in class com.niggle.data.metadata.RecordMetadata
 
getFilename() - Method in class com.niggle.util.FileLog
 
getInitParameter(String) - Method in class com.niggle.servlet.NiggleConfig
 
getInitParameterNames() - Method in class com.niggle.servlet.NiggleConfig
 
getInputStream(String) - Method in class com.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.niggle.util.Util
Gets the specified input stream, assuming that it may be a fully specified filename, OR relative to the classpath.
getInputStream(String, ClassLoader) - Static method in class com.niggle.util.Util
 
getInstance() - Method in class com.niggle.data.metadata.DataSourceMetadata
 
getJavaType() - Method in interface com.niggle.data.FieldDescriptor
The kind of java object that can live in this record field.
getJavaType() - Method in class com.niggle.data.metadata.Field
 
getJavaType() - Method in class com.niggle.data.metadata.NumericalField
 
getJavaType() - Method in class com.niggle.data.metadata.DateField
 
getJavaType() - Method in class com.niggle.data.metadata.StringField
 
getJavaType() - Method in class com.niggle.data.metadata.StringArrayField
 
getJavaType() - Method in class com.niggle.data.metadata.IntArrayField
 
getJavaType() - Method in class com.niggle.data.metadata.TimeZoneField
 
getJavaType() - Method in class com.niggle.data.metadata.HashtableField
 
getJavaType() - Method in class com.niggle.data.metadata.LocaleField
 
getJavaType() - Method in class com.niggle.data.metadata.BooleanField
 
getLastModified() - Method in class com.niggle.data.DefaultRecord
 
getLastModified() - Method in class com.niggle.data.RecordReference
 
getLastModified() - Method in interface com.niggle.data.Record
convenience method that returns the value of the field that holds the record's last modified timestamp.
getLocale() - Method in class com.niggle.servlet.ServletInteraction
 
getLocalizedMessage() - Method in class com.niggle.data.DataException
Currently, this method is rather half-baked.
getLocalizedName(Locale) - Method in interface com.niggle.data.FieldDescriptor
 
getLocalizedName(Locale) - Method in class com.niggle.data.metadata.Field
 
getLog() - Static method in class com.niggle.util.Logger
Get the value of log.
getMetadata() - Method in class com.niggle.data.DefaultRecord
 
getMetadata() - Method in class com.niggle.data.RecordReference
 
getMetadata() - Method in interface com.niggle.data.Record
 
getMetadata(String) - Method in interface com.niggle.data.DataRegistry
get record Metadata for the type and the highest version number available.
getMetadata(String) - Method in class com.niggle.data.DataRegistryImpl
 
getMetadata(String, int) - Method in interface com.niggle.data.DataRegistry
get record Metadata for the type and version.
getMetadata(String, int) - Method in class com.niggle.data.DataRegistryImpl
 
getMethodFromAction(ServletInteraction, String) - Method in class com.niggle.servlet.NiggleConfig
 
getMutableCopy() - Method in class com.niggle.data.DefaultRecord
create a clone.
getMutableCopy() - Method in class com.niggle.data.RecordReference
 
getMutableCopy() - Method in interface com.niggle.data.Record
create a clone.
getName() - Method in class com.niggle.data.AbstractDataSource
 
getName() - Method in interface com.niggle.data.FieldDescriptor
A unique name that identifies the field
getName() - Method in interface com.niggle.data.DataSource
 
getName() - Method in class com.niggle.data.inmemory.InMemoryIndex
 
getName() - Method in class com.niggle.data.metadata.DataSourceMetadata
 
getName() - Method in class com.niggle.data.metadata.Field
 
getNameInNamespace() - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getNameParser(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getNameParser(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getNested() - Method in class com.niggle.util.AssertionFailedException
the wrapped exception (or null)
getNestedException() - Method in class com.niggle.data.DataException
 
getObjectFromString(Record, String) - Method in interface com.niggle.data.FieldDescriptor
Given the string representation of a field, return its internal java object representation.
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.NumericalField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.DateField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.StringField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.EnumField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.StringArrayField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.IntArrayField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.TimeZoneField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.HashtableField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.LocaleField
 
getObjectFromString(Record, String) - Method in class com.niggle.data.metadata.BooleanField
 
getObjectInstance(Object, Name, Context, Hashtable) - Method in class com.niggle.data.jndi.JNDIRecordFactory
 
getObjectInstance(Object, Name, Context, Hashtable, Attributes) - Method in class com.niggle.data.jndi.JNDIRecordFactory
 
getPage(String) - Method in class com.niggle.servlet.ServletInteraction
 
getPage(String, ServletInteraction) - Method in interface com.niggle.templates.PageFactory
Returns a Page.
getPage(String, ServletInteraction) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
getPageFactory() - Method in class com.niggle.servlet.NiggleConfig
 
getParameter(String) - Method in class com.niggle.servlet.ServletInteraction
Check for presence of data field in CGI input.
getPossibleValues() - Method in class com.niggle.data.metadata.EnumField
 
getPresentationWrapperClass() - Method in interface com.niggle.data.RecordDescriptor
 
getPresentationWrapperClass() - Method in class com.niggle.data.metadata.RecordMetadata
 
getPrimaryKey() - Method in class com.niggle.data.DefaultRecord
 
getPrimaryKey() - Method in class com.niggle.data.AntiRecord
 
getPrimaryKey() - Method in class com.niggle.data.RecordReference
 
getPrimaryKey() - Method in interface com.niggle.data.Record
Retrieve the value of the record's primary key.
getPrimaryKeyField() - Method in interface com.niggle.data.RecordDescriptor
 
getPrimaryKeyField() - Method in class com.niggle.data.metadata.RecordMetadata
 
getPrimaryKeys(String) - Method in class com.niggle.data.jdbc.JDBCConnection
 
getPrintStream() - Method in class com.niggle.util.ConsoleLog
Get the value of printStream.
getRecord() - Method in class com.niggle.data.DataException
 
getRecord() - Method in class com.niggle.data.ImmutableDataException
 
getRecordClass() - Method in interface com.niggle.data.RecordDescriptor
 
getRecordClass() - Method in class com.niggle.data.metadata.RecordMetadata
 
getRecordNames() - Method in interface com.niggle.data.DataRegistry
 
getRecordNames() - Method in class com.niggle.data.DataRegistryImpl
 
getRecords(Object) - Method in class com.niggle.data.AbstractMutableDataSource
 
getRecords(Object) - Method in interface com.niggle.data.DataSource
 
getRecords(Object) - Method in class com.niggle.data.inmemory.InMemoryIndex
Use this routine to lookup if there may be multiple records with the same key.
getSchema(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getSchema(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getSchemaClassDefinition(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getSchemaClassDefinition(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
getServletContext() - Method in class com.niggle.servlet.NiggleConfig
 
getServletInfo() - Method in class com.niggle.servlet.NiggleServlet
 
getServletName() - Method in class com.niggle.servlet.NiggleConfig
 
getSessionManager() - Method in class com.niggle.servlet.NiggleConfig
 
getSQLType() - Method in interface com.niggle.data.FieldDescriptor
 
getSQLType() - Method in class com.niggle.data.metadata.Field
 
getTableName() - Method in interface com.niggle.data.RecordDescriptor
 
getTableName() - Method in class com.niggle.data.metadata.RecordMetadata
 
getTemplate(String, Locale) - Method in class com.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
 
getTemplate(String, Locale) - Method in interface com.niggle.templates.freemarkerimpl.LocalizedTemplateCache
 
getText(Element) - Static method in class com.niggle.data.metadata.DOMUtil
 
getType() - Method in class com.niggle.data.DefaultRecord
 
getType() - Method in class com.niggle.data.RecordReference
 
getType() - Method in interface com.niggle.data.Record
 
getType() - Method in interface com.niggle.data.RecordDescriptor
 
getType() - Method in class com.niggle.data.metadata.RecordMetadata
 
getTypeInfo() - Method in class com.niggle.data.DefaultRecordInputStream
Read the first line of the record data, which tells us what type of record this is.
getUnderlyingRecord() - Method in class com.niggle.data.RecordReference
 
getUniqueKey() - Method in class com.niggle.data.SessionImpl
 
getUniqueKey() - Method in interface com.niggle.data.Session
Get the unique key that identifies this session.
getURL(String) - Method in class com.niggle.servlet.ServletInteraction
Builds complete URL with query string corresponding to the given action and current context.
getUsername() - Method in class com.niggle.data.SessionImpl
 
getVersion() - Method in class com.niggle.data.DefaultRecord
 
getVersion() - Method in class com.niggle.data.RecordReference
 
getVersion() - Method in interface com.niggle.data.Record
a hook to be used by versioning schemes.
getVersion() - Method in interface com.niggle.data.RecordDescriptor
 
getVersion() - Method in class com.niggle.data.metadata.RecordMetadata
 
getWrappedFieldValue(FieldDescriptor) - Method in class com.niggle.templates.freemarkerimpl.RecordTemplate
wrap the field value as a Freemarker TemplateModel

H

handleException(HttpServletResponse, Exception) - Method in class com.niggle.servlet.NiggleServlet
redefine this method in a subclass if you want to throw in some extra default handling.
hasContent(String) - Static method in class com.niggle.servlet.ServletInteraction
check for empty strings.
hasContent(String) - Static method in class com.niggle.util.Util
 
hasContent(String) - Static method in class com.niggle.util.Assert
Special assertion for Strings.
hashCode() - Method in class com.niggle.data.metadata.Field
 
HashtableField - class com.niggle.data.metadata.HashtableField.
A descriptor for a field that represents a Hashtable.
HashtableField() - Constructor for class com.niggle.data.metadata.HashtableField
 
hasNext() - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
hasNext() - Method in class com.niggle.templates.freemarkerimpl.LazyListTemplate
 
hasParameter(String) - Method in class com.niggle.servlet.ServletInteraction
 
hasRedirected - Variable in class com.niggle.servlet.ServletInteraction
Indicates whether we handled the request by redirecting.
hasSession() - Method in class com.niggle.servlet.ServletInteraction
Indicates whether we have a session.
hasValidLoginInfo() - Method in class com.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

IllegalUserException - exception com.niggle.servlet.IllegalUserException.
An exception thrown when the servlet's user is not valid.
IllegalUserException(String) - Constructor for class com.niggle.servlet.IllegalUserException
 
ImmutableDataException - exception com.niggle.data.ImmutableDataException.
thrown when an attempt is made to modify data in an immutable data record.
ImmutableDataException() - Constructor for class com.niggle.data.ImmutableDataException
default constructor
ImmutableDataException(Record) - Constructor for class com.niggle.data.ImmutableDataException
 
ImmutableDataException(String) - Constructor for class com.niggle.data.ImmutableDataException
constructor
INDEX_FIELD_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
INDEX_FIELD_PREFIX_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
INDEX_FIELD_SUFFIX_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
indexOf(String) - Method in interface com.niggle.data.RecordDescriptor
 
indexOf(String) - Method in class com.niggle.data.metadata.RecordMetadata
 
inheritFrom(PresentationWrapper) - Method in class com.niggle.templates.PresentationWrapper
 
init(Element) - Method in class com.niggle.data.metadata.Field
 
init(Element) - Method in class com.niggle.data.metadata.NumericalField
 
init(Element) - Method in class com.niggle.data.metadata.DateField
 
init(Element) - Method in class com.niggle.data.metadata.StringField
 
init(Element) - Method in class com.niggle.data.metadata.EnumField
 
init(Element) - Method in class com.niggle.data.metadata.StringArrayField
 
init(Element) - Method in class com.niggle.data.metadata.IntArrayField
 
init(Element, ClassLoader) - Method in class com.niggle.data.metadata.DataSourceMetadata
 
init(Element, Map, ClassLoader) - Method in class com.niggle.data.metadata.RecordMetadata
fill in internal state from a DOM element
init(Properties) - Method in class com.niggle.data.AbstractDataSource
TODO
init(Properties) - Method in class com.niggle.data.AbstractMutableDataSource
TODO
init(Properties) - Method in interface com.niggle.data.DataSource
A method that initializes a DataSource with a set of initialization properties.
init(Properties) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
 
init(Properties) - Method in class com.niggle.data.inmemory.InMemoryIndex
 
init(Properties) - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
init(Properties) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
 
init(ServletConfig) - Method in class com.niggle.servlet.NiggleServlet
Servlet initialization.
initBaseClasses() - Method in class com.niggle.servlet.NiggleConfig
 
INITIAL_CONTEXT_FACTORY_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
initLogFile() - Method in class com.niggle.servlet.NiggleConfig
 
initPageFactory() - Method in class com.niggle.servlet.NiggleConfig
 
InMemoryIndex - class com.niggle.data.inmemory.InMemoryIndex.
An object that listens to the insert/update/delete events of a RecordManager and maintains a lookup table based on a certain field.
InMemoryIndex() - Constructor for class com.niggle.data.inmemory.InMemoryIndex
 
InMemoryIndex(String, String, Class, boolean) - Constructor for class com.niggle.data.inmemory.InMemoryIndex
A convenience constructor largely for backward compatibility.
InMemoryIndex(String, String, RecordFilter, boolean) - Constructor for class com.niggle.data.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.niggle.data.inmemory.InMemoryRecordSet.
A simple implementation of the com.niggle.data.MutableDataSource interface.
InMemoryRecordSet() - Constructor for class com.niggle.data.inmemory.InMemoryRecordSet
 
insert(Record) - Method in interface com.niggle.data.MutableDataSource
Adds a new record to the managed pool.
insert(Record) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
 
insert(Record) - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
insert(Record) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
 
INSERTION_MARKER - Static variable in class com.niggle.data.DefaultRecordInputStream
 
IntArrayField - class com.niggle.data.metadata.IntArrayField.
A descriptor for a field that represents an array of integer values
IntArrayField() - Constructor for class com.niggle.data.metadata.IntArrayField
 
interaction - Variable in class com.niggle.templates.PresentationWrapper
 
INVALID_ID - Static variable in interface com.niggle.data.Record
By convention, the integral value of the id of a record whose unique_id is unset.
invalidateSession() - Method in class com.niggle.servlet.ServletInteraction
 
invalidateSession(String) - Method in interface com.niggle.data.SessionManager
 
invalidateSession(String) - Method in class com.niggle.data.inmemory.SimpleSessionManager
Invalidates the current session (the result of a logout).
InvalidDataException - exception com.niggle.data.InvalidDataException.
thrown when there is an attempt to set data in some invalid way.
InvalidDataException(Record, String) - Constructor for class com.niggle.data.InvalidDataException
Create a new InvalidDataException
InvalidDataException(String) - Constructor for class com.niggle.data.InvalidDataException
Create a new InvalidDataException with no record specified.
InvalidFieldException - exception com.niggle.data.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.niggle.data.InvalidFieldException
 
InvalidFieldException(String) - Constructor for class com.niggle.data.InvalidFieldException
 
isAffirmative(String) - Static method in class com.niggle.data.metadata.DOMUtil
 
isClosed() - Method in class com.niggle.data.jdbc.JDBCConnection
 
isEmpty() - Method in class com.niggle.templates.freemarkerimpl.SmartScalar
 
isEmpty() - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
isEmpty() - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
 
isEmpty() - Method in class com.niggle.templates.freemarkerimpl.RecordTemplate
 
isEmpty() - Method in class com.niggle.templates.freemarkerimpl.LazyListTemplate
 
isFieldOf(Record) - Method in interface com.niggle.data.FieldDescriptor
Does this FieldDescriptor describe a field of the Record? Useful for sanity checks.
isFieldOf(Record) - Method in class com.niggle.data.metadata.Field
 
isImmutable() - Method in class com.niggle.data.DefaultRecord
Once a record is immutable, attempts to change data will result in an ImmutableDataException being thrown.
isImmutable() - Method in class com.niggle.data.AntiRecord
 
isImmutable() - Method in class com.niggle.data.RecordReference
 
isImmutable() - Method in interface com.niggle.data.Record
Have the fields all been set? Once a record is put in a DataSource, its fields are immutable.
isNegative(String) - Static method in class com.niggle.data.metadata.DOMUtil
 
isRemote() - Method in class com.niggle.data.metadata.DataSourceMetadata
 
isRequired() - Method in interface com.niggle.data.FieldDescriptor
Used in the core validity checks.
isRequired() - Method in class com.niggle.data.metadata.Field
 
isRewound() - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
isRewound() - Method in class com.niggle.templates.freemarkerimpl.LazyListTemplate
 
isStale() - Method in class com.niggle.data.DefaultRecord
 
isStale() - Method in class com.niggle.data.SessionImpl
Is this session stale (e.g.
isStale() - Method in class com.niggle.data.RecordReference
 
isStale() - Method in interface com.niggle.data.Record
Has this record been deleted or superseded in the associated DataSource?
isValidSession(String) - Method in class com.niggle.data.SessionImpl
Checks the validity of the session.
isValidSession(String) - Method in interface com.niggle.data.Session
Is this a valid session for the given username?
isValidSession(String, String) - Method in interface com.niggle.data.SessionManager
 
isValidSession(String, String) - Method in class com.niggle.data.inmemory.SimpleSessionManager
Checks the validity of a session.

J

JDBCBackedRecordSet - class com.niggle.data.jdbc.JDBCBackedRecordSet.
A class that is essentially a facade in front of an external relational database table
JDBCBackedRecordSet() - Constructor for class com.niggle.data.jdbc.JDBCBackedRecordSet
 
JDBCConnection - class com.niggle.data.jdbc.JDBCConnection.
A wrapper object that wraps the connection to an RDBMS.
JDBCConnection(String) - Constructor for class com.niggle.data.jdbc.JDBCConnection
 
JNDIMutableDataSource - class com.niggle.data.jndi.JNDIMutableDataSource.
A JNDI implementation of the com.niggle.data.MutableDataSource interface.
JNDIMutableDataSource() - Constructor for class com.niggle.data.jndi.JNDIMutableDataSource
 
JNDIRecordFactory - class com.niggle.data.jndi.JNDIRecordFactory.
 
JNDIRecordFactory() - Constructor for class com.niggle.data.jndi.JNDIRecordFactory
 

K

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

L

LazyHashModel - class com.niggle.templates.freemarkerimpl.LazyHashModel.
A freemarker template model implementation that replaces freemarker.template.SimpleHash.
LazyHashModel() - Constructor for class com.niggle.templates.freemarkerimpl.LazyHashModel
 
LazyHashModel(ServletInteraction) - Constructor for class com.niggle.templates.freemarkerimpl.LazyHashModel
 
LazyListTemplate - class com.niggle.templates.freemarkerimpl.LazyListTemplate.
A "lazy" list implementation of the freemarker TemplateListModel interface for exposing a collection of records at one go.
LazyListTemplate(List, ServletInteraction, String) - Constructor for class com.niggle.templates.freemarkerimpl.LazyListTemplate
 
LINE_SEPARATOR - Static variable in class com.niggle.util.FileLog
 
list(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
list(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
listBindings(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
listBindings(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
listSize() - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
listSize() - Method in class com.niggle.templates.freemarkerimpl.LazyListTemplate
 
loadDataSources(DataRegistry, String) - Static method in class com.niggle.data.metadata.MetadataLoader
 
loadDataSources(DataRegistry, String, ClassLoader) - Static method in class com.niggle.data.metadata.MetadataLoader
 
loadMetadata() - Method in class com.niggle.servlet.NiggleConfig
 
loadRecordMetadata(DataRegistry, String) - Static method in class com.niggle.data.metadata.MetadataLoader
 
loadRecordMetadata(DataRegistry, String, ClassLoader) - Static method in class com.niggle.data.metadata.MetadataLoader
 
loadRecords(ObjectInput) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
Slurp the records into this InMemoryRecordSet object with a stream-based idiom.
loadRecordsFromFlatFile(String) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
Wrapper around loadRecords() to read records from a flat file.
locale - Variable in class com.niggle.servlet.ServletInteraction
locale of the server, ideally of the user
locale - Variable in class com.niggle.templates.PresentationWrapper
locale to use to select encoding for generated HTML
LocaleField - class com.niggle.data.metadata.LocaleField.
A Field subtype that indicates that this field represents an instance of java.util.Locale.
LocaleField() - Constructor for class com.niggle.data.metadata.LocaleField
 
LocalizedFileTemplateCache - class com.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.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
 
LocalizedTemplateCache - interface com.niggle.templates.freemarkerimpl.LocalizedTemplateCache.
Extends the TemplateCache abstraction to encapsulate localized page templates.
Log - interface com.niggle.util.Log.
An interface to define a single method used for logging information.
LOG_ALL - Static variable in class com.niggle.util.Logger
Log level.
LOG_DEBUG - Static variable in class com.niggle.util.Logger
Log level.
LOG_ERROR - Static variable in class com.niggle.util.Logger
Log level.
LOG_INFO - Static variable in class com.niggle.util.Logger
Log level.
LOG_WARN - Static variable in class com.niggle.util.Logger
Log level.
log(String) - Static method in class com.niggle.util.Logger
Log the message.
log(String, int) - Static method in class com.niggle.util.Logger
Log the message at the specified level.
logException(Throwable) - Static method in class com.niggle.util.Logger
 
logException(Throwable, int) - Static method in class com.niggle.util.Logger
log an exception, including the stack trace.
Logger - class com.niggle.util.Logger.
A class that manages logging.
Logger() - Constructor for class com.niggle.util.Logger
 
LOGIN_TEMPLATE - Static variable in interface com.niggle.servlet.NiggleConstants
 
LOGOUT_CONFIRM_TEMPLATE - Static variable in interface com.niggle.servlet.NiggleConstants
 
lookup(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
lookup(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
lookupLink(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
lookupLink(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported

M

MangledDataException - exception com.niggle.data.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.niggle.data.MangledDataException
 
MangledDataException(String) - Constructor for class com.niggle.data.MangledDataException
 
markStale(Record) - Method in class com.niggle.data.AbstractMutableDataSource
Mark the record as "stale".
MESSAGE_TEMPLATE - Static variable in interface com.niggle.servlet.NiggleConstants
 
MetadataLoader - class com.niggle.data.metadata.MetadataLoader.
 
MetadataLoader() - Constructor for class com.niggle.data.metadata.MetadataLoader
 
MissingDataException - exception com.niggle.data.MissingDataException.
Thrown when an attempt is made to initialize a record which is missing a required field.
MissingDataException(Record, String) - Constructor for class com.niggle.data.MissingDataException
 
MissingDataException(String) - Constructor for class com.niggle.data.MissingDataException
Constructs a MissingDataException with a detail message.
MissingRecordException - exception com.niggle.data.MissingRecordException.
Thrown when a client tries to modify a record that has already been deleted.
MissingRecordException() - Constructor for class com.niggle.data.MissingRecordException
Constructs a MissingRecordException without a detail message.
MissingRecordException(Record, String) - Constructor for class com.niggle.data.MissingRecordException
Constructs a MissingRecordException with a detail message.
MissingRecordException(String) - Constructor for class com.niggle.data.MissingRecordException
 
model - Variable in class com.niggle.templates.freemarkerimpl.FreemarkerPage
 
ModifiedRecordException - exception com.niggle.data.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.niggle.data.ModifiedRecordException
Constructs a ModifiedRecordException without a default message.
ModifiedRecordException(Record, String) - Constructor for class com.niggle.data.ModifiedRecordException
 
ModifiedRecordException(String) - Constructor for class com.niggle.data.ModifiedRecordException
Constructs a ModifiedRecordException with a detail message.
modifyAttributes(Name, int, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
modifyAttributes(Name, ModificationItem[]) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
modifyAttributes(String, int, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
modifyAttributes(String, ModificationItem[]) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
MutableDataSource - interface com.niggle.data.MutableDataSource.
Interface implemented by objects that manage a collection of records.

N

newRecord - Variable in class com.niggle.data.DataEvent
record being added
newRecord() - Method in interface com.niggle.data.RecordDescriptor
 
newRecord() - Method in class com.niggle.data.metadata.RecordMetadata
 
newServletInteraction(HttpServletRequest, HttpServletResponse) - Method in class com.niggle.servlet.NiggleConfig
where the servlet gives us a transaction to process.
newSession(String) - Method in interface com.niggle.data.SessionManager
 
newSession(String) - Method in class com.niggle.data.inmemory.SimpleSessionManager
Creates and returns a new session.
next() - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
next() - Method in class com.niggle.templates.freemarkerimpl.LazyListTemplate
 
nextKey() - Method in class com.niggle.data.inmemory.InMemoryRecordSet
Returns the next available primary key, assuming that it is an integer.
nextKey() - Method in class com.niggle.data.inmemory.SimpleSessionManager
 
niggleConfig - Variable in class com.niggle.servlet.NiggleServlet
The object that contains our servlet config info.
NiggleConfig - class com.niggle.servlet.NiggleConfig.
A custom implementation of the ServletConfig interface The default NiggleServlet initializations are delegated to this object.
NiggleConfig() - Constructor for class com.niggle.servlet.NiggleConfig
 
NiggleConfig(ServletConfig, Servlet) - Constructor for class com.niggle.servlet.NiggleConfig
 
NiggleConstants - interface com.niggle.servlet.NiggleConstants.
Constants used in Niggle
NiggleServlet - class com.niggle.servlet.NiggleServlet.
The base Servlet class in the Niggle framework.
NiggleServlet() - Constructor for class com.niggle.servlet.NiggleServlet
 
noNull(String) - Static method in class com.niggle.util.Util
 
normalize(String) - Method in interface com.niggle.data.FieldDescriptor
"normalize" the string passed in.
normalize(String) - Method in class com.niggle.data.metadata.Field
 
normalize(String) - Method in class com.niggle.data.metadata.StringField
 
normalizeKey(String, Object) - Static method in class com.niggle.data.AbstractMutableDataSource
 
normalizeMap(Map) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
NULL_FILTER - Static variable in interface com.niggle.data.RecordFilter
 
NumericalField - class com.niggle.data.metadata.NumericalField.
A descriptor for a field that holds a single numerical value.
NumericalField() - Constructor for class com.niggle.data.metadata.NumericalField
 

O

OBJECT_FACTORIES_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
objectAsIterator(Object) - Static method in class com.niggle.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.niggle.data.DataEvent
Record being deleted or displaced
output() - Method in class com.niggle.servlet.ServletInteraction
Finally output the page as a result of a servlet interaction We also touch the user's session if there is a sessionID.
outputPage(HttpServletResponse, boolean) - Method in interface com.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.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.

P

page - Variable in class com.niggle.servlet.ServletInteraction
The Page template object that we are working with.
Page - interface com.niggle.templates.Page.
An abstract encapsulation of a page template.
PageFactory - interface com.niggle.templates.PageFactory.
An abstract base class for an object that vends Page instances
PASSWORD_KEY - Static variable in interface com.niggle.servlet.NiggleConstants
A key used to identify the password.
performDeletion(Record) - Method in class com.niggle.data.jdbc.JDBCConnection
 
performInsertion(Record) - Method in class com.niggle.data.jdbc.JDBCConnection
 
performUpdate(Record) - Method in class com.niggle.data.jdbc.JDBCConnection
 
populateAttributes() - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Called by a JNDI data source in order to populate the attributes from the data table.
postCheck() - Method in class com.niggle.data.DefaultRecord
Called after checking the fields.
preCheck() - Method in class com.niggle.data.DefaultRecord
Called before checking the fields.
preloads() - Method in class com.niggle.data.metadata.DataSourceMetadata
 
PresentationWrapper - class com.niggle.templates.PresentationWrapper.
 
PresentationWrapper() - Constructor for class com.niggle.templates.PresentationWrapper
 
printFullStackTrace(Throwable, PrintStream) - Static method in class com.niggle.util.Util
 
println(Object) - Method in interface com.niggle.util.Log
This single method accepts an Object and produces a log entry from it.
println(Object) - Method in class com.niggle.util.ConsoleLog
Call System.out.println with the toString() of the Object.
println(Object) - Method in class com.niggle.util.FileLog
Append the o.toString() followed by a newline to the file.
processDefaultValue() - Method in class com.niggle.data.metadata.Field
 
processDefaultValue() - Method in class com.niggle.data.metadata.DateField
 
processPresentationWrapper(Element, ClassLoader) - Method in class com.niggle.data.metadata.RecordMetadata
 
PROVIDER_URL_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
put(String, boolean) - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
Overloaded so that the template variables can be case-insensitive.
put(String, Object) - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
expose a List of niggle Records
put(String, Record) - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
expose data from a record by key
put(String, String) - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
Overloaded so that the template variables can be case-insensitive.
put(String, TemplateModel) - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
Overloaded so that the template variables can be case-insensitive.

R

readExternal(ObjectInput) - Method in class com.niggle.data.DefaultRecord
 
readObject() - Method in class com.niggle.data.DefaultRecordInputStream
Read the next record off the stream.
rebind(Name, Object) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
rebind(Name, Object, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
rebind(String, Object) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
rebind(String, Object, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
rec - Variable in class com.niggle.templates.freemarkerimpl.RecordTemplate
 
Record - interface com.niggle.data.Record.
An interface that describes the canonical methods of a data record in the niggle framework.
RECORD_DELETED - Static variable in class com.niggle.data.DataEvent
event type for deleting a record
RECORD_INSERTED - Static variable in class com.niggle.data.DataEvent
event type for inserting a record
RECORD_UPDATED - Static variable in class com.niggle.data.DataEvent
event type for replacing a record
recordDeleted(DataEvent) - Method in interface com.niggle.data.DataListener
invoked when the RecordManager whose events we are listening to has just deleted a record.
recordDeleted(DataEvent) - Method in class com.niggle.data.inmemory.InMemoryIndex
Listener notified when a record has been deleted.
recordDeleted(DataEvent) - Method in class com.niggle.data.inmemory.CrudeDataPersister
 
recordDeleted(DataEvent) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
invoked when the RecordManager whose events we are listening to has just deleted a record.
RecordDescriptor - interface com.niggle.data.RecordDescriptor.
A metadata object that describes what is in a record.
RecordFilter - interface com.niggle.data.RecordFilter.
An interface for objects that can filter a set of records based on some criterion.
RecordFilter.ClassConstraint - class com.niggle.data.RecordFilter.ClassConstraint.
 
RecordFilter.ClassConstraint(Class) - Constructor for class com.niggle.data.RecordFilter.ClassConstraint
 
RecordFilter.FieldConstraint - class com.niggle.data.RecordFilter.FieldConstraint.
 
RecordFilter.FieldConstraint(String, Object) - Constructor for class com.niggle.data.RecordFilter.FieldConstraint
 
RecordFilter.IntersectionFilter - class com.niggle.data.RecordFilter.IntersectionFilter.
 
RecordFilter.IntersectionFilter(RecordFilter, RecordFilter) - Constructor for class com.niggle.data.RecordFilter.IntersectionFilter
 
RecordFilter.NegationFilter - class com.niggle.data.RecordFilter.NegationFilter.
 
RecordFilter.NegationFilter(RecordFilter) - Constructor for class com.niggle.data.RecordFilter.NegationFilter
 
RecordFilter.NullFilter - class com.niggle.data.RecordFilter.NullFilter.
 
RecordFilter.NullFilter() - Constructor for class com.niggle.data.RecordFilter.NullFilter
 
RecordFilter.TypeConstraint - class com.niggle.data.RecordFilter.TypeConstraint.
 
RecordFilter.TypeConstraint(String) - Constructor for class com.niggle.data.RecordFilter.TypeConstraint
 
RecordFilter.UnionFilter - class com.niggle.data.RecordFilter.UnionFilter.
 
RecordFilter.UnionFilter(RecordFilter, RecordFilter) - Constructor for class com.niggle.data.RecordFilter.UnionFilter
 
recordInserted(DataEvent) - Method in interface com.niggle.data.DataListener
invoked when the RecordManager whose events we are listening to has just inserted a new record.
recordInserted(DataEvent) - Method in class com.niggle.data.inmemory.InMemoryIndex
Listener notified when a record has been added.
recordInserted(DataEvent) - Method in class com.niggle.data.inmemory.CrudeDataPersister
 
recordInserted(DataEvent) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
invoked when the RecordManager whose events we are listening to has just inserted a new record.
RecordMetadata - class com.niggle.data.metadata.RecordMetadata.
An implementation of the RecordDescriptor interface.
RecordMetadata() - Constructor for class com.niggle.data.metadata.RecordMetadata
 
RecordReference - class com.niggle.data.RecordReference.
An object that represents a weak or soft reference to an underlying Record object.
RecordReference(Record) - Constructor for class com.niggle.data.RecordReference
 
RecordReference(Record, ReferenceQueue) - Constructor for class com.niggle.data.RecordReference
 
RecordTemplate - class com.niggle.templates.freemarkerimpl.RecordTemplate.
A freemarker template model specifically designed to "wrap" a niggle data record.
RecordTemplate() - Constructor for class com.niggle.templates.freemarkerimpl.RecordTemplate
 
recordTemplateClass - Static variable in class com.niggle.templates.PresentationWrapper
 
recordUpdated(DataEvent) - Method in interface com.niggle.data.DataListener
invoked when the RecordManager whose events we are listening to has just updated an existing record.
recordUpdated(DataEvent) - Method in class com.niggle.data.inmemory.InMemoryIndex
 
recordUpdated(DataEvent) - Method in class com.niggle.data.inmemory.CrudeDataPersister
 
recordUpdated(DataEvent) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
invoked when the RecordManager whose events we are listening to has just updated an existing record.
recover(IOException) - Method in class com.niggle.servlet.ServletInteraction
override this method to provide some default exception handling for when an execXXX method fails for whatever reason.
redirectAction(String) - Method in class com.niggle.servlet.ServletInteraction
redirects the browser to the URL corresponding to a given action.
reexposeServletParams() - Method in class com.niggle.servlet.ServletInteraction
A convenient method that exposes all of the servlet request's parameters as template variables
ref - Variable in class com.niggle.data.RecordReference
 
reflectionCheck(String) - Method in class com.niggle.templates.freemarkerimpl.RecordTemplate
 
registerDataSource(DataSource) - Method in interface com.niggle.data.DataRegistry
register a DataSource by its unique name
registerDataSource(DataSource) - Method in class com.niggle.data.DataRegistryImpl
 
registerDataSource(DataSourceMetadata) - Method in interface com.niggle.data.DataRegistry
register the metadata for a DataSource by its unique name.
registerDataSource(DataSourceMetadata) - Method in class com.niggle.data.DataRegistryImpl
 
registerRecordType(RecordDescriptor) - Method in interface com.niggle.data.DataRegistry
Register the metadata for a record type.
registerRecordType(RecordDescriptor) - Method in class com.niggle.data.DataRegistryImpl
 
remove(String) - Method in class com.niggle.templates.freemarkerimpl.LazyHashModel
Overloaded so that the template variables can be case-insensitive.
removeDataListener(DataListener) - Method in class com.niggle.data.AbstractMutableDataSource
 
removeDataListener(DataListener) - Method in interface com.niggle.data.DataChangeNotifier
Remove a listener that gets notified if ever a record is inserted, updated or deleted.
removeFromEnvironment(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
rename(Name, Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
rename(String, String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
request - Variable in class com.niggle.servlet.ServletInteraction
 
resolveEntity(String, String) - Method in class com.niggle.data.metadata.ClasspathEntityResolver
Tries to resolve an entity relative to the classloader's search path.
response - Variable in class com.niggle.servlet.ServletInteraction
Our HTML response back to the user.
restoreReferent(String, int, Object) - Method in class com.niggle.data.RecordReference
A method that should restore the referent (i.e.
rethrow(Throwable) - Static method in class com.niggle.util.Assert
convenience method to rethrow an exception as a RuntimeException.
retrieveValues(String, Object) - Method in class com.niggle.data.jdbc.JDBCConnection
 
rewind() - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
rewind() - Method in class com.niggle.templates.freemarkerimpl.LazyListTemplate
 

S

s2b(String) - Static method in class com.niggle.util.Util
Convert a String to a boolean.
s2i(String) - Static method in class com.niggle.util.Util
Convert a String to an int.
search(Name, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
search(Name, Attributes, String[]) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
search(Name, String, Object[], SearchControls) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
search(Name, String, SearchControls) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
search(String, Attributes) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
search(String, Attributes, String[]) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
search(String, String, Object[], SearchControls) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
search(String, String, SearchControls) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
SEC_CREDENTIALS_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
SEC_PRINCIPAL_KEY - Static variable in class com.niggle.data.jndi.JNDIMutableDataSource
 
select(RecordFilter) - Method in class com.niggle.data.AbstractMutableDataSource
 
select(RecordFilter) - Method in interface com.niggle.data.MutableDataSource
This is equivalent to select(null, filter)
select(String, RecordFilter) - Method in interface com.niggle.data.MutableDataSource
Fetches a list of records matching filter.
select(String, RecordFilter) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
 
select(String, RecordFilter) - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
select(String, RecordFilter) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
 
selectRecords(String, RecordFilter) - Method in class com.niggle.data.jdbc.JDBCConnection
Wraps the Statement.executeQuery
ServletInteraction - class com.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.niggle.servlet.ServletInteraction
 
Session - interface com.niggle.data.Session.
Interface that represents a session
SESSION_ID_KEY - Static variable in interface com.niggle.servlet.NiggleConstants
A key used to identify the session.
SESSION_MANAGER_KEY - Static variable in interface com.niggle.servlet.NiggleConstants
The name under which the SessionManager is "registered" in the default Data registry.
SESSION_STORE_FILENAME - Static variable in interface com.niggle.servlet.NiggleConstants
The name of the file in which session info is stored by default.
sessionCreated - Variable in class com.niggle.servlet.ServletInteraction
Did we create a new session? used for logging purposes.
sessionID - Variable in class com.niggle.servlet.ServletInteraction
numeric session id.
SessionImpl - class com.niggle.data.SessionImpl.
An implementation of com.niggle.data.Session that leverages the functionality of the DefaultRecord implementation
SessionImpl() - Constructor for class com.niggle.data.SessionImpl
 
SessionManager - interface com.niggle.data.SessionManager.
A class that represents an object that creates, vends, and validates sessions.
set(FieldDescriptor, Object) - Method in class com.niggle.data.DefaultRecord
 
set(FieldDescriptor, Object) - Method in class com.niggle.data.RecordReference
 
set(FieldDescriptor, Object) - Method in interface com.niggle.data.Record
Low-level method to set an individual field value concrete implementations will probably wrap this.
set(int, Object) - Method in class com.niggle.data.DefaultRecord
 
set(int, Object) - Method in class com.niggle.data.RecordReference
 
set(int, Object) - Method in interface com.niggle.data.Record
Low-level method to set the value of a field.
set(String, Object) - Method in class com.niggle.data.DefaultRecord
 
set(String, Object) - Method in class com.niggle.data.RecordReference
 
set(String, Object) - Method in interface com.niggle.data.Record
Low-level method to set the value of a field.
setClassLoader(ClassLoader) - Method in interface com.niggle.templates.PageFactory
set the ClassLoader relative to which to look for page template files.
setClassLoader(ClassLoader) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
setContentType(String) - Method in class com.niggle.templates.PresentationWrapper
 
setDefaultPath(String) - Method in interface com.niggle.templates.PageFactory
Sets the location from which pages based on files will be found.
setDefaultPath(String) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
setDefaultRegistry(DataRegistry) - Static method in class com.niggle.data.DataRegistryImpl
Optional hook to call if you want to substitute a custom DataRegistry implementation for the default one.
setDefaultValue(Object) - Method in class com.niggle.data.metadata.Field
 
setDummyStartString(String) - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
Used to set a string that starts off the options.
setFatal(boolean) - Static method in class com.niggle.util.Assert
Set fatal to true to cause system exit (JR)
setFilename(String) - Method in class com.niggle.util.FileLog
Set the value of the file.
setInitParameter(String, String) - Method in class com.niggle.servlet.NiggleConfig
 
setLog(Log) - Static method in class com.niggle.util.Logger
Set the value of log.
setLogFileName(String) - Static method in class com.niggle.util.Logger
Set the log file name.
setLogFileName(String, boolean) - Static method in class com.niggle.util.Logger
Set the log file name.
setLogLevel(int) - Static method in class com.niggle.util.Logger
Set the log level.
setMetadata(RecordDescriptor) - Method in class com.niggle.data.DefaultRecord
 
setMetadata(RecordDescriptor) - Method in class com.niggle.data.RecordReference
 
setMetadata(RecordDescriptor) - Method in interface com.niggle.data.Record
Method only used internally by niggle.
setPath(String) - Method in class com.niggle.templates.freemarkerimpl.LocalizedFileTemplateCache
 
setPrimaryKey(Object) - Method in class com.niggle.data.DefaultRecord
 
setPrimaryKey(Object) - Method in class com.niggle.data.RecordReference
 
setPrimaryKey(Object) - Method in interface com.niggle.data.Record
set the value of this record's primary key.
setPrintStream(PrintStream) - Method in class com.niggle.util.ConsoleLog
Set the value of printStream.
setRecord(Record) - Method in class com.niggle.data.DataException
 
setRecord(Record) - Method in class com.niggle.templates.PresentationWrapper
 
setRecord(Record) - Method in class com.niggle.templates.freemarkerimpl.RecordTemplate
 
setRecordTemplateClass(Class) - Static method in class com.niggle.templates.PresentationWrapper
 
setRemoteRegistry(DataRegistry) - Method in class com.niggle.data.DataRegistryImpl
Set a second DataRegistry source that will be used if the type is not found locally.
setSelection(int) - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
Sets the string at the specified index as selected
setSelection(String) - Method in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
Sets this string as a selected string.
setSessionContext(ServletInteraction) - Method in class com.niggle.templates.PresentationWrapper
 
setValuesFromTable(Map) - Method in class com.niggle.data.DefaultRecord
Set the values of the record's fields from a key-value mapping of the fields (or field names) to values.
SimpleSessionManager - class com.niggle.data.inmemory.SimpleSessionManager.
An implementation of com.niggle.data.SessionManager built on top of our MemoryMutableDataSource
SimpleSessionManager() - Constructor for class com.niggle.data.inmemory.SimpleSessionManager
 
size() - Method in interface com.niggle.data.RecordDescriptor
The number of fields in the record.
size() - Method in class com.niggle.data.metadata.RecordMetadata
 
SmartScalar - class com.niggle.templates.freemarkerimpl.SmartScalar.
A freemarker template model that is aware of HTML entities.
SmartScalar(boolean) - Constructor for class com.niggle.templates.freemarkerimpl.SmartScalar
 
SmartScalar(String) - Constructor for class com.niggle.templates.freemarkerimpl.SmartScalar
 
SmartScalar(String, boolean) - Constructor for class com.niggle.templates.freemarkerimpl.SmartScalar
 
sqlEquivalent() - Method in interface com.niggle.data.RecordFilter
Method that returns the SQL WHERE clause that is the equivalent of the unary predicate that this field represents.
sqlEquivalent() - Method in class com.niggle.data.RecordFilter.NullFilter
 
sqlEquivalent() - Method in class com.niggle.data.RecordFilter.ClassConstraint
 
sqlEquivalent() - Method in class com.niggle.data.RecordFilter.FieldConstraint
 
sqlEquivalent() - Method in class com.niggle.data.RecordFilter.TypeConstraint
 
sqlEquivalent() - Method in class com.niggle.data.RecordFilter.UnionFilter
 
sqlEquivalent() - Method in class com.niggle.data.RecordFilter.IntersectionFilter
 
sqlEquivalent() - Method in class com.niggle.data.RecordFilter.NegationFilter
 
sqlType - Variable in class com.niggle.data.metadata.Field
 
SQLUtil - class com.niggle.data.jdbc.SQLUtil.
A holder for some JDBC/SQL-related convenience routines
SQLUtil() - Constructor for class com.niggle.data.jdbc.SQLUtil
 
STATUS_KEY - Static variable in interface com.niggle.data.Record
 
StringArrayField - class com.niggle.data.metadata.StringArrayField.
A descriptor for a field that represents an array of String values
StringArrayField() - Constructor for class com.niggle.data.metadata.StringArrayField
 
StringField - class com.niggle.data.metadata.StringField.
Field metadata that represents a field with a string value.
StringField() - Constructor for class com.niggle.data.metadata.StringField
 
SUPP_INFO_PARAM_KEY - Static variable in interface com.niggle.servlet.NiggleConstants
Supplementary information, &supp=param
suppInfoParam - Variable in class com.niggle.servlet.ServletInteraction
a parameter from the servlet request used to hold supplemental information

T

templateCache - Variable in class com.niggle.templates.freemarkerimpl.FreemarkerPageFactory
 
TimeZoneField - class com.niggle.data.metadata.TimeZoneField.
A descriptor for a field that holds a time zone
TimeZoneField() - Constructor for class com.niggle.data.metadata.TimeZoneField
 
toString() - Method in class com.niggle.data.DefaultRecord
Provides a default string representation of the record for a human-readable flat-file persistence scheme.
toString() - Method in class com.niggle.data.AntiRecord
 
toString() - Method in class com.niggle.data.RecordReference
 
toString() - Method in class com.niggle.data.metadata.DataSourceMetadata
outputs the key:value pairs that make up this metadata object.
toString() - Method in class com.niggle.data.metadata.Field
 
toString() - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPage
 
touch() - Method in class com.niggle.data.DefaultRecord
 
touch() - Method in class com.niggle.data.RecordReference
 
touch() - Method in interface com.niggle.data.Record
mark this record as having just been modified.
touchSession(String) - Method in interface com.niggle.data.SessionManager
 
touchSession(String) - Method in class com.niggle.data.inmemory.SimpleSessionManager
 
type - Variable in class com.niggle.data.DataEvent
either RECORD_INSERTED, RECORD_DELETED or RECORD_UPDATED
type - Variable in class com.niggle.data.RecordFilter.TypeConstraint
 
TYPE_KEY - Static variable in interface com.niggle.data.Record
The special reserved name of the type key.

U

unbind(Name) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
unbind(String) - Method in class com.niggle.data.jndi.AbstractJNDIRecord
Unsupported
UnknownRecordTypeException - exception com.niggle.data.UnknownRecordTypeException.
exception thrown when an customized object input stream encounters a record type that it doesn't know about.
UnknownRecordTypeException() - Constructor for class com.niggle.data.UnknownRecordTypeException
 
UnknownRecordTypeException(String) - Constructor for class com.niggle.data.UnknownRecordTypeException
 
UNSET - Static variable in class com.niggle.templates.freemarkerimpl.EnumTemplateModel
 
UnsetDataException - exception com.niggle.data.UnsetDataException.
Thrown when an attempt is made to retrieve a data element that has not been set.
UnsetDataException(Record, String) - Constructor for class com.niggle.data.UnsetDataException
 
UnsetDataException(String) - Constructor for class com.niggle.data.UnsetDataException
Constructs a UnsetDataException with a detail message.
UPDATE_MARKER - Static variable in class com.niggle.data.DefaultRecordInputStream
 
update(Record) - Method in interface com.niggle.data.MutableDataSource
Replaces an existing version of a record with a new updated version.
update(Record) - Method in class com.niggle.data.inmemory.InMemoryRecordSet
 
update(Record) - Method in class com.niggle.data.jndi.JNDIMutableDataSource
 
update(Record) - Method in class com.niggle.data.jdbc.JDBCBackedRecordSet
 
updateCacheInfo(Record) - Method in class com.niggle.data.RecordReference
updates the information held in the reference wrapper.
URLField - class com.niggle.data.metadata.URLField.
Field descriptor that describes a field that must be a valid URL
URLField() - Constructor for class com.niggle.data.metadata.URLField
 
USER_ID_KEY - Static variable in interface com.niggle.servlet.NiggleConstants
A key used to identify the user for logins.
userID - Variable in class com.niggle.servlet.ServletInteraction
Login ID of the current user.
Util - class com.niggle.util.Util.
Dumping ground for utility functions that are more or less general-purpose.
Util() - Constructor for class com.niggle.util.Util
 

V

ValidatingRecordInput - interface com.niggle.data.ValidatingRecordInput.
A marker interface that indicates that records should be validated as they are read in.
value - Variable in class com.niggle.data.RecordFilter.FieldConstraint
 
valueToString(Object) - Method in interface com.niggle.data.FieldDescriptor
returns the preferred the String representation of the object in question.
valueToString(Object) - Method in class com.niggle.data.metadata.Field
 
valueToString(Object) - Method in class com.niggle.data.metadata.DateField
 
valueToString(Object) - Method in class com.niggle.data.metadata.StringField
 
valueToString(Object) - Method in class com.niggle.data.metadata.StringArrayField
 
valueToString(Object) - Method in class com.niggle.data.metadata.IntArrayField
 
valueToString(Object) - Method in class com.niggle.data.metadata.TimeZoneField
 
valueToString(Object) - Method in class com.niggle.data.metadata.HashtableField
 

W

wipeCache() - Method in class com.niggle.data.AbstractMutableDataSource
 
wipeCache() - Method in interface com.niggle.data.MutableDataSource
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.niggle.data.jdbc.JDBCBackedRecordSet
 
wrapString(String) - Method in class com.niggle.templates.freemarkerimpl.FreemarkerPresentationWrapper
 
writeExternal(ObjectOutput) - Method in class com.niggle.data.DefaultRecord
 
writeObject(Object) - Method in class com.niggle.data.DefaultRecordOutputStream
Serialise object in ASCII format xx=yyy

Z

ZERO - Static variable in class com.niggle.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 Z