public class AnnotatedDaoInvoker extends Object implements DaoInvoker
Constructor and Description |
---|
AnnotatedDaoInvoker(Object dao,
AnnotatedDaoRuntimeInfo daoRuntimeInfo) |
Modifier and Type | Method and Description |
---|---|
Object |
delete(Object entity) |
Object |
delete(String name,
Object entity) |
void |
flush() |
Object |
insert(Object entity) |
Object |
insert(String name,
Object entity) |
Object |
lookup(String name,
Map<String,?> parameters) |
Object |
lookup(String name,
Object... parameters) |
Object |
lookupByQuery(String query,
Map<String,?> parameters) |
Object |
lookupByQuery(String query,
Object... parameters) |
Object |
update(Object entity) |
Object |
update(String name,
Object entity) |
public AnnotatedDaoInvoker(Object dao, AnnotatedDaoRuntimeInfo daoRuntimeInfo)
dao
- public void flush()
flush
in interface DaoInvoker
public Object update(Object entity)
update
in interface DaoInvoker
public Object update(String name, Object entity)
update
in interface DaoInvoker
public Object insert(Object entity)
insert
in interface DaoInvoker
public Object insert(String name, Object entity)
insert
in interface DaoInvoker
public Object delete(Object entity)
delete
in interface DaoInvoker
public Object delete(String name, Object entity)
delete
in interface DaoInvoker
public Object lookupByQuery(String query, Object... parameters)
lookupByQuery
in interface DaoInvoker
public Object lookupByQuery(String query, Map<String,?> parameters)
lookupByQuery
in interface DaoInvoker
public Object lookup(String name, Map<String,?> parameters)
lookup
in interface DaoInvoker
public Object lookup(String name, Object... parameters)
lookup
in interface DaoInvoker
Copyright © 2020. All rights reserved.