001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.Ticket;
018
019
025 public interface TicketPersistence extends BasePersistence<Ticket> {
026 public void cacheResult(com.liferay.portal.model.Ticket ticket);
027
028 public void cacheResult(
029 java.util.List<com.liferay.portal.model.Ticket> tickets);
030
031 public com.liferay.portal.model.Ticket create(long ticketId);
032
033 public com.liferay.portal.model.Ticket remove(long ticketId)
034 throws com.liferay.portal.NoSuchTicketException,
035 com.liferay.portal.kernel.exception.SystemException;
036
037 public com.liferay.portal.model.Ticket updateImpl(
038 com.liferay.portal.model.Ticket ticket, boolean merge)
039 throws com.liferay.portal.kernel.exception.SystemException;
040
041 public com.liferay.portal.model.Ticket findByPrimaryKey(long ticketId)
042 throws com.liferay.portal.NoSuchTicketException,
043 com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portal.model.Ticket fetchByPrimaryKey(long ticketId)
046 throws com.liferay.portal.kernel.exception.SystemException;
047
048 public com.liferay.portal.model.Ticket findByKey(java.lang.String key)
049 throws com.liferay.portal.NoSuchTicketException,
050 com.liferay.portal.kernel.exception.SystemException;
051
052 public com.liferay.portal.model.Ticket fetchByKey(java.lang.String key)
053 throws com.liferay.portal.kernel.exception.SystemException;
054
055 public com.liferay.portal.model.Ticket fetchByKey(java.lang.String key,
056 boolean retrieveFromCache)
057 throws com.liferay.portal.kernel.exception.SystemException;
058
059 public java.util.List<com.liferay.portal.model.Ticket> findAll()
060 throws com.liferay.portal.kernel.exception.SystemException;
061
062 public java.util.List<com.liferay.portal.model.Ticket> findAll(int start,
063 int end) throws com.liferay.portal.kernel.exception.SystemException;
064
065 public java.util.List<com.liferay.portal.model.Ticket> findAll(int start,
066 int end,
067 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
068 throws com.liferay.portal.kernel.exception.SystemException;
069
070 public void removeByKey(java.lang.String key)
071 throws com.liferay.portal.NoSuchTicketException,
072 com.liferay.portal.kernel.exception.SystemException;
073
074 public void removeAll()
075 throws com.liferay.portal.kernel.exception.SystemException;
076
077 public int countByKey(java.lang.String key)
078 throws com.liferay.portal.kernel.exception.SystemException;
079
080 public int countAll()
081 throws com.liferay.portal.kernel.exception.SystemException;
082 }