com.liferay.portal.service.persistence
Interface TicketPersistence
- All Superinterfaces:
- BasePersistence<Ticket>
- All Known Implementing Classes:
- TicketPersistenceImpl
public interface TicketPersistence
- extends BasePersistence<Ticket>
- See Also:
TicketPersistenceImpl,
TicketUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
cacheResult
void cacheResult(Ticket ticket)
cacheResult
void cacheResult(List<Ticket> tickets)
create
Ticket create(long ticketId)
remove
Ticket remove(long ticketId)
throws NoSuchTicketException,
SystemException
- Throws:
NoSuchTicketException
SystemException
updateImpl
Ticket updateImpl(Ticket ticket,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
Ticket findByPrimaryKey(long ticketId)
throws NoSuchTicketException,
SystemException
- Throws:
NoSuchTicketException
SystemException
fetchByPrimaryKey
Ticket fetchByPrimaryKey(long ticketId)
throws SystemException
- Throws:
SystemException
findByKey
Ticket findByKey(String key)
throws NoSuchTicketException,
SystemException
- Throws:
NoSuchTicketException
SystemException
fetchByKey
Ticket fetchByKey(String key)
throws SystemException
- Throws:
SystemException
fetchByKey
Ticket fetchByKey(String key,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
List<Ticket> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<Ticket> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<Ticket> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByKey
void removeByKey(String key)
throws NoSuchTicketException,
SystemException
- Throws:
NoSuchTicketException
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByKey
int countByKey(String key)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException