Package com.logicaldoc.calendar
Interface EventReferenceDAO
- All Superinterfaces:
- com.logicaldoc.core.PersistentObjectDAO<EventReference>
- All Known Implementing Classes:
- HibernateEventReferenceDAO
DAO for events reference.
- Since:
- 6.7
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionFinds a reference by the alternate keyfindByEvent(long eventId) Finds the external references to given evenfindByExternalId(String calendar, String externalId) Finds the external references to given external idfindByUserAndEvent(long userId, long eventId) Finds the external references to given event of a given userMethods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, delete, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, store
- 
Method Details- 
findByAKEventReference findByAK(long userId, long eventId, String externalId) throws com.logicaldoc.core.PersistenceException Finds a reference by the alternate key- Parameters:
- userId- identifier of the user
- eventId- identifier of the event
- externalId- external identifier of the user
- Returns:
- the reference
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
findByEventFinds the external references to given even- Parameters:
- eventId- identifier of the event
- Returns:
- the list of found references
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
findByUserAndEventList<EventReference> findByUserAndEvent(long userId, long eventId) throws com.logicaldoc.core.PersistenceException Finds the external references to given event of a given user- Parameters:
- userId- identifier of the user
- eventId- identifier of the event
- Returns:
- the list of found references
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
findByExternalIdList<EventReference> findByExternalId(String calendar, String externalId) throws com.logicaldoc.core.PersistenceException Finds the external references to given external id- Parameters:
- calendar- calendar specification
- externalId- external identifier of the event
- Returns:
- the list of found references
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
 
-