com.liferay.portal.service.persistence
Interface TicketPersistence
- All Superinterfaces:
- BasePersistence<Ticket>
public interface TicketPersistence
- extends BasePersistence<Ticket>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
TicketPersistenceImpl
,
TicketUtil
- 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 |
cacheResult
void cacheResult(Ticket ticket)
cacheResult
void cacheResult(java.util.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(java.lang.String key)
throws NoSuchTicketException,
SystemException
- Throws:
NoSuchTicketException
SystemException
fetchByKey
Ticket fetchByKey(java.lang.String key)
throws SystemException
- Throws:
SystemException
fetchByKey
Ticket fetchByKey(java.lang.String key,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Ticket> findAll()
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Ticket> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Ticket> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByKey
void removeByKey(java.lang.String key)
throws NoSuchTicketException,
SystemException
- Throws:
NoSuchTicketException
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByKey
int countByKey(java.lang.String key)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException