| Package | Description |
|---|---|
| com.avaje.ebeaninternal.api | |
| com.avaje.ebeaninternal.server.cache | |
| com.avaje.ebeaninternal.server.deploy |
Bean description
|
| com.avaje.ebeaninternal.server.persist |
Persistence Implementation
|
| com.avaje.ebeaninternal.server.persist.dml |
Bean DML persistence implementation
|
| com.avaje.ebeaninternal.server.persist.dmlbind |
Bindable objects to support Bean DML
|
| Modifier and Type | Method and Description |
|---|---|
List<PersistRequestBean<?>> |
TransactionEventBeans.getRequests()
Return the list of PersistRequests that BeanListeners are interested in.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TransactionEventBeans.add(PersistRequestBean<?> request)
Add a bean for BeanListener notification.
|
void |
TransactionEvent.add(PersistRequestBean<?> request)
Add a inserted updated or deleted bean to the event.
|
| Modifier and Type | Method and Description |
|---|---|
static CachedBeanData |
CachedBeanDataUpdate.update(BeanDescriptor<?> desc,
CachedBeanData data,
PersistRequestBean<?> updateRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
BeanDescriptor.cacheDelete(Object id,
PersistRequestBean<T> deleteRequest)
Remove a bean from the cache given its Id.
|
void |
BeanDescriptor.cacheInsert(Object id,
PersistRequestBean<T> insertRequest) |
void |
BeanDescriptor.cacheUpdate(Object id,
PersistRequestBean<T> updateRequest)
Update the cached bean data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanPersister.delete(PersistRequestBean<?> request)
execute the delete bean request.
|
<T> void |
PersistExecute.executeDeleteBean(PersistRequestBean<T> request)
Execute a Bean (or MapBean) delete.
|
<T> void |
DefaultPersistExecute.executeDeleteBean(PersistRequestBean<T> request)
execute the bean delete request.
|
<T> void |
PersistExecute.executeInsertBean(PersistRequestBean<T> request)
Execute a Bean (or MapBean) insert.
|
<T> void |
DefaultPersistExecute.executeInsertBean(PersistRequestBean<T> request)
execute the bean insert request.
|
int |
BatchControl.executeOrQueue(PersistRequestBean<?> request,
boolean batch)
Entity Bean insert, update or delete.
|
<T> void |
PersistExecute.executeUpdateBean(PersistRequestBean<T> request)
Execute a Bean (or MapBean) update.
|
<T> void |
DefaultPersistExecute.executeUpdateBean(PersistRequestBean<T> request)
execute the bean update request.
|
ArrayList<PersistRequest> |
BatchedBeanHolder.getList(PersistRequestBean<?> request)
Return the list for the typeCode.
|
ArrayList<PersistRequest> |
BatchedBeanControl.getPersistList(PersistRequestBean<?> request) |
void |
BeanPersister.insert(PersistRequestBean<?> request)
execute the insert bean request.
|
void |
BeanPersister.update(PersistRequestBean<?> request)
execute the update bean request.
|
| Constructor and Description |
|---|
DeleteUnloadedForeignKeys(SpiEbeanServer server,
PersistRequestBean<?> request) |
| Modifier and Type | Field and Description |
|---|---|
protected PersistRequestBean<?> |
DmlHandler.persistRequest
The originating request.
|
| Modifier and Type | Method and Description |
|---|---|
PersistRequestBean<?> |
DmlHandler.getPersistRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
DeleteMeta.bind(PersistRequestBean<?> persist,
DmlHandler bind)
Bind the request based on the concurrency mode.
|
void |
UpdateMeta.bind(PersistRequestBean<?> persist,
DmlHandler bind,
SpiUpdatePlan updatePlan)
Bind the request based on the concurrency mode.
|
void |
DmlBeanPersister.delete(PersistRequestBean<?> request)
execute the bean delete request.
|
boolean |
InsertMeta.deriveConcatenatedId(PersistRequestBean<?> persist)
Return true if the Id can be derived from other property values.
|
protected PreparedStatement |
DmlHandler.getPstmt(SpiTransaction t,
String sql,
PersistRequestBean<?> request,
boolean genKeys)
Return a prepared statement taking into account batch requirements.
|
String |
DeleteMeta.getSql(PersistRequestBean<?> request)
get or generate the sql based on the concurrency mode.
|
SpiUpdatePlan |
UpdateMeta.getUpdatePlan(PersistRequestBean<?> request)
get or generate the sql based on the concurrency mode.
|
void |
DmlBeanPersister.insert(PersistRequestBean<?> request)
execute the bean insert request.
|
void |
DmlBeanPersister.update(PersistRequestBean<?> request)
execute the bean update request.
|
| Constructor and Description |
|---|
DeleteHandler(PersistRequestBean<?> persist,
DeleteMeta meta) |
DmlHandler(PersistRequestBean<?> persistRequest,
boolean emptyStringToNull) |
InsertHandler(PersistRequestBean<?> persist,
InsertMeta meta)
Create to handle the insert execution.
|
UpdateHandler(PersistRequestBean<?> persist,
UpdateMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
PersistRequestBean<?> |
BindableRequest.getPersistRequest()
Return the original PersistRequest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BindableEmbedded.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindableProperty.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindableEncryptedProperty.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindableCompound.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindableAssocOne.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindableIdEmbedded.addChanged(PersistRequestBean<?> request,
List<Bindable> list)
Does nothing for BindableId.
|
void |
Bindable.addChanged(PersistRequestBean<?> request,
List<Bindable> list)
For Updates including only changed properties add the Bindable to the
list if it should be included in the 'update set'.
|
void |
BindableList.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindableIdEmpty.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindableIdMap.addChanged(PersistRequestBean<?> request,
List<Bindable> list)
Does nothing for BindableId.
|
void |
BindableIdScalar.addChanged(PersistRequestBean<?> request,
List<Bindable> list)
Does nothing for BindableId.
|
void |
BindableUnidirectional.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
void |
BindablePropertyUpdateGenerated.addChanged(PersistRequestBean<?> request,
List<Bindable> list)
Always add BindablePropertyUpdateGenerated properties.
|
void |
BindableDiscriminator.addChanged(PersistRequestBean<?> request,
List<Bindable> list) |
boolean |
BindableIdEmbedded.deriveConcatenatedId(PersistRequestBean<?> persist) |
boolean |
BindableId.deriveConcatenatedId(PersistRequestBean<?> persist)
Create the concatenated id for inserts with PFK relationships.
|
boolean |
BindableIdEmpty.deriveConcatenatedId(PersistRequestBean<?> persist) |
boolean |
BindableIdMap.deriveConcatenatedId(PersistRequestBean<?> persist) |
boolean |
BindableIdScalar.deriveConcatenatedId(PersistRequestBean<?> persist)
Should not be called as this is really only for concatenated keys.
|
Copyright © 2014. All Rights Reserved.