public interface DAO<IN extends TransientObject,OUT extends TransientObject>
Modifier and Type | Interface and Description |
---|---|
static class |
DAO.DAOException |
Modifier and Type | Method and Description |
---|---|
int |
count(java.lang.String objectType) |
void |
delete(IN... objects) |
boolean |
exists(IN... objects) |
<O extends OUT> |
get(java.lang.String type,
java.lang.String... keys) |
<O extends OUT> |
query(Query query) |
void |
save(IN... objects) |
<O extends OUT> java.util.List<O> query(Query query) throws DAO.DAOException
DAO.DAOException
<O extends OUT> java.util.Collection<O> get(java.lang.String type, java.lang.String... keys) throws DAO.DAOException
DAO.DAOException
void save(IN... objects) throws DAO.DAOException
DAO.DAOException
void delete(IN... objects) throws DAO.DAOException
DAO.DAOException
boolean exists(IN... objects)
int count(java.lang.String objectType)