1
14
15 package com.liferay.portlet.journal.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.journal.model.JournalTemplate;
20
21
34 public interface JournalTemplatePersistence extends BasePersistence<JournalTemplate> {
35 public void cacheResult(
36 com.liferay.portlet.journal.model.JournalTemplate journalTemplate);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.journal.model.JournalTemplate> journalTemplates);
40
41 public com.liferay.portlet.journal.model.JournalTemplate create(long id);
42
43 public com.liferay.portlet.journal.model.JournalTemplate remove(long id)
44 throws com.liferay.portal.SystemException,
45 com.liferay.portlet.journal.NoSuchTemplateException;
46
47
50 public com.liferay.portlet.journal.model.JournalTemplate update(
51 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.journal.model.JournalTemplate updateImpl(
55 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
56 boolean merge) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.journal.model.JournalTemplate findByPrimaryKey(
59 long id)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.journal.NoSuchTemplateException;
62
63 public com.liferay.portlet.journal.model.JournalTemplate fetchByPrimaryKey(
64 long id) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
67 java.lang.String uuid) throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
70 java.lang.String uuid, int start, int end)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByUuid(
74 java.lang.String uuid, int start, int end,
75 com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_First(
79 java.lang.String uuid,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.journal.NoSuchTemplateException;
83
84 public com.liferay.portlet.journal.model.JournalTemplate findByUuid_Last(
85 java.lang.String uuid,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.journal.NoSuchTemplateException;
89
90 public com.liferay.portlet.journal.model.JournalTemplate[] findByUuid_PrevAndNext(
91 long id, 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_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.journal.NoSuchTemplateException;
100
101 public com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
102 java.lang.String uuid, long groupId)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.journal.model.JournalTemplate fetchByUUID_G(
106 java.lang.String uuid, long groupId, boolean retrieveFromCache)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
110 long groupId) throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
113 long groupId, int start, int end)
114 throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByGroupId(
117 long groupId, int start, int end,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.SystemException;
120
121 public com.liferay.portlet.journal.model.JournalTemplate findByGroupId_First(
122 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.journal.NoSuchTemplateException;
125
126 public com.liferay.portlet.journal.model.JournalTemplate findByGroupId_Last(
127 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.journal.NoSuchTemplateException;
130
131 public com.liferay.portlet.journal.model.JournalTemplate[] findByGroupId_PrevAndNext(
132 long id, long groupId,
133 com.liferay.portal.kernel.util.OrderByComparator obc)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.journal.NoSuchTemplateException;
136
137 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
138 java.lang.String templateId) throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
141 java.lang.String templateId, int start, int end)
142 throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findByTemplateId(
145 java.lang.String templateId, 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 findByTemplateId_First(
150 java.lang.String templateId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException,
153 com.liferay.portlet.journal.NoSuchTemplateException;
154
155 public com.liferay.portlet.journal.model.JournalTemplate findByTemplateId_Last(
156 java.lang.String templateId,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.journal.NoSuchTemplateException;
160
161 public com.liferay.portlet.journal.model.JournalTemplate[] findByTemplateId_PrevAndNext(
162 long id, java.lang.String templateId,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.journal.NoSuchTemplateException;
166
167 public com.liferay.portlet.journal.model.JournalTemplate findBySmallImageId(
168 long smallImageId)
169 throws com.liferay.portal.SystemException,
170 com.liferay.portlet.journal.NoSuchTemplateException;
171
172 public com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
173 long smallImageId) throws com.liferay.portal.SystemException;
174
175 public com.liferay.portlet.journal.model.JournalTemplate fetchBySmallImageId(
176 long smallImageId, boolean retrieveFromCache)
177 throws com.liferay.portal.SystemException;
178
179 public com.liferay.portlet.journal.model.JournalTemplate findByG_T(
180 long groupId, java.lang.String templateId)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.journal.NoSuchTemplateException;
183
184 public com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
185 long groupId, java.lang.String templateId)
186 throws com.liferay.portal.SystemException;
187
188 public com.liferay.portlet.journal.model.JournalTemplate fetchByG_T(
189 long groupId, java.lang.String templateId, boolean retrieveFromCache)
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<com.liferay.portlet.journal.model.JournalTemplate> findAll()
224 throws com.liferay.portal.SystemException;
225
226 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
227 int start, int end) throws com.liferay.portal.SystemException;
228
229 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> findAll(
230 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
231 throws com.liferay.portal.SystemException;
232
233 public void removeByUuid(java.lang.String uuid)
234 throws com.liferay.portal.SystemException;
235
236 public void removeByUUID_G(java.lang.String uuid, long groupId)
237 throws com.liferay.portal.SystemException,
238 com.liferay.portlet.journal.NoSuchTemplateException;
239
240 public void removeByGroupId(long groupId)
241 throws com.liferay.portal.SystemException;
242
243 public void removeByTemplateId(java.lang.String templateId)
244 throws com.liferay.portal.SystemException;
245
246 public void removeBySmallImageId(long smallImageId)
247 throws com.liferay.portal.SystemException,
248 com.liferay.portlet.journal.NoSuchTemplateException;
249
250 public void removeByG_T(long groupId, java.lang.String templateId)
251 throws com.liferay.portal.SystemException,
252 com.liferay.portlet.journal.NoSuchTemplateException;
253
254 public void removeByG_S(long groupId, java.lang.String structureId)
255 throws com.liferay.portal.SystemException;
256
257 public void removeAll() throws com.liferay.portal.SystemException;
258
259 public int countByUuid(java.lang.String uuid)
260 throws com.liferay.portal.SystemException;
261
262 public int countByUUID_G(java.lang.String uuid, long groupId)
263 throws com.liferay.portal.SystemException;
264
265 public int countByGroupId(long groupId)
266 throws com.liferay.portal.SystemException;
267
268 public int countByTemplateId(java.lang.String templateId)
269 throws com.liferay.portal.SystemException;
270
271 public int countBySmallImageId(long smallImageId)
272 throws com.liferay.portal.SystemException;
273
274 public int countByG_T(long groupId, java.lang.String templateId)
275 throws com.liferay.portal.SystemException;
276
277 public int countByG_S(long groupId, java.lang.String structureId)
278 throws com.liferay.portal.SystemException;
279
280 public int countAll() throws com.liferay.portal.SystemException;
281 }