public interface DownloadTicketDAO extends PersistentObjectDAO<DownloadTicket>
DownloadTicket
handling.Modifier and Type | Method and Description |
---|---|
boolean |
deleteByDocId(long docId)
This method deletes all tickets of the specified document.
|
boolean |
deleteByTicketId(String ticketId)
This method deletes a download ticket.
|
void |
deleteOlder()
Deletes all tickets older than the specified time to live.
|
boolean |
deleteOlder(Date date)
Deletes all tickets older than the specified date.
|
DownloadTicket |
findByTicketId(String ticketId)
This finds a ticket by its identifier.
|
bulkUpdate, delete, deleteAll, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, store
boolean deleteByTicketId(String ticketId)
historyid
- ID of the ticket which should be delete.boolean deleteByDocId(long docId)
docId
- ID of the documentboolean deleteOlder(Date date)
void deleteOlder()
Uses the global configuration parameter ticket.ttl
that
specifies a number of hours.
DownloadTicket findByTicketId(String ticketId)
ticketId
- The ticket idCopyright © 2008-2014 Logical Objects. All Rights Reserved.