1
22
23 package com.liferay.portlet.announcements.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.announcements.model.AnnouncementsEntry;
28
29
42 public interface AnnouncementsEntryPersistence extends BasePersistence<AnnouncementsEntry> {
43 public void cacheResult(
44 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> announcementsEntries);
48
49 public com.liferay.portlet.announcements.model.AnnouncementsEntry create(
50 long entryId);
51
52 public com.liferay.portlet.announcements.model.AnnouncementsEntry remove(
53 long entryId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.announcements.NoSuchEntryException;
56
57
60 public com.liferay.portlet.announcements.model.AnnouncementsEntry update(
61 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.announcements.model.AnnouncementsEntry updateImpl(
65 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByPrimaryKey(
69 long entryId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.announcements.NoSuchEntryException;
72
73 public com.liferay.portlet.announcements.model.AnnouncementsEntry fetchByPrimaryKey(
74 long entryId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
77 java.lang.String uuid) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
80 java.lang.String uuid, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
84 java.lang.String uuid, int start, int end,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUuid_First(
89 java.lang.String uuid,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.announcements.NoSuchEntryException;
93
94 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUuid_Last(
95 java.lang.String uuid,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.announcements.NoSuchEntryException;
99
100 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByUuid_PrevAndNext(
101 long entryId, java.lang.String uuid,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.announcements.NoSuchEntryException;
105
106 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
107 long userId) throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
110 long userId, int start, int end)
111 throws com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
114 long userId, int start, int end,
115 com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException;
117
118 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUserId_First(
119 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.announcements.NoSuchEntryException;
122
123 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUserId_Last(
124 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.announcements.NoSuchEntryException;
127
128 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByUserId_PrevAndNext(
129 long entryId, long userId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.announcements.NoSuchEntryException;
133
134 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
135 long classNameId, long classPK)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
139 long classNameId, long classPK, int start, int end)
140 throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
143 long classNameId, long classPK, int start, int end,
144 com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException;
146
147 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_First(
148 long classNameId, long classPK,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.announcements.NoSuchEntryException;
152
153 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_Last(
154 long classNameId, long classPK,
155 com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.announcements.NoSuchEntryException;
158
159 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByC_C_PrevAndNext(
160 long entryId, long classNameId, long classPK,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.announcements.NoSuchEntryException;
164
165 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
166 long classNameId, long classPK, boolean alert)
167 throws com.liferay.portal.SystemException;
168
169 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
170 long classNameId, long classPK, boolean alert, int start, int end)
171 throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
174 long classNameId, long classPK, boolean alert, int start, int end,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.SystemException;
177
178 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_A_First(
179 long classNameId, long classPK, boolean alert,
180 com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.announcements.NoSuchEntryException;
183
184 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_A_Last(
185 long classNameId, long classPK, boolean alert,
186 com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portlet.announcements.NoSuchEntryException;
189
190 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByC_C_A_PrevAndNext(
191 long entryId, long classNameId, long classPK, boolean alert,
192 com.liferay.portal.kernel.util.OrderByComparator obc)
193 throws com.liferay.portal.SystemException,
194 com.liferay.portlet.announcements.NoSuchEntryException;
195
196 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll()
197 throws com.liferay.portal.SystemException;
198
199 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll(
200 int start, int end) throws com.liferay.portal.SystemException;
201
202 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll(
203 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
204 throws com.liferay.portal.SystemException;
205
206 public void removeByUuid(java.lang.String uuid)
207 throws com.liferay.portal.SystemException;
208
209 public void removeByUserId(long userId)
210 throws com.liferay.portal.SystemException;
211
212 public void removeByC_C(long classNameId, long classPK)
213 throws com.liferay.portal.SystemException;
214
215 public void removeByC_C_A(long classNameId, long classPK, boolean alert)
216 throws com.liferay.portal.SystemException;
217
218 public void removeAll() throws com.liferay.portal.SystemException;
219
220 public int countByUuid(java.lang.String uuid)
221 throws com.liferay.portal.SystemException;
222
223 public int countByUserId(long userId)
224 throws com.liferay.portal.SystemException;
225
226 public int countByC_C(long classNameId, long classPK)
227 throws com.liferay.portal.SystemException;
228
229 public int countByC_C_A(long classNameId, long classPK, boolean alert)
230 throws com.liferay.portal.SystemException;
231
232 public int countAll() throws com.liferay.portal.SystemException;
233 }