A B C D E F G H I M P R S T U V

A

APP_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.ApplicationException
 
AbstractFunc - class com.redstarhackers.func.AbstractFunc.
TODO Class summary sentence.
AbstractFunc(ApplicationTransaction) - Constructor for class com.redstarhackers.func.AbstractFunc
 
AppTx - class com.redstarhackers.func.AppTx.
A basic implementation of the ApplicationTransaction interface.
AppTx(String) - Constructor for class com.redstarhackers.func.AppTx
Construct a new application transaction for the given user id.
ApplicationException - exception com.redstarhackers.exception.ApplicationException.
A base Exception for application exceptions, exceptions which are expected to occur in the course of the application's execution (as opposed to RuntimeExceptions which might occur as a result of unforseen states or values in the system).
ApplicationException() - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationException(ErrorCode) - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationException(String) - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationException(Throwable) - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationException(String, Throwable) - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.ApplicationException
 
ApplicationTransaction - interface com.redstarhackers.func.ApplicationTransaction.
Application transactions represent the total work and transactions associated with a user request, that is from the first UI action, to all the server side transactions and work, to the final UI response action before returning to the user.
addException(ApplicationException) - Method in class com.redstarhackers.exception.RuleFailureException
 
addException(SystemException) - Method in class com.redstarhackers.exception.RuleFailureException
 
addException(ApplicationException) - Method in class com.redstarhackers.exception.RuntimeRuleFailureException
 
addException(SystemException) - Method in class com.redstarhackers.exception.RuntimeRuleFailureException
 

B

BASE_ERROR_MESSAGES - Static variable in class com.redstarhackers.exception.ErrorMessageUtil
 
BASE_PROPERTY - Static variable in class com.redstarhackers.exception.ErrorMessageUtil
 
BUNDLES_PROPERTY - Static variable in class com.redstarhackers.exception.ErrorMessageUtil
 
BUS_RULE_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.BusinessRuleException
 
BusinessFunction - interface com.redstarhackers.func.BusinessFunction.
Interface for business function enclosures to implement.
BusinessRuleException - exception com.redstarhackers.exception.BusinessRuleException.
Specialized rule failure exception that pertains to validation issues specifically.
BusinessRuleException() - Constructor for class com.redstarhackers.exception.BusinessRuleException
 
BusinessRuleException(ErrorCode) - Constructor for class com.redstarhackers.exception.BusinessRuleException
 
BusinessRuleException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.BusinessRuleException
 
BusinessRuleException(String) - Constructor for class com.redstarhackers.exception.BusinessRuleException
 
BusinessRuleException(Throwable) - Constructor for class com.redstarhackers.exception.BusinessRuleException
 
BusinessRuleException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.BusinessRuleException
 
BusinessRuleException(String, Throwable) - Constructor for class com.redstarhackers.exception.BusinessRuleException
 
BusinessRuleException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.BusinessRuleException
 

C

CONF_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.InvalidConfigurationException
 
CONNECT_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.DataStoreConnectionException
 
checkBusinessRules() - Method in interface com.redstarhackers.func.BusinessFunction
Check any business rules associated with this business function, throwing a BusinessRuleException if any rule is violated.
checkSecurity() - Method in interface com.redstarhackers.func.BusinessFunction
Verify the security requirements of this business function have been met, throwing a SecurityException if they have not.
com.redstarhackers.exception - package com.redstarhackers.exception
 
com.redstarhackers.func - package com.redstarhackers.func
 
com.redstarhackers.model - package com.redstarhackers.model
 

D

DATA_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.DataStoreException
 
DEFAULT_CONFIG - Static variable in class com.redstarhackers.exception.ErrorMessageUtil
 
DataStoreConnectionException - exception com.redstarhackers.exception.DataStoreConnectionException.
Exception thrown when the an error or exception is encountered while performing operations on a datastore (which could in turn be a database, flatfile, etc).
DataStoreConnectionException() - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreConnectionException(ErrorCode) - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreConnectionException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreConnectionException(String) - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreConnectionException(Throwable) - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreConnectionException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreConnectionException(String, Throwable) - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreConnectionException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.DataStoreConnectionException
 
DataStoreException - exception com.redstarhackers.exception.DataStoreException.
Exception thrown when the an error or exception is encountered while performing operations on a datastore (which could in turn be a database, flatfile, etc).
DataStoreException() - Constructor for class com.redstarhackers.exception.DataStoreException
 
DataStoreException(ErrorCode) - Constructor for class com.redstarhackers.exception.DataStoreException
 
DataStoreException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.DataStoreException
 
DataStoreException(String) - Constructor for class com.redstarhackers.exception.DataStoreException
 
DataStoreException(Throwable) - Constructor for class com.redstarhackers.exception.DataStoreException
 
DataStoreException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.DataStoreException
 
DataStoreException(String, Throwable) - Constructor for class com.redstarhackers.exception.DataStoreException
 
DataStoreException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.DataStoreException
 
doWork() - Method in class com.redstarhackers.func.AbstractFunc
 

E

ErrorCode - class com.redstarhackers.exception.ErrorCode.
An error code is a special object that represents a code or key for looking up an error code from a common source.
ErrorCode(String) - Constructor for class com.redstarhackers.exception.ErrorCode
 
ErrorInformation - class com.redstarhackers.exception.ErrorInformation.
Contains the error/exception information used in the ApplicationException and SystemException classes.
ErrorInformation() - Constructor for class com.redstarhackers.exception.ErrorInformation
 
ErrorInformation(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.ErrorInformation
 
ErrorMessageUtil - class com.redstarhackers.exception.ErrorMessageUtil.
Class for retrieving error messages for a given error code or error code and parameters combination.
equals(Object) - Method in class com.redstarhackers.exception.ErrorCode
 
equals(ErrorCode) - Method in class com.redstarhackers.exception.ErrorCode
 
equals(Object) - Method in class com.redstarhackers.func.AppTx
Returns whether the right-hand-side object is equal to this instance.
execute() - Method in class com.redstarhackers.func.AbstractFunc
 
execute() - Method in interface com.redstarhackers.func.Function
Executes a unit of work, throwing any application or system exceptions that occur during execution.

F

Function - interface com.redstarhackers.func.Function.
TODO Class summary sentence.

G

getAppTxId() - Method in class com.redstarhackers.func.AppTx
 
getAppTxId() - Method in interface com.redstarhackers.func.ApplicationTransaction
Return the application transaction id (that is, a unique identifier for this transaction).
getApplicationTransaction() - Method in class com.redstarhackers.func.AbstractFunc
 
getCode() - Method in class com.redstarhackers.exception.ErrorCode
 
getCode() - Method in class com.redstarhackers.exception.ErrorInformation
 
getDetails() - Method in class com.redstarhackers.exception.ApplicationException
 
getDetails() - Method in class com.redstarhackers.exception.ErrorInformation
 
getDetails() - Method in class com.redstarhackers.exception.SystemException
 
getErrorCode() - Method in class com.redstarhackers.exception.ApplicationException
 
getErrorCode() - Method in class com.redstarhackers.exception.SystemException
 
getErrorMessage() - Method in class com.redstarhackers.exception.ApplicationException
 
getErrorMessage() - Method in class com.redstarhackers.exception.ErrorInformation
 
getErrorMessage(ErrorCode) - Method in class com.redstarhackers.exception.ErrorMessageUtil
 
getErrorMessage(ParameterizedErrorCode) - Method in class com.redstarhackers.exception.ErrorMessageUtil
 
getErrorMessage() - Method in class com.redstarhackers.exception.SystemException
 
getErrorMessages() - Method in class com.redstarhackers.exception.RuleFailureException
 
getErrorMessages() - Method in class com.redstarhackers.exception.RuntimeRuleFailureException
 
getExceptions() - Method in class com.redstarhackers.exception.RuleFailureException
 
getExceptions() - Method in class com.redstarhackers.exception.RuntimeRuleFailureException
 
getInstance() - Static method in class com.redstarhackers.exception.ErrorMessageUtil
 
getMessage() - Method in class com.redstarhackers.exception.ApplicationException
 
getMessage() - Method in class com.redstarhackers.exception.SystemException
 
getParameters() - Method in class com.redstarhackers.exception.ParameterizedErrorCode
 
getResult() - Method in class com.redstarhackers.func.AbstractFunc
 
getResult() - Method in interface com.redstarhackers.func.Function
Returns the result of the unit of work, if any.
getRootCause() - Method in class com.redstarhackers.exception.ErrorInformation
 
getUserId() - Method in class com.redstarhackers.func.AppTx
 
getUserId() - Method in interface com.redstarhackers.func.ApplicationTransaction
Return the id of the user this transaction pertains to.

H

hashCode() - Method in class com.redstarhackers.exception.ErrorCode
 
hashCode() - Method in class com.redstarhackers.func.AppTx
Implements hashCode() for the identifying or significant fields.

I

InvalidConfigurationException - exception com.redstarhackers.exception.InvalidConfigurationException.
Exception thrown when configuration information is missing or invalid.
InvalidConfigurationException() - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidConfigurationException(ErrorCode) - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidConfigurationException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidConfigurationException(String) - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidConfigurationException(Throwable) - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidConfigurationException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidConfigurationException(String, Throwable) - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidConfigurationException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.InvalidConfigurationException
 
InvalidStateException - exception com.redstarhackers.exception.InvalidStateException.
Exception thrown when the current state invalid (usually the result of a Runtime error or logic error in the application).
InvalidStateException() - Constructor for class com.redstarhackers.exception.InvalidStateException
 
InvalidStateException(ErrorCode) - Constructor for class com.redstarhackers.exception.InvalidStateException
 
InvalidStateException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.InvalidStateException
 
InvalidStateException(String) - Constructor for class com.redstarhackers.exception.InvalidStateException
 
InvalidStateException(Throwable) - Constructor for class com.redstarhackers.exception.InvalidStateException
 
InvalidStateException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.InvalidStateException
 
InvalidStateException(String, Throwable) - Constructor for class com.redstarhackers.exception.InvalidStateException
 
InvalidStateException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.InvalidStateException
 
isUndone() - Method in class com.redstarhackers.func.AbstractFunc
Returns true if the function was undone, false otherwise.
isUndone() - Method in interface com.redstarhackers.func.UndoableFunction
Returns true is a function had undo() called on it.

M

Model - interface com.redstarhackers.model.Model.
Implementors of Model represent the "model" portion of a MVC-based design.

P

ParameterizedErrorCode - class com.redstarhackers.exception.ParameterizedErrorCode.
A parameterized error code is a specialization of ErrorCode that takes a list of parameters to use in the resulting error message.
ParameterizedErrorCode(ErrorCode, Map) - Constructor for class com.redstarhackers.exception.ParameterizedErrorCode
 

R

RSH_DEFAULT_CONFIG - Static variable in class com.redstarhackers.exception.ErrorMessageUtil
 
RuleFailureException - exception com.redstarhackers.exception.RuleFailureException.
Base Exception class for rule failure exceptions (such as validation or business rules).
RuleFailureException() - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuleFailureException(ErrorCode) - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuleFailureException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuleFailureException(String) - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuleFailureException(Throwable) - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuleFailureException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuleFailureException(String, Throwable) - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuleFailureException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.RuleFailureException
 
RuntimeRuleFailureException - exception com.redstarhackers.exception.RuntimeRuleFailureException.
A runtime, base Exception class for rule failure exceptions (such as validation or business rules).
RuntimeRuleFailureException() - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 
RuntimeRuleFailureException(ErrorCode) - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 
RuntimeRuleFailureException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 
RuntimeRuleFailureException(String) - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 
RuntimeRuleFailureException(Throwable) - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 
RuntimeRuleFailureException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 
RuntimeRuleFailureException(String, Throwable) - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 
RuntimeRuleFailureException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.RuntimeRuleFailureException
 

S

SECURITY_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.SecurityException
 
STATE_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.InvalidStateException
 
SYS_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.SystemException
 
SecurityException - exception com.redstarhackers.exception.SecurityException.
TODO Class summary sentence.
SecurityException() - Constructor for class com.redstarhackers.exception.SecurityException
 
SecurityException(ErrorCode) - Constructor for class com.redstarhackers.exception.SecurityException
 
SecurityException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.SecurityException
 
SecurityException(String) - Constructor for class com.redstarhackers.exception.SecurityException
 
SecurityException(Throwable) - Constructor for class com.redstarhackers.exception.SecurityException
 
SecurityException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.SecurityException
 
SecurityException(String, Throwable) - Constructor for class com.redstarhackers.exception.SecurityException
 
SecurityException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.SecurityException
 
SystemException - exception com.redstarhackers.exception.SystemException.
A base Exception for system exceptions, exceptions which are not expected and occur due to runtime states or values (as opposed to applications exceptions whose possibility is declared in the code and is a compile-time known factor).
SystemException() - Constructor for class com.redstarhackers.exception.SystemException
 
SystemException(ErrorCode) - Constructor for class com.redstarhackers.exception.SystemException
 
SystemException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.SystemException
 
SystemException(String) - Constructor for class com.redstarhackers.exception.SystemException
 
SystemException(Throwable) - Constructor for class com.redstarhackers.exception.SystemException
 
SystemException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.SystemException
 
SystemException(String, Throwable) - Constructor for class com.redstarhackers.exception.SystemException
 
SystemException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.SystemException
 
setCode(String) - Method in class com.redstarhackers.exception.ErrorCode
 
setCode(ErrorCode) - Method in class com.redstarhackers.exception.ErrorInformation
 
setDetails(String) - Method in class com.redstarhackers.exception.ErrorInformation
 
setExceptions(Set) - Method in class com.redstarhackers.exception.RuleFailureException
 
setExceptions(Set) - Method in class com.redstarhackers.exception.RuntimeRuleFailureException
 
setParameters(Map) - Method in class com.redstarhackers.exception.ParameterizedErrorCode
 
setResult(Object) - Method in class com.redstarhackers.func.AbstractFunc
Allows subclasses to set the result of their work (usually called in doWork()).
setRootCause(Throwable) - Method in class com.redstarhackers.exception.ErrorInformation
 

T

toString() - Method in class com.redstarhackers.exception.ErrorInformation
 
toString() - Method in class com.redstarhackers.func.AppTx
 

U

UNKNOWN - Static variable in class com.redstarhackers.exception.ErrorCode
 
UndoableFunction - interface com.redstarhackers.func.UndoableFunction.
TODO Class summary sentence.
undo() - Method in class com.redstarhackers.func.AbstractFunc
Undo the business function (marks the function as undone and defers to transactional containers or specific subclasses to take care of the rest).
undo() - Method in interface com.redstarhackers.func.UndoableFunction
Undoes the function (if possible).

V

VALIDATION_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.RuleFailureException
 
VALIDATION_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.RuntimeRuleFailureException
 
VALIDATION_DEFAULT_ERROR_CODE - Static variable in class com.redstarhackers.exception.ValidationException
 
ValidationException - exception com.redstarhackers.exception.ValidationException.
Specialized rule failure exception that pertains to validation issues specifically.
ValidationException() - Constructor for class com.redstarhackers.exception.ValidationException
 
ValidationException(ErrorCode) - Constructor for class com.redstarhackers.exception.ValidationException
 
ValidationException(ErrorCode, String) - Constructor for class com.redstarhackers.exception.ValidationException
 
ValidationException(String) - Constructor for class com.redstarhackers.exception.ValidationException
 
ValidationException(Throwable) - Constructor for class com.redstarhackers.exception.ValidationException
 
ValidationException(ErrorCode, Throwable) - Constructor for class com.redstarhackers.exception.ValidationException
 
ValidationException(String, Throwable) - Constructor for class com.redstarhackers.exception.ValidationException
 
ValidationException(ErrorCode, String, Throwable) - Constructor for class com.redstarhackers.exception.ValidationException
 
validate() - Method in interface com.redstarhackers.func.BusinessFunction
Validate that any data inputs supplied to the business function meet the minimum data integrity requirements of the function, throwing a ValidationException if they do not.

A B C D E F G H I M P R S T U V