| Package | Description |
|---|---|
| org.tentackle.ns.pdo |
Persistence implementation for number sources.
|
| org.tentackle.pdo |
PDO persistence implementation.
|
| org.tentackle.persist |
Persistence layer implementation.
|
| org.tentackle.persist.rmi |
Persistence layer remoting.
|
| org.tentackle.security.pdo |
Persistence implementation for security rules.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NumberPoolPersistenceImpl
Number Space persistence implementation.
|
class |
NumberRangePersistenceImpl
Number Space persistence implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPersistentObject<T extends PersistentDomainObject<T>,P extends AbstractPersistentObject<T,P>>
AbstractApplication database object.
Extends AbstractDbObject with features necessary in nearly all
desktop enterprise applications. |
| Modifier and Type | Method and Description |
|---|---|
protected int |
PersistentObjectClassVariables.determineReferencePriority(Class<? extends AbstractDbObject<?>> clazz)
Determine the referencing priority.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDbObject<P extends AbstractDbObject<P>>
A persistent low-level database object.
|
class |
DbObjectClassVariables<P extends AbstractDbObject<P>>
Holds static class variables for classes derived from DbObject.
|
class |
IdComparator<P extends AbstractDbObject<?>>
Compares the object ids of two
AbstractDbObjects. |
class |
NameComparator<T extends AbstractDbObject<?>>
Compares the string representation (toString()) of two
AbstractDbObjects. |
class |
NameIdComparator<T extends AbstractDbObject<?>>
Compares the names + IDs of two
AbstractDbObjects. |
| Modifier and Type | Class and Description |
|---|---|
class |
DbModification
Modification information per table.
|
class |
DbPreferencesKey
A preferences key/value pair stored in the database.
|
class |
DbPreferencesNode
Preferences Node stored in the database.
|
class |
ModificationLog
Logging for object modifications.
Modifications to AbstractDbObjects can be logged to a so-called modification log (aka: modlog).Most applications will use the modlog for asynchroneous database coupling. |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractDbObject<?> |
ModificationLog.lazyObject
The
AbstractDbObject the log belongs to. |
| Modifier and Type | Field and Description |
|---|---|
static IdComparator<AbstractDbObject<?>> |
AbstractDbObject.idComparator
ID comparator
|
static NameComparator<AbstractDbObject<?>> |
AbstractDbObject.nameComparator
name comparator
|
static NameIdComparator<AbstractDbObject<?>> |
AbstractDbObject.nameIdComparator
name + ID comparator
|
| Modifier and Type | Method and Description |
|---|---|
<P extends AbstractDbObject<P>> |
DefaultModificationLogFactory.createModificationLog(AbstractDbObject<P> object,
char modType) |
<P extends AbstractDbObject<P>> |
ModificationLogFactory.createModificationLog(AbstractDbObject<P> object,
char modType)
Creates a modification log from an object.
|
static <P extends AbstractDbObject<P>> |
DbObjectClassVariables.getVariables(String tableName)
Gets the classvariables for a given tablename.
|
static <P extends AbstractDbObject<?>> |
AbstractDbObject.newInstance(Class<P> clazz)
Instantiates a new db object for a given class without a session.
|
static <P extends AbstractDbObject<?>> |
AbstractDbObject.newInstance(Session session,
Class<P> clazz)
Instantiates a new object for a given class and session.
|
static <P extends AbstractDbObject<P>> |
DbObjectClassVariables.putVariables(DbObjectClassVariables<P> variables)
Registers a classvariables instance.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractDbObject<?> |
ModificationLog.getDbObject()
Gets the object referenced by this ModificationLog.
|
AbstractDbObject<?> |
ModificationLog.getDbObject(Db db)
Gets the db object referenced by this ModificationLog.
The object is lazily cached if the given db equals the db of this modlog. |
AbstractDbObject<?> |
Db.getTxObject()
Gets the optional transaction object.
|
AbstractDbObject<?> |
DbTransaction.getTxObject()
Gets the optional transaction object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractDbObject.createAttributesInSnapshot(AbstractDbObject snapshot)
Updates the attributes in snapshot object.
The snapshot object is assumed to be a clone of this object. |
<P extends AbstractDbObject<P>> |
DefaultModificationLogFactory.createModificationLog(AbstractDbObject<P> object,
char modType) |
<P extends AbstractDbObject<P>> |
ModificationLogFactory.createModificationLog(AbstractDbObject<P> object,
char modType)
Creates a modification log from an object.
|
boolean |
Db.isPersistenceOperationAllowed(AbstractDbObject<?> object,
char modType)
Checks whether a persistence operation is allowed.
This is determined by consulting the PersistenceVisitors. |
boolean |
DbTransaction.isPersistenceOperationAllowed(AbstractDbObject<?> object,
char modType)
Checks whether a persistence operation is allowed.
This is determined by consulting the PersistenceVisitors. |
boolean |
IgnoreDuplicatesPersistenceVisitor.isPersistenceOperationAllowed(AbstractDbObject<?> object,
char modType)
Checks whether object has already been persisted.
|
boolean |
PersistenceVisitor.isPersistenceOperationAllowed(AbstractDbObject<?> object,
char modType)
Checks if the persistence operation is allowed.
|
void |
ModificationLog.replayDelete(ModificationLog modlog,
AbstractDbObject<?> object)
Replay a delete.
|
void |
ModificationLog.replayFinishModification(ModificationLog modlog,
AbstractDbObject<?> object)
Perform postprocessing for replay.
|
void |
ModificationLog.replayInitModification(ModificationLog modlog,
AbstractDbObject<?> object)
Perform preprocessing for replay.
|
void |
ModificationLog.replayInsert(ModificationLog modlog,
AbstractDbObject<?> object)
Replay an insert.
|
void |
ModificationLog.replayUpdate(ModificationLog modlog,
AbstractDbObject<?> object)
Replay an update.
|
protected void |
AbstractDbObject.revertAttributesToSnapshot(AbstractDbObject snapshot)
Copies all attributes from a snapshot object back to this object.
|
void |
Db.setTxObject(AbstractDbObject<?> txObject)
Sets the optional transaction object.
By default, whenever a transaction is initiated by a persistence operation of a AbstractDbObject, that object becomes the "parent" of the
transaction.The txObject is mainly used for logging and enhanced auditing (partial history) during transactions.The txObject is cleared at the end of the transaction. |
void |
DbTransaction.setTxObject(AbstractDbObject<?> txObject)
Sets the optional transaction object.
By default, whenever a transaction is initiated by a persistence operation of a PDO, that object becomes the "parent" of the transaction. The txObject is mainly used for logging and enhanced auditing (partial history) during transactions. |
void |
IgnoreDuplicatesPersistenceVisitor.visit(AbstractDbObject<?> object,
Character modType)
Visits all objects.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DbObjectClassVariables.addReferencingClass(Class<? extends AbstractDbObject<?>> clazz,
String methodName)
Adds a PDO class that is referencing the class of this class variable holder.
|
void |
ModificationLog.canonicalize(Canonicalizer<String> stringCanonicalizer,
Canonicalizer<AbstractDbObject<?>> objectCanonicalizer)
Canonicalize the strings in this modlog.
Used to reduce communication bandwidth when sending larger collections of modlogs via RMI. |
protected int |
DbObjectClassVariables.determineReferencePriority(Class<? extends AbstractDbObject<?>> clazz)
Determine the referencing priority.
|
boolean |
DbObjectClassVariables.removeReferencingClass(Class<? extends AbstractDbObject<?>> clazz,
String methodName)
Removes a PDO class that is referencing the class from this class variable holder.
|
| Constructor and Description |
|---|
ModificationLog(AbstractDbObject<P> object,
char modType)
Creates a modification log from an object.
|
| Constructor and Description |
|---|
DbObjectResult(AbstractDbObject<?> object)
Creates a result for the client.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SecurityPersistenceImpl
Security rule persistence implementation.
|
Copyright © 2016 Krake Softwaretechnik. All rights reserved.