Package com.logicaldoc.core.dashlet
Class HibernateDashletDAO
- java.lang.Object
- 
- com.logicaldoc.core.HibernatePersistentObjectDAO<Dashlet>
- 
- com.logicaldoc.core.dashlet.HibernateDashletDAO
 
 
- 
- All Implemented Interfaces:
- DashletDAO,- PersistentObjectDAO<Dashlet>
 
 public class HibernateDashletDAO extends HibernatePersistentObjectDAO<Dashlet> implements DashletDAO Hibernate implementation ofDashletDAO- Since:
- 8.2.3
- Author:
- Marco Meschieri - LogicalDOC
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelete(long id, int code)This method deletes an entity and you can give a deletion codeDashletfindByName(String name, long tenantId)Finds the dashlet by it's name- 
Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAObulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, setSessionFactory, store
 - 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, store
 
- 
 
- 
- 
- 
Method Detail- 
findByNamepublic Dashlet findByName(String name, long tenantId) Description copied from interface:DashletDAOFinds the dashlet by it's name- Specified by:
- findByNamein interface- DashletDAO
- Parameters:
- name- name of the dashlet
- tenantId- identifier of the tenant
- Returns:
- the found dashlet
 
 - 
deletepublic boolean delete(long id, int code)Description copied from interface:PersistentObjectDAOThis method deletes an entity and you can give a deletion code- Specified by:
- deletein interface- PersistentObjectDAO<Dashlet>
- Overrides:
- deletein class- HibernatePersistentObjectDAO<Dashlet>
- Parameters:
- id- ID of the entity which should be deleted
- code- Deletion code
- Returns:
- if the record has been successfully deleted
 
 
- 
 
-