1
14
15 package com.liferay.portlet.journal.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.journal.model.JournalTemplate;
20
21
34 public interface JournalTemplatePersistence extends BasePersistence<JournalTemplate> {
35 public void cacheResult(
36 com.liferay.portlet.journal.model.JournalTemplate journalTemplate);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.journal.model.JournalTemplate> journalTemplates);
40
41 public com.liferay.portlet.journal.model.JournalTemplate create(long id);
42
43 public com.liferay.portlet.journal.model.JournalTemplate remove(long id)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.journal.NoSuchTemplateException;
46
47 public com.liferay.portlet.journal.model.JournalTemplate updateImpl(
48 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
49 boolean merge)
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portlet.journal.model.JournalTemplate findByPrimaryKey(
53 long id)
54 throws com.liferay.portal.kernel.exception.SystemException,
55 com.liferay.portlet.journal.NoSuchTemplateException;
56
57 public com.liferay.portlet.journal.model.JournalTemplate fetchByPrimaryKey(
58 long id) throws com.liferay.portal.kernel.exception.SystemException;
59
60 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
61 java.lang.String uuid)
62 throws com.liferay.portal.kernel.exception.SystemException;
63
64 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
65 java.lang.String uuid, int start, int end)
66 throws com.liferay.portal.kernel.exception.SystemException;
67
68 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
69 java.lang.String uuid, int start, int end,
70 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
71 throws com.liferay.portal.kernel.exception.SystemException;
72
73 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_First(
74 java.lang.String uuid,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.kernel.exception.SystemException,
77 com.liferay.portlet.journal.NoSuchTemplateException;
78
79 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_Last(
80 java.lang.String uuid,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException,
83 com.liferay.portlet.journal.NoSuchTemplateException;
84
85 public com.liferay.portlet.journal.model.JournalTemplate[] findByUuid_PrevAndNext(
86 long id, java.lang.String uuid,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.kernel.exception.SystemException,
89 com.liferay.portlet.journal.NoSuchTemplateException;
90
91 public com.liferay.portlet.journal.model.JournalTemplate findByUUID_G(
92 java.lang.String uuid, long groupId)
93 throws com.liferay.portal.kernel.exception.SystemException,
94 com.liferay.portlet.journal.NoSuchTemplateException;
95
96 public com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
101 java.lang.String uuid, long groupId, boolean retrieveFromCache)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
105 long groupId)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
109 long groupId, int start, int end)
110 throws com.liferay.portal.kernel.exception.SystemException;
111
112 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
113 long groupId, int start, int end,
114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
115 throws com.liferay.portal.kernel.exception.SystemException;
116
117 public com.liferay.portlet.journal.model.JournalTemplate findByGroupId_First(
118 long groupId,
119 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120 throws com.liferay.portal.kernel.exception.SystemException,
121 com.liferay.portlet.journal.NoSuchTemplateException;
122
123 public com.liferay.portlet.journal.model.JournalTemplate findByGroupId_Last(
124 long groupId,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.kernel.exception.SystemException,
127 com.liferay.portlet.journal.NoSuchTemplateException;
128
129 public com.liferay.portlet.journal.model.JournalTemplate[] findByGroupId_PrevAndNext(
130 long id, long groupId,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.kernel.exception.SystemException,
133 com.liferay.portlet.journal.NoSuchTemplateException;
134
135 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByGroupId(
136 long groupId)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByGroupId(
140 long groupId, int start, int end)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByGroupId(
144 long groupId, int start, int end,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
149 java.lang.String templateId)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
153 java.lang.String templateId, int start, int end)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
157 java.lang.String templateId, int start, int end,
158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 public com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_First(
162 java.lang.String templateId,
163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164 throws com.liferay.portal.kernel.exception.SystemException,
165 com.liferay.portlet.journal.NoSuchTemplateException;
166
167 public com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_Last(
168 java.lang.String templateId,
169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170 throws com.liferay.portal.kernel.exception.SystemException,
171 com.liferay.portlet.journal.NoSuchTemplateException;
172
173 public com.liferay.portlet.journal.model.JournalTemplate[] findByTemplateId_PrevAndNext(
174 long id, java.lang.String templateId,
175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
176 throws com.liferay.portal.kernel.exception.SystemException,
177 com.liferay.portlet.journal.NoSuchTemplateException;
178
179 public com.liferay.portlet.journal.model.JournalTemplate findBySmallImageId(
180 long smallImageId)
181 throws com.liferay.portal.kernel.exception.SystemException,
182 com.liferay.portlet.journal.NoSuchTemplateException;
183
184 public com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
185 long smallImageId)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
189 long smallImageId, boolean retrieveFromCache)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public com.liferay.portlet.journal.model.JournalTemplate findByG_T(
193 long groupId, java.lang.String templateId)
194 throws com.liferay.portal.kernel.exception.SystemException,
195 com.liferay.portlet.journal.NoSuchTemplateException;
196
197 public com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
198 long groupId, java.lang.String templateId)
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201 public com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
202 long groupId, java.lang.String templateId, boolean retrieveFromCache)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
206 long groupId, java.lang.String structureId)
207 throws com.liferay.portal.kernel.exception.SystemException;
208
209 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
210 long groupId, java.lang.String structureId, int start, int end)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
214 long groupId, java.lang.String structureId, int start, int end,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.kernel.exception.SystemException;
217
218 public com.liferay.portlet.journal.model.JournalTemplate findByG_S_First(
219 long groupId, java.lang.String structureId,
220 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221 throws com.liferay.portal.kernel.exception.SystemException,
222 com.liferay.portlet.journal.NoSuchTemplateException;
223
224 public com.liferay.portlet.journal.model.JournalTemplate findByG_S_Last(
225 long groupId, java.lang.String structureId,
226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
227 throws com.liferay.portal.kernel.exception.SystemException,
228 com.liferay.portlet.journal.NoSuchTemplateException;
229
230 public com.liferay.portlet.journal.model.JournalTemplate[] findByG_S_PrevAndNext(
231 long id, long groupId, java.lang.String structureId,
232 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
233 throws com.liferay.portal.kernel.exception.SystemException,
234 com.liferay.portlet.journal.NoSuchTemplateException;
235
236 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByG_S(
237 long groupId, java.lang.String structureId)
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByG_S(
241 long groupId, java.lang.String structureId, int start, int end)
242 throws com.liferay.portal.kernel.exception.SystemException;
243
244 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByG_S(
245 long groupId, java.lang.String structureId, int start, int end,
246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247 throws com.liferay.portal.kernel.exception.SystemException;
248
249 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll()
250 throws com.liferay.portal.kernel.exception.SystemException;
251
252 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
253 int start, int end)
254 throws com.liferay.portal.kernel.exception.SystemException;
255
256 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
257 int start, int end,
258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
259 throws com.liferay.portal.kernel.exception.SystemException;
260
261 public void removeByUuid(java.lang.String uuid)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 public void removeByUUID_G(java.lang.String uuid, long groupId)
265 throws com.liferay.portal.kernel.exception.SystemException,
266 com.liferay.portlet.journal.NoSuchTemplateException;
267
268 public void removeByGroupId(long groupId)
269 throws com.liferay.portal.kernel.exception.SystemException;
270
271 public void removeByTemplateId(java.lang.String templateId)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274 public void removeBySmallImageId(long smallImageId)
275 throws com.liferay.portal.kernel.exception.SystemException,
276 com.liferay.portlet.journal.NoSuchTemplateException;
277
278 public void removeByG_T(long groupId, java.lang.String templateId)
279 throws com.liferay.portal.kernel.exception.SystemException,
280 com.liferay.portlet.journal.NoSuchTemplateException;
281
282 public void removeByG_S(long groupId, java.lang.String structureId)
283 throws com.liferay.portal.kernel.exception.SystemException;
284
285 public void removeAll()
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 public int countByUuid(java.lang.String uuid)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 public int countByUUID_G(java.lang.String uuid, long groupId)
292 throws com.liferay.portal.kernel.exception.SystemException;
293
294 public int countByGroupId(long groupId)
295 throws com.liferay.portal.kernel.exception.SystemException;
296
297 public int filterCountByGroupId(long groupId)
298 throws com.liferay.portal.kernel.exception.SystemException;
299
300 public int countByTemplateId(java.lang.String templateId)
301 throws com.liferay.portal.kernel.exception.SystemException;
302
303 public int countBySmallImageId(long smallImageId)
304 throws com.liferay.portal.kernel.exception.SystemException;
305
306 public int countByG_T(long groupId, java.lang.String templateId)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 public int filterCountByG_T(long groupId, java.lang.String templateId)
310 throws com.liferay.portal.kernel.exception.SystemException;
311
312 public int countByG_S(long groupId, java.lang.String structureId)
313 throws com.liferay.portal.kernel.exception.SystemException;
314
315 public int filterCountByG_S(long groupId, java.lang.String structureId)
316 throws com.liferay.portal.kernel.exception.SystemException;
317
318 public int countAll()
319 throws com.liferay.portal.kernel.exception.SystemException;
320 }