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