|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DAOException | |
---|---|
net.smartlab.web | |
net.smartlab.web.history |
Uses of DAOException in net.smartlab.web |
---|
Subclasses of DAOException in net.smartlab.web | |
---|---|
class |
InvalidKeyException
An InvalidKeyException is thrown when a sintactically or semantically invalid key is used to access the persistent representation of an entity. |
class |
LockException
A LockException is thrown whenever an application tries to update a persistent representation into the storage system with an obsolete version of datas or while another application has previously locked the datas, depending on the locking mechanism adopted. |
class |
UndefinedKeyException
An UndefinedKeyException is thrown whenever an application tries to retrieve from a persistent storage an entity using the unique identifier, also known as primary key or simply key, and the requested identifing value is not present in the storage system. |
Methods in net.smartlab.web that throw DAOException | |
---|---|
void |
BusinessObjectFactory.begin()
TODO documentation |
static void |
BusinessObjectFactory.close()
Closes the connection to the persistence tier. |
void |
BusinessObjectFactory.commit()
TODO documentation |
org.hibernate.Criteria |
BusinessObjectFactory.createCriteria(DataAccessObject.SearchInfo info)
Creates an Hibernate Criteria instance using filtering and
ordering rules defined through the SearchInfo structure. |
protected org.hibernate.Session |
BusinessObjectFactory.current()
Returns the current Hibernate Session. |
java.lang.Object |
BusinessObjectFactory.findByKey(java.io.Serializable key)
|
java.lang.Object |
DataAccessObject.findByKey(java.io.Serializable key)
Retrieves from the persistence tier the object which primary key equals the one specified. |
java.lang.Object |
BusinessObjectFactory.findByKey(java.io.Serializable key,
java.lang.String[] fetch)
|
static void |
BusinessObjectFactory.flush()
|
java.util.Collection |
BusinessObjectFactory.list(DataAccessObject.SearchInfo info)
|
java.util.Collection |
DataAccessObject.list(DataAccessObject.SearchInfo info)
Returns a collection of objects representing all the persistence tier informations matching the specified search criterias. |
java.util.Collection |
BusinessObjectFactory.list(DataAccessObject.SearchInfo info,
java.lang.String[] fetch)
|
java.util.Collection |
BusinessObjectFactory.listByKeySet(java.util.Set keys,
DataAccessObject.SearchInfo info)
Returns a collection of objects representing all the persistence tier informations matching the specified set of unique identification keys and search criterias. |
java.util.Collection |
BusinessObjectFactory.listByKeySet(java.util.Set keys,
DataAccessObject.SearchInfo info,
boolean exclude)
Returns a collection of objects representing all the persistence tier informations matching the specified set of unique identification keys and search criterias. |
java.util.Collection |
BusinessObjectFactory.listByKeySet(java.lang.String keyFieldName,
java.util.Set keys,
DataAccessObject.SearchInfo info)
Deprecated. the keyFieldName parameter is no more needed |
java.util.Collection |
BusinessObjectFactory.page(DataAccessObject.SearchInfo info)
Returns a paginable collection of objects representing all the persistence tier informations matching the specified search criterias. |
java.util.Collection |
BusinessObjectFactory.page(DataAccessObject.SearchInfo info,
java.lang.String[] fetch)
|
void |
BusinessObjectFactory.remove(java.lang.Object object)
|
void |
DataAccessObject.remove(java.lang.Object object)
Permanently deletes an instance from the persistence tier. |
void |
BusinessObjectFactory.rollback()
TODO documentation |
void |
BusinessObjectFactory.update(java.lang.Object object)
|
void |
DataAccessObject.update(java.lang.Object object)
Ensures the persistence tier representation of the object is consistent with the in memory representation. |
Constructors in net.smartlab.web that throw DAOException | |
---|---|
BusinessObjectFactory.Paginator(Query query)
Constructs an instance on an Hibernate query with an unlimited number of items per page and an unlimited number of pages displayed. |
|
BusinessObjectFactory.Paginator(Query query,
int size,
int pages)
Constructs an instance on an Hibernate query with the specified number of elements per page and the specified number of pages displayed. |
Uses of DAOException in net.smartlab.web.history |
---|
Methods in net.smartlab.web.history that throw DAOException | |
---|---|
java.lang.Object |
HistorizedBusinessObjectFactory.searchFirst(java.io.Serializable key)
|
java.lang.Object |
HistorizedBusinessObjectFactory.searchFirst(java.io.Serializable key,
java.util.Date start,
java.util.Date end)
|
java.util.List |
HistorizedBusinessObjectFactory.searchHistory(java.io.Serializable key)
|
java.util.List |
HistorizedBusinessObjectFactory.searchHistory(java.io.Serializable key,
java.util.Date start,
java.util.Date end)
|
java.lang.Object |
HistorizedBusinessObjectFactory.searchLast(java.io.Serializable key)
|
java.lang.Object |
HistorizedBusinessObjectFactory.searchLast(java.io.Serializable key,
java.util.Date start,
java.util.Date end)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |