public class InterfaceDaoInvoker extends Object implements DaoInvoker
Modifier and Type | Method and Description |
---|---|
Object |
delete(Object entity) |
Object |
delete(String name,
Object entity) |
void |
flush() |
Object |
insert(Object obj) |
Object |
insert(String name,
Object obj) |
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 obj) |
Object |
update(String name,
Object obj) |
public Object insert(Object obj)
insert
in interface DaoInvoker
public Object insert(String name, Object obj)
insert
in interface DaoInvoker
public Object update(Object obj)
update
in interface DaoInvoker
public Object update(String name, Object obj)
update
in interface DaoInvoker
public Object delete(Object entity)
delete
in interface DaoInvoker
public Object delete(String name, Object entity)
delete
in interface DaoInvoker
public void flush()
flush
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, Object... parameters)
lookup
in interface DaoInvoker
Copyright © 2020. All rights reserved.