T - Klasa obiektu, który jest zmapowany w hibernatePK - Klasa klucza głównego obiektu@Repository public abstract class HibernateEditableDao<T,PK extends Serializable> extends HibernateBaseDao<T,PK> implements EditableDao<T,PK>
type| Constructor and Description | 
|---|
| HibernateEditableDao() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | delete(T entity)Usuwa podany obiekt z bazy danych | 
| T | merge(T entity)Wywołuje metodę  Session.merge(Object) | 
| PK | save(T entity)Zapisuje obiekt w bazie danych | 
| void | update(T entity)Modyfikuje informacje o obiekcie | 
countAll, countByCriteria, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getByField, getSession, getSessionFactory, propertyList, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countByCriteria, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getByField, propertyListpublic void update(T entity)
EditableDaoupdate in interface EditableDao<T,PK extends Serializable>entity - Obiekt, który chcemy zmodyfikowaćpublic void delete(T entity)
EditableDaodelete in interface EditableDao<T,PK extends Serializable>entity - Obiekt bazodanowypublic PK save(T entity)
EditableDaosave in interface EditableDao<T,PK extends Serializable>entity - Obiekt, który chcemy zapisaćpublic T merge(T entity)
EditableDaoSession.merge(Object)merge in interface EditableDao<T,PK extends Serializable>entity - encjaCopyright © 2019 Suncode. All rights reserved.