1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.Ticket;
18
19
32 public interface TicketPersistence extends BasePersistence<Ticket> {
33 public void cacheResult(com.liferay.portal.model.Ticket ticket);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.Ticket> tickets);
37
38 public com.liferay.portal.model.Ticket create(long ticketId);
39
40 public com.liferay.portal.model.Ticket remove(long ticketId)
41 throws com.liferay.portal.NoSuchTicketException,
42 com.liferay.portal.kernel.exception.SystemException;
43
44 public com.liferay.portal.model.Ticket updateImpl(
45 com.liferay.portal.model.Ticket ticket, boolean merge)
46 throws com.liferay.portal.kernel.exception.SystemException;
47
48 public com.liferay.portal.model.Ticket findByPrimaryKey(long ticketId)
49 throws com.liferay.portal.NoSuchTicketException,
50 com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portal.model.Ticket fetchByPrimaryKey(long ticketId)
53 throws com.liferay.portal.kernel.exception.SystemException;
54
55 public com.liferay.portal.model.Ticket findByKey(java.lang.String key)
56 throws com.liferay.portal.NoSuchTicketException,
57 com.liferay.portal.kernel.exception.SystemException;
58
59 public com.liferay.portal.model.Ticket fetchByKey(java.lang.String key)
60 throws com.liferay.portal.kernel.exception.SystemException;
61
62 public com.liferay.portal.model.Ticket fetchByKey(java.lang.String key,
63 boolean retrieveFromCache)
64 throws com.liferay.portal.kernel.exception.SystemException;
65
66 public java.util.List<com.liferay.portal.model.Ticket> findAll()
67 throws com.liferay.portal.kernel.exception.SystemException;
68
69 public java.util.List<com.liferay.portal.model.Ticket> findAll(int start,
70 int end) throws com.liferay.portal.kernel.exception.SystemException;
71
72 public java.util.List<com.liferay.portal.model.Ticket> findAll(int start,
73 int end,
74 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
75 throws com.liferay.portal.kernel.exception.SystemException;
76
77 public void removeByKey(java.lang.String key)
78 throws com.liferay.portal.NoSuchTicketException,
79 com.liferay.portal.kernel.exception.SystemException;
80
81 public void removeAll()
82 throws com.liferay.portal.kernel.exception.SystemException;
83
84 public int countByKey(java.lang.String key)
85 throws com.liferay.portal.kernel.exception.SystemException;
86
87 public int countAll()
88 throws com.liferay.portal.kernel.exception.SystemException;
89 }