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