Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractPersistenceSession.deleteEntity(DbEntityOperation operation) |
protected abstract void |
AbstractPersistenceSession.insertEntity(DbEntityOperation operation) |
protected abstract void |
AbstractPersistenceSession.updateEntity(DbEntityOperation operation) |
Modifier and Type | Field and Description |
---|---|
SortedMap<Class<?>,SortedSet<DbEntityOperation>> |
DbOperationManager.deletes
DELETEs of a single entity
|
static Comparator<DbEntityOperation> |
DbOperationManager.INSERT_OPERATION_COMPARATOR |
SortedMap<Class<?>,SortedSet<DbEntityOperation>> |
DbOperationManager.inserts
INSERTs
|
static Comparator<DbEntityOperation> |
DbOperationManager.MODIFICATION_OPERATION_COMPARATOR |
SortedMap<Class<?>,SortedSet<DbEntityOperation>> |
DbOperationManager.updates
UPDATEs of a single entity
|
Modifier and Type | Method and Description |
---|---|
protected SortedSet<DbEntityOperation> |
DbOperationManager.getDeletesByType(Class<? extends DbEntity> type,
boolean create) |
protected SortedSet<DbEntityOperation> |
DbOperationManager.getInsertsForType(Class<? extends DbEntity> type,
boolean create) |
protected SortedSet<DbEntityOperation> |
DbOperationManager.getUpdatesByType(Class<? extends DbEntity> type,
boolean create) |
protected List<DbEntityOperation> |
DbOperationManager.sortByReferences(SortedSet<DbEntityOperation> preSorted)
Assumptions:
a) all operations in the set work on entities such that the entities implement
HasDbReferences . |
Modifier and Type | Method and Description |
---|---|
boolean |
DbOperationManager.addOperation(DbEntityOperation newOperation) |
Modifier and Type | Method and Description |
---|---|
protected void |
DbOperationManager.addSortedModificationsForType(Class<?> type,
SortedSet<DbEntityOperation> preSortedOperations,
List<DbOperation> flush) |
protected List<DbEntityOperation> |
DbOperationManager.sortByReferences(SortedSet<DbEntityOperation> preSorted)
Assumptions:
a) all operations in the set work on entities such that the entities implement
HasDbReferences . |
Modifier and Type | Method and Description |
---|---|
int |
DbEntityOperationComparator.compare(DbEntityOperation firstOperation,
DbEntityOperation secondOperation) |
Modifier and Type | Method and Description |
---|---|
protected void |
SimpleDbSqlSession.deleteEntity(DbEntityOperation operation) |
protected void |
BatchDbSqlSession.deleteEntity(DbEntityOperation operation) |
protected void |
DbSqlSession.entityDeletePerformed(DbEntityOperation operation,
int rowsAffected,
Exception failure) |
protected void |
DbSqlSession.entityInsertPerformed(DbEntityOperation operation,
int rowsAffected,
Exception failure) |
protected void |
DbSqlSession.entityUpdatePerformed(DbEntityOperation operation,
int rowsAffected,
Exception failure) |
protected void |
SimpleDbSqlSession.insertEntity(DbEntityOperation operation) |
protected void |
DbSqlSession.insertEntity(DbEntityOperation operation) |
protected void |
SimpleDbSqlSession.updateEntity(DbEntityOperation operation) |
protected void |
BatchDbSqlSession.updateEntity(DbEntityOperation operation) |
Copyright © 2019. All rights reserved.