|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object at.ac.tuwien.vitalab.hrcrm.dao.GenericDaoIbatisImpl<T>
T
- A placeholder for an object, which have to be persist.public class GenericDaoIbatisImpl<T>
Constructor Summary | |
---|---|
GenericDaoIbatisImpl()
|
Method Summary | |
---|---|
boolean |
addAddressToParty(AddressParty addressParty)
|
boolean |
addNameToParty(NameParty nameParty)
|
void |
create(T object)
Persists the given object to the database. |
boolean |
deleteById(T object)
|
java.util.List<T> |
retrieveAll(T object)
|
T |
retrieveById(T object)
Search in the database for an object, with the given id . |
void |
setSqlMapClientOperations(org.springframework.orm.ibatis.SqlMapClientOperations sqlMapClientOperations)
Write access to private field. |
boolean |
updateById(T object)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericDaoIbatisImpl()
Method Detail |
---|
public void create(T object)
create
in interface GenericDao<T>
object
- Object to be persisted.public T retrieveById(T object)
id
.
retrieveById
in interface GenericDao<T>
object
- Contains the id
.
null
.public java.util.List<T> retrieveAll(T object)
retrieveAll
in interface GenericDao<T>
public boolean updateById(T object)
updateById
in interface GenericDao<T>
public boolean deleteById(T object)
deleteById
in interface GenericDao<T>
public void setSqlMapClientOperations(org.springframework.orm.ibatis.SqlMapClientOperations sqlMapClientOperations)
sqlMapClientOperations
- The sqlMapClientOperations to set.public boolean addAddressToParty(AddressParty addressParty)
addAddressToParty
in interface GenericDao<T>
public boolean addNameToParty(NameParty nameParty)
addNameToParty
in interface GenericDao<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |