Set<Property> |
Database.checkUniqueness(Object bean,
Transaction transaction) |
|
static Set<Property> |
DB.checkUniqueness(Object bean,
Transaction transaction) |
|
static Set<Property> |
Ebean.checkUniqueness(Object bean,
Transaction transaction) |
Deprecated.
|
int |
Database.delete(Class<?> beanType,
Object id,
Transaction transaction) |
Delete the bean given its type and id with an explicit transaction.
|
boolean |
Database.delete(Object bean,
Transaction transaction) |
Delete the bean with an explicit transaction.
|
int |
ExpressionList.delete(Transaction transaction) |
Execute as a delete query deleting the 'root level' beans that match the predicates
in the query.
|
<T> int |
ExtendedServer.delete(Query<T> query,
Transaction transaction) |
Execute as a delete query deleting the 'root level' beans that match the predicates
in the query.
|
boolean |
Model.delete(Transaction transaction) |
Delete this entity with an explicit transaction.
|
int |
Query.delete(Transaction transaction) |
Execute as a delete query returning the number of rows deleted using the given transaction.
|
int |
Database.deleteAll(Class<?> beanType,
Collection<?> ids,
Transaction transaction) |
Delete several beans given their type and id values with an explicit transaction.
|
int |
Database.deleteAll(Collection<?> beans,
Transaction transaction) |
Delete all the beans in the collection using an explicit transaction.
|
int |
Database.deleteAllPermanent(Class<?> beanType,
Collection<?> ids,
Transaction transaction) |
Delete permanent for several beans given their type and id values with an explicit transaction.
|
int |
Database.deleteAllPermanent(Collection<?> beans,
Transaction transaction) |
Delete all the beans in the collection permanently without soft delete using an explicit transaction.
|
int |
Database.deletePermanent(Class<?> beanType,
Object id,
Transaction transaction) |
Delete permanent given the bean type and id with an explicit transaction.
|
boolean |
Database.deletePermanent(Object bean,
Transaction transaction) |
Delete a bean permanently without soft delete using an explicit transaction.
|
boolean |
Model.deletePermanent(Transaction transaction) |
Delete a bean permanently without soft delete using an explicit transaction.
|
<T> List<T> |
Database.draftRestore(Query<T> query,
Transaction transaction) |
Restore the draft beans matching the query back to the live state.
|
<T> T |
Database.draftRestore(Class<T> beanType,
Object id,
Transaction transaction) |
Restore the draft bean back to the live state.
|
int |
Database.execute(CallableSql callableSql,
Transaction transaction) |
Execute explicitly passing a transaction.
|
int |
Database.execute(SqlUpdate updSql,
Transaction transaction) |
Execute explicitly passing a transaction.
|
int |
Database.execute(Update<?> update,
Transaction transaction) |
Execute a ORM insert update or delete statement with an explicit
transaction.
|
<T> boolean |
ExtendedServer.exists(Query<?> ormQuery,
Transaction transaction) |
Execute the query returning true if a row is found.
|
<T> T |
Database.find(Class<T> beanType,
Object id,
Transaction transaction) |
Find a entity bean with an explicit transaction.
|
<T> int |
ExtendedServer.findCount(Query<T> query,
Transaction transaction) |
Return the number of 'top level' or 'root' entities this query should return.
|
<T> void |
ExtendedServer.findEach(Query<T> query,
int batch,
Consumer<List<T>> consumer,
Transaction t) |
Execute findEach with batch consumer.
|
<T> void |
ExtendedServer.findEach(Query<T> query,
Consumer<T> consumer,
Transaction transaction) |
Execute the query visiting the each bean one at a time.
|
void |
ExtendedServer.findEach(SqlQuery query,
Consumer<SqlRow> consumer,
Transaction transaction) |
Execute the SqlQuery iterating a row at a time.
|
<T> void |
ExtendedServer.findEachWhile(Query<T> query,
Predicate<T> consumer,
Transaction transaction) |
Execute the query visiting the each bean one at a time.
|
void |
ExtendedServer.findEachWhile(SqlQuery query,
Predicate<SqlRow> consumer,
Transaction transaction) |
Execute the SqlQuery iterating a row at a time with the ability to stop consuming part way through.
|
<T> FutureRowCount<T> |
ExtendedServer.findFutureCount(Query<T> query,
Transaction transaction) |
Execute find row count query in a background thread.
|
<T> FutureIds<T> |
ExtendedServer.findFutureIds(Query<T> query,
Transaction transaction) |
Execute find Id's query in a background thread.
|
<T> FutureList<T> |
ExtendedServer.findFutureList(Query<T> query,
Transaction transaction) |
Execute find list query in a background thread returning a FutureList object.
|
<A,T> List<A> |
ExtendedServer.findIds(Query<T> query,
Transaction transaction) |
Return the Id values of the query as a List.
|
<T> QueryIterator<T> |
ExtendedServer.findIterate(Query<T> query,
Transaction transaction) |
Return a QueryIterator for the query.
|
<T> Stream<T> |
ExtendedServer.findLargeStream(Query<T> query,
Transaction transaction) |
Deprecated.
|
<T> List<T> |
ExtendedServer.findList(Query<T> query,
Transaction transaction) |
Execute a query returning a list of beans.
|
List<SqlRow> |
ExtendedServer.findList(SqlQuery query,
Transaction transaction) |
Execute the sql query returning a list of MapBean.
|
<K,T> Map<K,T> |
ExtendedServer.findMap(Query<T> query,
Transaction transaction) |
Execute the query returning the entity beans in a Map.
|
<T> T |
ExtendedServer.findOne(Query<T> query,
Transaction transaction) |
Execute the query returning at most one entity bean or null (if no matching
bean is found).
|
SqlRow |
ExtendedServer.findOne(SqlQuery query,
Transaction transaction) |
Execute the sql query returning a single MapBean or null.
|
<T> Optional<T> |
ExtendedServer.findOneOrEmpty(Query<T> query,
Transaction transaction) |
Similar to findOne() but returns an Optional (rather than nullable).
|
<T> PagedList<T> |
ExtendedServer.findPagedList(Query<T> query,
Transaction transaction) |
Return a PagedList for this query using firstRow and maxRows.
|
<T> Set<T> |
ExtendedServer.findSet(Query<T> query,
Transaction transaction) |
Execute the query returning a set of entity beans.
|
<A,T> List<A> |
ExtendedServer.findSingleAttributeList(Query<T> query,
Transaction transaction) |
Execute the query returning a list of values for a single property.
|
<T> Stream<T> |
ExtendedServer.findStream(Query<T> query,
Transaction transaction) |
Execute the query returning the result as a Stream.
|
<T> List<Version<T>> |
ExtendedServer.findVersions(Query<T> query,
Transaction transaction) |
Return versions of a @History entity bean.
|
void |
Database.insert(Object bean,
Transaction transaction) |
Insert the bean with a transaction.
|
void |
Model.insert(Transaction transaction) |
Insert with an explicit transaction.
|
void |
Database.insertAll(Collection<?> beans,
Transaction transaction) |
Insert a collection of beans with an explicit transaction.
|
void |
Database.merge(Object bean,
MergeOptions options,
Transaction transaction) |
Merge the bean using the given merge options and a transaction.
|
<T> List<T> |
Database.publish(Query<T> query,
Transaction transaction) |
Publish the beans that match the query returning the resulting published beans.
|
<T> T |
Database.publish(Class<T> beanType,
Object id,
Transaction transaction) |
Publish a single bean given its type and id returning the resulting live bean.
|
void |
Database.save(Object bean,
Transaction transaction) |
Insert or update a bean with an explicit transaction.
|
void |
Model.save(Transaction transaction) |
Save this entity with an explicit transaction.
|
int |
Database.saveAll(Collection<?> beans,
Transaction transaction) |
Save all the beans in the collection with an explicit transaction.
|
void |
Database.update(Object bean,
Transaction transaction) |
Update a bean additionally specifying a transaction.
|
int |
ExpressionList.update(Transaction transaction) |
Execute as a update query with the given transaction.
|
<T> int |
ExtendedServer.update(Query<T> query,
Transaction transaction) |
Execute the update query returning the number of rows updated.
|
void |
Model.update(Transaction transaction) |
Update this entity with an explicit transaction.
|
int |
Query.update(Transaction transaction) |
Execute the UpdateQuery returning the number of rows updated using the given transaction.
|
void |
Database.updateAll(Collection<?> beans,
Transaction transaction) |
Update a collection of beans with an explicit transaction.
|
DtoQuery<T> |
DtoQuery.usingTransaction(Transaction transaction) |
Use the explicit transaction to execute the query.
|
Query<T> |
ExpressionList.usingTransaction(Transaction transaction) |
Execute the query using the given transaction.
|
Query<T> |
Query.usingTransaction(Transaction transaction) |
Execute the query using the given transaction.
|