|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PersistenceException | |
|---|---|
| org.dasein.persist | The Dasein Persistence Libraries provide data access tools that support the development of database applications. |
| org.dasein.persist.attributes | |
| org.dasein.persist.dao | |
| org.dasein.persist.jdbc | |
| org.dasein.persist.l10n | |
| Uses of PersistenceException in org.dasein.persist |
|---|
| Subclasses of PersistenceException in org.dasein.persist | |
|---|---|
class |
DataIntegrityException
Thrown when some database request would result in violating integrity constraints. |
| Methods in org.dasein.persist that throw PersistenceException | |
|---|---|
void |
Transaction.commit()
Commits the transaction to the database and closes the transaction. |
static Class<? extends Execution> |
PersistentFactory.compileTranslator(Class<?> t,
String which)
Deprecated. |
long |
RelationalHSCache.count()
Counts the total number of objects governed by this factory in the database. |
long |
RelationalCache.count()
Counts the total number of objects governed by this factory in the database. |
long |
PersistentFactory.count()
Deprecated. Counts the total number of objects governed by this factory in the database. |
long |
PersistentCache.count()
|
long |
PersistentFactory.count(Class<? extends Execution> cls,
Map<String,Object> criteria)
Deprecated. Counts the number of items matching an arbitrary query. |
long |
RelationalHSCache.count(SearchTerm... terms)
|
long |
RelationalCache.count(SearchTerm... terms)
|
long |
PersistentCache.count(SearchTerm... terms)
|
long |
PersistentFactory.count(SearchTerm[] terms)
Deprecated. |
long |
PersistentFactory.count(String field,
Object val)
Deprecated. Counts the total number of objects in the database matching the specified criteria. |
long |
PersistentFactory.countJoin(Class<? extends Object> jc,
String key,
Object val)
Deprecated. |
T |
RiakCache.create(Transaction xaction,
Map<String,Object> state)
|
T |
RelationalHSCache.create(Transaction xaction,
Map<String,Object> state)
Creates the specified object with the data provided in the specified state under the governance of the specified transaction. |
T |
RelationalCache.create(Transaction xaction,
Map<String,Object> state)
Creates the specified object with the data provided in the specified state under the governance of the specified transaction. |
T |
PersistentFactory.create(Transaction xaction,
Map<String,Object> state)
Deprecated. Creates the specified object with the data provided in the specified state under the governance of the specified transaction. |
abstract T |
PersistentCache.create(Transaction xaction,
Map<String,Object> state)
|
T |
HandlerSocketCache.create(Transaction xaction,
Map<String,Object> state)
|
void |
PersistentFactory.DependencyManager.createDependencies(Transaction xaction,
Map<String,Object> state)
|
Map<String,Object> |
Transaction.execute(Class<? extends Execution> cls,
Map<String,Object> args)
|
Map<String,Object> |
Transaction.execute(Class<? extends Execution> cls,
Map<String,Object> args,
String dsn)
|
HashMap<String,Object> |
Transaction.execute(Execution event,
Map<String,Object> args)
Deprecated. use Transaction.execute(Class, Map) |
Map<String,Object> |
Transaction.execute(Execution event,
Map<String,Object> args,
String dsn)
|
HashMap<String,Object> |
Execution.execute(Transaction trans,
Map<String,Object> args)
Deprecated. do not make direct calls to this method |
Collection<T> |
PersistentFactory.find(Class<? extends Execution> cls,
Map<String,Object> criteria)
Deprecated. Executes an arbitrary search using the passed in search class and criteria. |
Collection<T> |
PersistentFactory.find(Class<? extends Object> jc,
String key,
Object id)
Deprecated. |
Collection<T> |
PersistentFactory.find(SearchTerm... terms)
Deprecated. |
Collection<T> |
PersistentCache.find(SearchTerm... terms)
|
Collection<T> |
PersistentFactory.find(SearchTerm[] terms,
Boolean orderDesc,
String... orderFields)
Deprecated. |
Collection<T> |
RiakCache.find(SearchTerm[] terms,
org.dasein.util.JiteratorFilter<T> filter,
Boolean orderDesc,
String... orderFields)
|
Collection<T> |
RelationalHSCache.find(SearchTerm[] terms,
org.dasein.util.JiteratorFilter<T> filter,
Boolean orderDesc,
String... orderFields)
|
Collection<T> |
RelationalCache.find(SearchTerm[] terms,
org.dasein.util.JiteratorFilter<T> filter,
Boolean orderDesc,
String... orderFields)
|
Collection<T> |
PersistentFactory.find(SearchTerm[] terms,
org.dasein.util.JiteratorFilter<T> filter,
Boolean orderDesc,
String... orderFields)
Deprecated. |
abstract Collection<T> |
PersistentCache.find(SearchTerm[] terms,
org.dasein.util.JiteratorFilter<T> filter,
Boolean orderDesc,
String... orderFields)
|
Collection<T> |
HandlerSocketCache.find(SearchTerm[] terms,
org.dasein.util.JiteratorFilter<T> filter,
Boolean orderDesc,
String... orderFields)
Very simply this the specified index by term.getColumn() using term.getValue(). |
Collection<T> |
PersistentFactory.find(String field,
Object val)
Deprecated. Executes a search that may return multiple values. |
Collection<T> |
PersistentFactory.find(String field,
Object val,
Boolean orderDesc,
String... orderFields)
Deprecated. |
T |
PersistentFactory.get(Map<String,Object> state)
Deprecated. |
T |
RiakCache.get(Object valueOfPrimaryKey)
|
T |
RelationalHSCache.get(Object primaryKeyValue)
Retrieves the object uniquely identified by the value for the specified ID field. |
T |
RelationalCache.get(Object primaryKeyValue)
Retrieves the object uniquely identified by the value for the specified ID field. |
abstract T |
PersistentCache.get(Object keyValue)
|
T |
HandlerSocketCache.get(Object valueOfPrimaryKey)
|
T |
PersistentFactory.get(String id,
Object val)
Deprecated. Retrieves the object uniquely identified by the value for the specified ID field. |
static PersistentCache<? extends org.dasein.util.CachedItem> |
PersistentCache.getCache(Class<? extends org.dasein.util.CachedItem> forClass,
String primaryKey)
|
protected String |
PersistentCache.getKeyValue(Map<String,Object> map,
Key key)
|
protected String |
PersistentCache.getKeyValue(T object)
|
protected String |
PersistentCache.getKeyValue(T object,
Key key)
|
long |
PersistentFactory.getNewKeyValue()
Deprecated. |
long |
PersistentCache.getNewKeyValue()
|
Collection<T> |
RelationalHSCache.hsFind(String index,
AutomatedSql.Operator operator,
int limit,
int offset,
String... indexValues)
Hits the HandlerSocket index directly, caching objects it finds. |
Collection<T> |
RelationalHSCache.hsFind(String index,
AutomatedSql.Operator operator,
String... indexValues)
|
Collection<T> |
RelationalHSCache.hsFind(String index,
String... indexValues)
|
Collection<T> |
RiakCache.list()
|
Collection<T> |
RelationalHSCache.list()
Loads all elements of this class from the data store. |
Collection<T> |
RelationalCache.list()
Loads all elements of this class from the data store. |
Collection<T> |
PersistentFactory.list()
Deprecated. Loads all elements of this class from the data store. |
abstract Collection<T> |
PersistentCache.list()
|
Collection<T> |
HandlerSocketCache.list()
|
Collection<T> |
PersistentFactory.list(boolean orderDesc,
String... orderFields)
Deprecated. |
Collection<T> |
PersistentCache.list(boolean orderDesc,
String... orderFields)
|
Collection<T> |
PersistentFactory.list(Class<? extends Execution> cls)
Deprecated. |
void |
Memento.load(Map<String,Object> data)
Loads the data values into the persistent object. |
void |
PersistentFactory.DependencyManager.loadDependencies(Map<String,Object> state)
|
Map<String,org.dasein.util.Translator<String>> |
Execution.loadStringTranslations(Transaction xaction,
Class cls,
String id)
|
Map<String,org.dasein.util.Translator<String>> |
PersistentFactory.loadTranslations(Transaction xaction,
String idstr)
Deprecated. |
void |
PersistentFactory.loadXml(InputStream in)
Deprecated. |
abstract long |
Sequencer.next()
Generates a new unique number based on the implementation class' algorithm of choice. |
long |
DaseinSequencer.next()
Generates a new unique number. |
boolean |
ImportHook.prepareCreate(Transaction xaction,
Map<String,Object> state)
|
boolean |
ExportHook.prepareExport(PrintWriter output,
T item)
|
boolean |
ImportHook.prepareUpdate(Transaction xaction,
Map<String,Object> state)
|
void |
RiakCache.remove(Transaction xaction,
T item)
|
void |
RelationalHSCache.remove(Transaction xaction,
T item)
Removes the specified item from the system permanently. |
void |
RelationalCache.remove(Transaction xaction,
T item)
Removes the specified item from the system permanently. |
void |
PersistentFactory.remove(Transaction xaction,
T item)
Deprecated. Removes the specified item from the system permanently. |
abstract void |
PersistentCache.remove(Transaction xaction,
T item)
|
void |
HandlerSocketCache.remove(Transaction xaction,
T item)
|
void |
PersistentFactory.DependencyManager.removeDependencies(Transaction xaction,
Map<String,Object> state)
|
void |
Execution.removeStringTranslations(Transaction xaction,
Class cls,
String id)
|
void |
PersistentFactory.removeTranslations(Transaction xaction,
String idstr)
Deprecated. |
Map<String,Object> |
Execution.run()
Deprecated. use Execution.run(Transaction, Map) |
Map<String,Object> |
Execution.run(Transaction xaction,
Map<String,Object> params)
|
void |
Memento.save(Map<String,Object> data)
Saves the current state of the persistent object. |
void |
Execution.saveStringTranslation(Transaction xaction,
Class cls,
String id,
String attr,
org.dasein.util.Translator<String> t)
|
void |
Execution.saveStringTranslation(Transaction xaction,
String cname,
String id,
String attr,
org.dasein.util.Translator<String> t)
|
void |
PersistentFactory.saveTranslation(Transaction xaction,
String idstr,
String attr,
org.dasein.util.Translator<String> val)
Deprecated. |
void |
RiakCache.update(Transaction xaction,
T item,
Map<String,Object> state)
|
void |
RelationalHSCache.update(Transaction xaction,
T item,
Map<String,Object> state)
Updates the specified object with the data provided in the specified state under the governance of the specified transaction. |
void |
RelationalCache.update(Transaction xaction,
T item,
Map<String,Object> state)
Updates the specified object with the data provided in the specified state under the governance of the specified transaction. |
void |
PersistentFactory.update(Transaction xaction,
T item,
Map<String,Object> state)
Deprecated. Updates the specified object with the data provided in the specified state under the governance of the specified transaction. |
abstract void |
PersistentCache.update(Transaction xaction,
T item,
Map<String,Object> state)
|
void |
HandlerSocketCache.update(Transaction xaction,
T item,
Map<String,Object> state)
|
void |
PersistentFactory.DependencyManager.updateDependencies(Transaction xaction,
T item,
Map<String,Object> state)
|
void |
PersistentFactory.writeXml(PrintWriter output)
Deprecated. |
void |
PersistentFactory.writeXml(PrintWriter output,
Class<? extends Execution> cls,
Map<String,Object> criteria)
Deprecated. |
void |
PersistentFactory.writeXml(PrintWriter output,
String field,
Object val)
Deprecated. |
void |
PersistentFactory.writeXml(PrintWriter output,
T item)
Deprecated. |
| Uses of PersistenceException in org.dasein.persist.attributes |
|---|
| Methods in org.dasein.persist.attributes that throw PersistenceException | |
|---|---|
Collection<String> |
AttributeDAO.findOwnerId(Class cls,
String name,
String value)
|
org.dasein.attributes.AttributeMap |
AttributeDAO.loadAttributes(Class cls,
String oid)
|
org.dasein.attributes.DataTypeMap |
AttributeDAO.loadTypes(Class cls,
String oid)
|
org.dasein.attributes.DataTypeMap |
AttributeDAO.loadTypes(Transaction xaction,
Class cls,
String oid)
|
void |
AttributeDAO.removeAttributes(Transaction xaction,
Class cls,
String oid)
|
void |
AttributeDAO.removeTypes(Transaction xaction,
Class cls,
String oid)
|
Map<String,Object> |
RemoveTypes.run(Transaction xaction,
Map<String,Object> params)
|
Map<String,Object> |
RemoveAttributes.run(Transaction xaction,
Map<String,Object> params)
|
Map<String,Object> |
LoadTypes.run(Transaction xaction,
Map<String,Object> params)
|
Map<String,Object> |
LoadAttributes.run(Transaction xaction,
Map<String,Object> params)
|
Map<String,Object> |
FindOwnerId.run(Transaction xaction,
Map<String,Object> params)
|
Map<String,Object> |
CreateTypes.run(Transaction xaction,
Map<String,Object> params)
|
Map<String,Object> |
CreateAttributes.run(Transaction xaction,
Map<String,Object> params)
|
void |
AttributeDAO.saveAttributes(Transaction xaction,
Class tc,
String tcid,
Class oc,
String ocid,
org.dasein.attributes.AttributeMap attrs)
|
void |
AttributeDAO.saveTypes(Transaction xaction,
Class tc,
String tcid,
org.dasein.attributes.DataTypeMap types)
|
| Uses of PersistenceException in org.dasein.persist.dao |
|---|
| Methods in org.dasein.persist.dao that throw PersistenceException | |
|---|---|
Map<String,Object> |
SaveTranslator.run(Transaction xaction,
Map<String,Object> params)
|
Map<String,Object> |
RemoveTranslator.run(Transaction xaction,
Map<String,Object> state)
|
Map<String,Object> |
LoadTranslator.run(Transaction ignore,
Map<String,Object> state)
|
| Uses of PersistenceException in org.dasein.persist.jdbc |
|---|
| Uses of PersistenceException in org.dasein.persist.l10n |
|---|
| Methods in org.dasein.persist.l10n that throw PersistenceException | |
|---|---|
static void |
LocalizedText.addTranslation(String textGroup,
String textCode,
Locale forLocale,
String translation)
|
LocalizedText |
LocalizationGroup.getTranslation(Locale... localePreferences)
|
static Collection<LocalizedText> |
LocalizedText.getTranslations(String textGroup,
String textCode)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||