001
014
015 package com.liferay.portlet.journal.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.journal.model.JournalTemplate;
020
021
027 public interface JournalTemplatePersistence extends BasePersistence<JournalTemplate> {
028 public void cacheResult(
029 com.liferay.portlet.journal.model.JournalTemplate journalTemplate);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.journal.model.JournalTemplate> journalTemplates);
033
034 public com.liferay.portlet.journal.model.JournalTemplate create(long id);
035
036 public com.liferay.portlet.journal.model.JournalTemplate remove(long id)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.journal.NoSuchTemplateException;
039
040 public com.liferay.portlet.journal.model.JournalTemplate updateImpl(
041 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
042 boolean merge)
043 throws com.liferay.portal.kernel.exception.SystemException;
044
045 public com.liferay.portlet.journal.model.JournalTemplate findByPrimaryKey(
046 long id)
047 throws com.liferay.portal.kernel.exception.SystemException,
048 com.liferay.portlet.journal.NoSuchTemplateException;
049
050 public com.liferay.portlet.journal.model.JournalTemplate fetchByPrimaryKey(
051 long id) throws com.liferay.portal.kernel.exception.SystemException;
052
053 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
054 java.lang.String uuid)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
058 java.lang.String uuid, int start, int end)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
062 java.lang.String uuid, int start, int end,
063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
064 throws com.liferay.portal.kernel.exception.SystemException;
065
066 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_First(
067 java.lang.String uuid,
068 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
069 throws com.liferay.portal.kernel.exception.SystemException,
070 com.liferay.portlet.journal.NoSuchTemplateException;
071
072 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_Last(
073 java.lang.String uuid,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException,
076 com.liferay.portlet.journal.NoSuchTemplateException;
077
078 public com.liferay.portlet.journal.model.JournalTemplate[] findByUuid_PrevAndNext(
079 long id, java.lang.String uuid,
080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081 throws com.liferay.portal.kernel.exception.SystemException,
082 com.liferay.portlet.journal.NoSuchTemplateException;
083
084 public com.liferay.portlet.journal.model.JournalTemplate findByUUID_G(
085 java.lang.String uuid, long groupId)
086 throws com.liferay.portal.kernel.exception.SystemException,
087 com.liferay.portlet.journal.NoSuchTemplateException;
088
089 public com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
090 java.lang.String uuid, long groupId)
091 throws com.liferay.portal.kernel.exception.SystemException;
092
093 public com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
094 java.lang.String uuid, long groupId, boolean retrieveFromCache)
095 throws com.liferay.portal.kernel.exception.SystemException;
096
097 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
098 long groupId)
099 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
102 long groupId, int start, int end)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
106 long groupId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.kernel.exception.SystemException;
109
110 public com.liferay.portlet.journal.model.JournalTemplate findByGroupId_First(
111 long groupId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.kernel.exception.SystemException,
114 com.liferay.portlet.journal.NoSuchTemplateException;
115
116 public com.liferay.portlet.journal.model.JournalTemplate findByGroupId_Last(
117 long groupId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.kernel.exception.SystemException,
120 com.liferay.portlet.journal.NoSuchTemplateException;
121
122 public com.liferay.portlet.journal.model.JournalTemplate[] findByGroupId_PrevAndNext(
123 long id, long groupId,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.kernel.exception.SystemException,
126 com.liferay.portlet.journal.NoSuchTemplateException;
127
128 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByGroupId(
129 long groupId)
130 throws com.liferay.portal.kernel.exception.SystemException;
131
132 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByGroupId(
133 long groupId, int start, int end)
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByGroupId(
137 long groupId, int start, int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
142 java.lang.String templateId)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
146 java.lang.String templateId, int start, int end)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
150 java.lang.String templateId, int start, int end,
151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152 throws com.liferay.portal.kernel.exception.SystemException;
153
154 public com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_First(
155 java.lang.String templateId,
156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157 throws com.liferay.portal.kernel.exception.SystemException,
158 com.liferay.portlet.journal.NoSuchTemplateException;
159
160 public com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_Last(
161 java.lang.String templateId,
162 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
163 throws com.liferay.portal.kernel.exception.SystemException,
164 com.liferay.portlet.journal.NoSuchTemplateException;
165
166 public com.liferay.portlet.journal.model.JournalTemplate[] findByTemplateId_PrevAndNext(
167 long id, java.lang.String templateId,
168 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
169 throws com.liferay.portal.kernel.exception.SystemException,
170 com.liferay.portlet.journal.NoSuchTemplateException;
171
172 public com.liferay.portlet.journal.model.JournalTemplate findBySmallImageId(
173 long smallImageId)
174 throws com.liferay.portal.kernel.exception.SystemException,
175 com.liferay.portlet.journal.NoSuchTemplateException;
176
177 public com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
178 long smallImageId)
179 throws com.liferay.portal.kernel.exception.SystemException;
180
181 public com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
182 long smallImageId, boolean retrieveFromCache)
183 throws com.liferay.portal.kernel.exception.SystemException;
184
185 public com.liferay.portlet.journal.model.JournalTemplate findByG_T(
186 long groupId, java.lang.String templateId)
187 throws com.liferay.portal.kernel.exception.SystemException,
188 com.liferay.portlet.journal.NoSuchTemplateException;
189
190 public com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
191 long groupId, java.lang.String templateId)
192 throws com.liferay.portal.kernel.exception.SystemException;
193
194 public com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
195 long groupId, java.lang.String templateId, boolean retrieveFromCache)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
199 long groupId, java.lang.String structureId)
200 throws com.liferay.portal.kernel.exception.SystemException;
201
202 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
203 long groupId, java.lang.String structureId, int start, int end)
204 throws com.liferay.portal.kernel.exception.SystemException;
205
206 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
207 long groupId, java.lang.String structureId, int start, int end,
208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
209 throws com.liferay.portal.kernel.exception.SystemException;
210
211 public com.liferay.portlet.journal.model.JournalTemplate findByG_S_First(
212 long groupId, java.lang.String structureId,
213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214 throws com.liferay.portal.kernel.exception.SystemException,
215 com.liferay.portlet.journal.NoSuchTemplateException;
216
217 public com.liferay.portlet.journal.model.JournalTemplate findByG_S_Last(
218 long groupId, java.lang.String structureId,
219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220 throws com.liferay.portal.kernel.exception.SystemException,
221 com.liferay.portlet.journal.NoSuchTemplateException;
222
223 public com.liferay.portlet.journal.model.JournalTemplate[] findByG_S_PrevAndNext(
224 long id, long groupId, java.lang.String structureId,
225 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226 throws com.liferay.portal.kernel.exception.SystemException,
227 com.liferay.portlet.journal.NoSuchTemplateException;
228
229 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByG_S(
230 long groupId, java.lang.String structureId)
231 throws com.liferay.portal.kernel.exception.SystemException;
232
233 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByG_S(
234 long groupId, java.lang.String structureId, int start, int end)
235 throws com.liferay.portal.kernel.exception.SystemException;
236
237 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> filterFindByG_S(
238 long groupId, java.lang.String structureId, int start, int end,
239 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
240 throws com.liferay.portal.kernel.exception.SystemException;
241
242 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll()
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
246 int start, int end)
247 throws com.liferay.portal.kernel.exception.SystemException;
248
249 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
250 int start, int end,
251 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
252 throws com.liferay.portal.kernel.exception.SystemException;
253
254 public void removeByUuid(java.lang.String uuid)
255 throws com.liferay.portal.kernel.exception.SystemException;
256
257 public void removeByUUID_G(java.lang.String uuid, long groupId)
258 throws com.liferay.portal.kernel.exception.SystemException,
259 com.liferay.portlet.journal.NoSuchTemplateException;
260
261 public void removeByGroupId(long groupId)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 public void removeByTemplateId(java.lang.String templateId)
265 throws com.liferay.portal.kernel.exception.SystemException;
266
267 public void removeBySmallImageId(long smallImageId)
268 throws com.liferay.portal.kernel.exception.SystemException,
269 com.liferay.portlet.journal.NoSuchTemplateException;
270
271 public void removeByG_T(long groupId, java.lang.String templateId)
272 throws com.liferay.portal.kernel.exception.SystemException,
273 com.liferay.portlet.journal.NoSuchTemplateException;
274
275 public void removeByG_S(long groupId, java.lang.String structureId)
276 throws com.liferay.portal.kernel.exception.SystemException;
277
278 public void removeAll()
279 throws com.liferay.portal.kernel.exception.SystemException;
280
281 public int countByUuid(java.lang.String uuid)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 public int countByUUID_G(java.lang.String uuid, long groupId)
285 throws com.liferay.portal.kernel.exception.SystemException;
286
287 public int countByGroupId(long groupId)
288 throws com.liferay.portal.kernel.exception.SystemException;
289
290 public int filterCountByGroupId(long groupId)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293 public int countByTemplateId(java.lang.String templateId)
294 throws com.liferay.portal.kernel.exception.SystemException;
295
296 public int countBySmallImageId(long smallImageId)
297 throws com.liferay.portal.kernel.exception.SystemException;
298
299 public int countByG_T(long groupId, java.lang.String templateId)
300 throws com.liferay.portal.kernel.exception.SystemException;
301
302 public int filterCountByG_T(long groupId, java.lang.String templateId)
303 throws com.liferay.portal.kernel.exception.SystemException;
304
305 public int countByG_S(long groupId, java.lang.String structureId)
306 throws com.liferay.portal.kernel.exception.SystemException;
307
308 public int filterCountByG_S(long groupId, java.lang.String structureId)
309 throws com.liferay.portal.kernel.exception.SystemException;
310
311 public int countAll()
312 throws com.liferay.portal.kernel.exception.SystemException;
313 }