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

A

addCounter(String, Class<? extends Execution>) - Method in class org.dasein.persist.PersistentFactory
Adds a query for counts on a specified field.
addSearch(String, Class<? extends Execution>) - Method in class org.dasein.persist.PersistentFactory
Adds a query for searches on a specified field.
addSingleton(String, Class<? extends Execution>) - Method in class org.dasein.persist.PersistentFactory
Adds a query for searches on a specified field.
ATTRIBUTE - Static variable in class org.dasein.persist.dao.LoadTranslator
 
ATTRIBUTE - Static variable in class org.dasein.persist.dao.SaveTranslator
 

C

close() - Method in class org.dasein.persist.Execution
Closes out the event and returns it to the shared stack.
close() - Method in class org.dasein.persist.Transaction
Closes the transaction.
commit() - Method in class org.dasein.persist.Transaction
Commits the transaction to the database and closes the transaction.
connection - Variable in class org.dasein.persist.Execution
The connection to be used for the execution of this event.
ConnectionMonitor - Class in org.dasein.persist
 
ConnectionMonitor() - Constructor for class org.dasein.persist.ConnectionMonitor
 
contextDestroyed(ServletContextEvent) - Method in class org.dasein.persist.ConnectionMonitor
 
contextInitialized(ServletContextEvent) - Method in class org.dasein.persist.ConnectionMonitor
 
count() - Method in class org.dasein.persist.PersistentFactory
Counts the total number of objects governed by this factory in the database.
count(String, Object) - Method in class org.dasein.persist.PersistentFactory
Counts the total number of objects in the database matching the specified criteria.
count(Class<? extends Execution>, Map<String, Object>) - Method in class org.dasein.persist.PersistentFactory
Counts the number of items matching an arbitrary query.
countJoin(Class, String, Object) - Method in class org.dasein.persist.PersistentFactory
 
COUNTRY - Static variable in class org.dasein.persist.dao.LoadTranslator
 
COUNTRY - Static variable in class org.dasein.persist.dao.SaveTranslator
 
create(Transaction, Map<String, Object>) - Method in class org.dasein.persist.PersistentFactory
Creates the specified object with the data provided in the specified state under the governance of the specified transaction.
createDependencies(Transaction, Map<String, Object>) - Method in interface org.dasein.persist.PersistentFactory.DependencyManager
 

D

DaseinSequencer - Class in org.dasein.persist
Provides a database-independent sequence generation scheme.
DaseinSequencer() - Constructor for class org.dasein.persist.DaseinSequencer
 
data - Variable in class org.dasein.persist.Execution
The data to be used for the execution of this event.
DataIntegrityException - Exception in org.dasein.persist
Thrown when some database request would result in violating integrity constraints.
DataIntegrityException() - Constructor for exception org.dasein.persist.DataIntegrityException
Constructs a new exception without explanation.
DataIntegrityException(String) - Constructor for exception org.dasein.persist.DataIntegrityException
Constructs a new exception with the specified error message.
DEFAULT_INTERVAL - Static variable in class org.dasein.persist.DaseinSequencer
 
dsn - Variable in class org.dasein.persist.Execution
 

E

execute(Transaction, Map<String, Object>) - Method in class org.dasein.persist.Execution
Deprecated. do not make direct calls to this method
execute(Class<? extends Execution>, Map<String, Object>) - Method in class org.dasein.persist.Transaction
 
execute(Class<? extends Execution>, Map<String, Object>, String) - Method in class org.dasein.persist.Transaction
 
execute(Execution, Map<String, Object>) - Method in class org.dasein.persist.Transaction
Deprecated. use Transaction.execute(Class, Map)
Execution - Class in org.dasein.persist
Represents a database event, generally a specific query or update.
Execution() - Constructor for class org.dasein.persist.Execution
 

F

find(String, Object) - Method in class org.dasein.persist.PersistentFactory
Executes a search that may return multiple values.
find(Class, String, Object) - Method in class org.dasein.persist.PersistentFactory
 
find(Class<? extends Execution>, Map<String, Object>) - Method in class org.dasein.persist.PersistentFactory
Executes an arbitrary search using the passed in search class and criteria.

G

get(Map<String, Object>) - Method in class org.dasein.persist.PersistentFactory
 
get(String, Object) - Method in class org.dasein.persist.PersistentFactory
Retrieves the object uniquely identified by the value for the specified ID field.
getConnection() - Method in class org.dasein.persist.Execution
 
getConnection() - Method in class org.dasein.persist.Transaction
Provides events with access to the connection supporting this transaction.
getDataSource() - Method in class org.dasein.persist.Execution
Events should implement this method to provide the name of the data source that will be used to create connections for this event.
getDataSourceName(String) - Static method in class org.dasein.persist.Execution
 
getIdentifier(String) - Method in class org.dasein.persist.Execution
 
getIdentifier(String, String) - Method in class org.dasein.persist.Execution
 
getInstance(Class<T>) - Static method in class org.dasein.persist.Execution
Provides an instance of an execution object for a specific subclass.
getInstance(String) - Static method in class org.dasein.persist.Sequencer
Looks to see if a sequencer has been generated for the sequence with the specified name.
getInstance(Class) - Static method in class org.dasein.persist.Sequencer
Returns a sequencer that will provide unique identifiers across all instances of the specified class.
getInstance() - Static method in class org.dasein.persist.Transaction
Provides a new transaction instance to manage your transaction context.
getKey() - Method in class org.dasein.persist.PersistentFactory
 
getName() - Method in class org.dasein.persist.Sequencer
 
getNewKeyValue() - Method in class org.dasein.persist.PersistentFactory
 
getQuotes() - Method in class org.dasein.persist.Execution
 
getRootCause() - Method in exception org.dasein.persist.PersistenceException
 
getState() - Method in class org.dasein.persist.Execution
 
getState() - Method in class org.dasein.persist.Memento
 
getStatement() - Method in class org.dasein.persist.dao.LoadTranslator
 
getStatement() - Method in class org.dasein.persist.dao.RemoveTranslator
 
getStatement() - Method in class org.dasein.persist.dao.SaveTranslator
 
getStatement() - Method in class org.dasein.persist.Execution
 
getStatement(Connection) - Method in class org.dasein.persist.Execution
 
getStatement(Connection, Map<String, Object>) - Method in class org.dasein.persist.Execution
 
getTable() - Method in class org.dasein.persist.dao.LoadTranslator
 
getTable() - Method in class org.dasein.persist.dao.RemoveTranslator
 
getTable() - Method in class org.dasein.persist.dao.SaveTranslator
 
getTransactionId() - Method in class org.dasein.persist.Transaction
Each transaction has a number that helps identify it for debugging purposes.

H

hashCode() - Method in class org.dasein.persist.Transaction
 

I

isUpperCase() - Method in class org.dasein.persist.Execution
 

L

LANGUAGE - Static variable in class org.dasein.persist.dao.LoadTranslator
 
LANGUAGE - Static variable in class org.dasein.persist.dao.SaveTranslator
 
list() - Method in class org.dasein.persist.PersistentFactory
Loads all elements of this class from the data store.
list(Class<? extends Execution>) - Method in class org.dasein.persist.PersistentFactory
 
LISTING - Static variable in class org.dasein.persist.PersistentFactory
Convenience constant used by search executions as they key for multi-valued results.
load(Map<String, Object>) - Method in class org.dasein.persist.Memento
Loads the data values into the persistent object.
loadDependencies(Map<String, Object>) - Method in interface org.dasein.persist.PersistentFactory.DependencyManager
 
loadStringTranslations(Transaction, Class, String) - Method in class org.dasein.persist.Execution
 
loadTranslations(Transaction, String) - Method in class org.dasein.persist.PersistentFactory
 
LoadTranslator - Class in org.dasein.persist.dao
LoadTranslator TODO Document this class.
LoadTranslator() - Constructor for class org.dasein.persist.dao.LoadTranslator
 

M

Memento<K> - Class in org.dasein.persist
Provides state translation for persistent objects.
Memento(K) - Constructor for class org.dasein.persist.Memento
Constructs a memento for the specified persistent object.

N

next() - Method in class org.dasein.persist.DaseinSequencer
Generates a new unique number.
next() - Method in class org.dasein.persist.Sequencer
Generates a new unique number based on the implementation class' algorithm of choice.

O

org.dasein.persist - package org.dasein.persist
The Dasein Persistence Libraries provide data access tools that support the development of database applications.
org.dasein.persist.dao - package org.dasein.persist.dao
 
OWNER_CLASS - Static variable in class org.dasein.persist.dao.SaveTranslator
 
OWNER_ID - Static variable in class org.dasein.persist.dao.SaveTranslator
 

P

PersistenceException - Exception in org.dasein.persist
Represents an error accessing some sort of data store.
PersistenceException() - Constructor for exception org.dasein.persist.PersistenceException
Constructs a new persistence exception that appears to have happened for new good readon whatsoever.
PersistenceException(String) - Constructor for exception org.dasein.persist.PersistenceException
Constructs a new persistence exception with the specified explanation.
PersistenceException(Exception) - Constructor for exception org.dasein.persist.PersistenceException
Constructs a new persistence exception that results from the specified data store exception.
PersistentFactory<T> - Class in org.dasein.persist
Manages the movement of persistent objects between the data store and a memory cache.
PersistentFactory(Class<T>, String...) - Constructor for class org.dasein.persist.PersistentFactory
Constructs a new persistent factory for objects of the specified class with the named unique identifier attributes.
PersistentFactory.DependencyManager<T> - Interface in org.dasein.persist
 
PROPERTIES - Static variable in class org.dasein.persist.Execution
 
PROPERTIES - Static variable in class org.dasein.persist.Sequencer
 

R

remove(Transaction, T) - Method in class org.dasein.persist.PersistentFactory
Removes the specified item from the system permanently.
removeDependencies(Transaction, Map<String, Object>) - Method in interface org.dasein.persist.PersistentFactory.DependencyManager
 
removeStringTranslations(Transaction, Class, String) - Method in class org.dasein.persist.Execution
 
removeTranslations(Transaction, String) - Method in class org.dasein.persist.PersistentFactory
 
RemoveTranslator - Class in org.dasein.persist.dao
LoadTranslator TODO Document this class.
RemoveTranslator() - Constructor for class org.dasein.persist.dao.RemoveTranslator
 
report() - Method in class org.dasein.persist.ConnectionMonitor
 
report() - Static method in class org.dasein.persist.Transaction
 
results - Variable in class org.dasein.persist.Execution
The JDBC results from the execution of this event.
rollback() - Method in class org.dasein.persist.Transaction
Rolls back the transaction and closes this transaction.
run(Transaction, Map<String, Object>) - Method in class org.dasein.persist.dao.LoadTranslator
 
run(Transaction, Map<String, Object>) - Method in class org.dasein.persist.dao.RemoveTranslator
 
run(Transaction, Map<String, Object>) - Method in class org.dasein.persist.dao.SaveTranslator
 
run() - Method in class org.dasein.persist.Execution
Deprecated. use Execution.run(Transaction, Map)
run(Transaction, Map<String, Object>) - Method in class org.dasein.persist.Execution
 

S

save(Map<String, Object>) - Method in class org.dasein.persist.Memento
Saves the current state of the persistent object.
saveStringTranslation(Transaction, Class, String, String, Translator<String>) - Method in class org.dasein.persist.Execution
 
saveStringTranslation(Transaction, String, String, String, Translator<String>) - Method in class org.dasein.persist.Execution
 
saveTranslation(Transaction, String, String, Translator<String>) - Method in class org.dasein.persist.PersistentFactory
 
SaveTranslator - Class in org.dasein.persist.dao
LoadTranslator TODO Document this class.
SaveTranslator() - Constructor for class org.dasein.persist.dao.SaveTranslator
 
Sequencer - Class in org.dasein.persist
Provides a generic interface for sequence generation that may be implemented by a number of different sequence providers.
Sequencer() - Constructor for class org.dasein.persist.Sequencer
Constructs an empty sequencer with no name.
setCreate(Class<? extends Execution>) - Method in class org.dasein.persist.PersistentFactory
Sets the class that manages the query that will create objects in this factory in the data store.
setData(HashMap<String, Object>) - Method in class org.dasein.persist.Execution
Method to set the data to be used in the transaction.
setDependency(PersistentFactory.DependencyManager<T>) - Method in class org.dasein.persist.PersistentFactory
Sets the callback class to handle the management of dependencies.
setDsn(String) - Method in class org.dasein.persist.Execution
 
setName(String) - Method in class org.dasein.persist.Sequencer
Sets the sequencer name.
setRemove(Class<? extends Execution>) - Method in class org.dasein.persist.PersistentFactory
Sets the class that manages the query that will remove objects in this factory from the data store.
setUpdate(Class<? extends Execution>) - Method in class org.dasein.persist.PersistentFactory
Sets the class that manages the query that will update objects in this factory in the data store.
statement - Variable in class org.dasein.persist.Execution
The prepared statement that will execute the event.

T

toString() - Method in class org.dasein.persist.PersistentFactory
 
Transaction - Class in org.dasein.persist
Represents a database transaction to applications managing their own transactions.
TRANSLATION - Static variable in class org.dasein.persist.dao.LoadTranslator
 
TRANSLATION - Static variable in class org.dasein.persist.dao.SaveTranslator
 

U

update(Transaction, T, Map<String, Object>) - Method in class org.dasein.persist.PersistentFactory
Updates the specified object with the data provided in the specified state under the governance of the specified transaction.
updateDependencies(Transaction, T, Map<String, Object>) - Method in interface org.dasein.persist.PersistentFactory.DependencyManager
 

W

W_OWNER_CLASS - Static variable in class org.dasein.persist.dao.LoadTranslator
 
W_OWNER_CLASS - Static variable in class org.dasein.persist.dao.RemoveTranslator
 
W_OWNER_ID - Static variable in class org.dasein.persist.dao.LoadTranslator
 
W_OWNER_ID - Static variable in class org.dasein.persist.dao.RemoveTranslator
 
write(File, InputStream) - Method in class org.dasein.persist.PersistentFactory
 

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