|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DaoException | |
---|---|
org.perfectjpattern.jee.api.integration.dao | Generic Data Access Object (DAO) Pattern API. |
org.perfectjpattern.jee.integration.dao | Spring-based implementation of the Generic Data Access Object (DAO) Pattern. |
Uses of DaoException in org.perfectjpattern.jee.api.integration.dao |
---|
Methods in org.perfectjpattern.jee.api.integration.dao that throw DaoException | |
---|---|
void |
ITransaction.begin()
Demarcates the beginning of a Transaction |
void |
ISession.clear()
Clears the Session , removing all cached changes without
applying them. |
void |
ISession.close()
Closes the Session . |
void |
ITransaction.commit()
Commits the current Transaction |
boolean |
IBaseReadOnlyDao.contains(Element anElement)
Returns true if the specified Element exists in the persistent storage, false otherwise. |
int |
IBaseReadOnlyDao.count()
Returns the total number of records. |
Id |
IBaseDao.create(Element anElement)
Returns the ID of the newly created Element. |
boolean |
IBaseDao.delete(Element anElement)
Returns true if the Element was deleted, false otherwise i.e. |
void |
IBaseDao.deleteAll()
Deletes all Element from the persistent storage. |
List<Element> |
IBaseReadOnlyDao.findAll()
Returns all Elements from the persistent storage. |
List<Element> |
IGenericReadOnlyDao.findByExample(Element anElement,
String... anExcludeProperties)
Returns the List of Elements that match the search criteria specified through the Example. |
Element |
IBaseReadOnlyDao.findById(Id anId)
Returns the Element matching the given ID. |
void |
ISession.flush()
Flushes the Session by applying all cached changes to the
persistent store. |
void |
ITransaction.rollback()
Rolls back the current Transaction |
void |
IBaseDaoFactory.shutdown()
Shuts down all DAO services, does all the necessary clean up |
boolean |
IBaseDao.update(Element anElement)
Returns true if the Element was updated, false otherwise i.e. |
Uses of DaoException in org.perfectjpattern.jee.integration.dao |
---|
Methods in org.perfectjpattern.jee.integration.dao that throw DaoException | |
---|---|
boolean |
JpaBaseDao.contains(Element anElement)
Returns true if the specified Element exists in the persistent storage, false otherwise. |
int |
JpaBaseDao.count()
Returns the total number of records. |
Id |
JpaBaseDao.create(Element anElement)
Returns the ID of the newly created Element. |
boolean |
JpaBaseDao.delete(Element anElement)
Returns true if the Element was deleted, false otherwise i.e. |
void |
JpaBaseDao.deleteAll()
Deletes all Element from the persistent storage. |
List<Element> |
JpaBaseDao.findAll()
Returns all Elements from the persistent storage. |
List<Element> |
HibernateGenericDao.findByExample(Element anElement,
String... anExcludeProperties)
Returns the List of Elements that match the search criteria specified through the Example. |
Element |
JpaBaseDao.findById(Id anId)
Returns the Element matching the given ID. |
protected org.hibernate.Session |
HibernateGenericDao.getActualSession()
Returns the Session |
void |
AbstractDaoFactory.shutdown()
Shuts down all DAO services, does all the necessary clean up |
boolean |
JpaBaseDao.update(Element anElement)
Returns true if the Element was updated, false otherwise i.e. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |