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