1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public interface JournalTemplatePersistence {
32 public com.liferay.portlet.journal.model.JournalTemplate create(long id);
33
34 public com.liferay.portlet.journal.model.JournalTemplate remove(long id)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.journal.NoSuchTemplateException;
37
38 public com.liferay.portlet.journal.model.JournalTemplate remove(
39 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portlet.journal.model.JournalTemplate update(
46 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portlet.journal.model.JournalTemplate update(
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 updateImpl(
67 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
68 boolean merge) throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.journal.model.JournalTemplate findByPrimaryKey(
71 long id)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portlet.journal.NoSuchTemplateException;
74
75 public com.liferay.portlet.journal.model.JournalTemplate fetchByPrimaryKey(
76 long id) throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
79 java.lang.String uuid) 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 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
86 java.lang.String uuid, int start, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_First(
91 java.lang.String uuid,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.journal.NoSuchTemplateException;
95
96 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_Last(
97 java.lang.String uuid,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.journal.NoSuchTemplateException;
101
102 public com.liferay.portlet.journal.model.JournalTemplate[] findByUuid_PrevAndNext(
103 long id, java.lang.String uuid,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.journal.NoSuchTemplateException;
107
108 public com.liferay.portlet.journal.model.JournalTemplate findByUUID_G(
109 java.lang.String uuid, long groupId)
110 throws com.liferay.portal.SystemException,
111 com.liferay.portlet.journal.NoSuchTemplateException;
112
113 public com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
114 java.lang.String uuid, long groupId)
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 findByG_T(
184 long groupId, java.lang.String templateId)
185 throws com.liferay.portal.SystemException,
186 com.liferay.portlet.journal.NoSuchTemplateException;
187
188 public com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
189 long groupId, java.lang.String templateId)
190 throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
193 long groupId, java.lang.String structureId)
194 throws com.liferay.portal.SystemException;
195
196 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByG_S(
197 long groupId, java.lang.String structureId, int start, int end)
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, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException;
204
205 public com.liferay.portlet.journal.model.JournalTemplate findByG_S_First(
206 long groupId, java.lang.String structureId,
207 com.liferay.portal.kernel.util.OrderByComparator obc)
208 throws com.liferay.portal.SystemException,
209 com.liferay.portlet.journal.NoSuchTemplateException;
210
211 public com.liferay.portlet.journal.model.JournalTemplate findByG_S_Last(
212 long groupId, java.lang.String structureId,
213 com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException,
215 com.liferay.portlet.journal.NoSuchTemplateException;
216
217 public com.liferay.portlet.journal.model.JournalTemplate[] findByG_S_PrevAndNext(
218 long id, long groupId, java.lang.String structureId,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.SystemException,
221 com.liferay.portlet.journal.NoSuchTemplateException;
222
223 public java.util.List<Object> findWithDynamicQuery(
224 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
225 throws com.liferay.portal.SystemException;
226
227 public java.util.List<Object> findWithDynamicQuery(
228 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
229 int end) throws com.liferay.portal.SystemException;
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
290 public void registerListener(
291 com.liferay.portal.model.ModelListener listener);
292
293 public void unregisterListener(
294 com.liferay.portal.model.ModelListener listener);
295 }