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.JournalStructure;
20
21
34 public interface JournalStructurePersistence extends BasePersistence<JournalStructure> {
35 public void cacheResult(
36 com.liferay.portlet.journal.model.JournalStructure journalStructure);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.journal.model.JournalStructure> journalStructures);
40
41 public com.liferay.portlet.journal.model.JournalStructure create(long id);
42
43 public com.liferay.portlet.journal.model.JournalStructure remove(long id)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.journal.NoSuchStructureException;
46
47 public com.liferay.portlet.journal.model.JournalStructure updateImpl(
48 com.liferay.portlet.journal.model.JournalStructure journalStructure,
49 boolean merge)
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portlet.journal.model.JournalStructure findByPrimaryKey(
53 long id)
54 throws com.liferay.portal.kernel.exception.SystemException,
55 com.liferay.portlet.journal.NoSuchStructureException;
56
57 public com.liferay.portlet.journal.model.JournalStructure fetchByPrimaryKey(
58 long id) throws com.liferay.portal.kernel.exception.SystemException;
59
60 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
61 java.lang.String uuid)
62 throws com.liferay.portal.kernel.exception.SystemException;
63
64 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
65 java.lang.String uuid, int start, int end)
66 throws com.liferay.portal.kernel.exception.SystemException;
67
68 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByUuid(
69 java.lang.String uuid, int start, int end,
70 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
71 throws com.liferay.portal.kernel.exception.SystemException;
72
73 public com.liferay.portlet.journal.model.JournalStructure findByUuid_First(
74 java.lang.String uuid,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.kernel.exception.SystemException,
77 com.liferay.portlet.journal.NoSuchStructureException;
78
79 public com.liferay.portlet.journal.model.JournalStructure findByUuid_Last(
80 java.lang.String uuid,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.kernel.exception.SystemException,
83 com.liferay.portlet.journal.NoSuchStructureException;
84
85 public com.liferay.portlet.journal.model.JournalStructure[] findByUuid_PrevAndNext(
86 long id, java.lang.String uuid,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.kernel.exception.SystemException,
89 com.liferay.portlet.journal.NoSuchStructureException;
90
91 public com.liferay.portlet.journal.model.JournalStructure findByUUID_G(
92 java.lang.String uuid, long groupId)
93 throws com.liferay.portal.kernel.exception.SystemException,
94 com.liferay.portlet.journal.NoSuchStructureException;
95
96 public com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public com.liferay.portlet.journal.model.JournalStructure fetchByUUID_G(
101 java.lang.String uuid, long groupId, boolean retrieveFromCache)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
105 long groupId)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
109 long groupId, int start, int end)
110 throws com.liferay.portal.kernel.exception.SystemException;
111
112 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByGroupId(
113 long groupId, int start, int end,
114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
115 throws com.liferay.portal.kernel.exception.SystemException;
116
117 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_First(
118 long groupId,
119 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120 throws com.liferay.portal.kernel.exception.SystemException,
121 com.liferay.portlet.journal.NoSuchStructureException;
122
123 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_Last(
124 long groupId,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.kernel.exception.SystemException,
127 com.liferay.portlet.journal.NoSuchStructureException;
128
129 public com.liferay.portlet.journal.model.JournalStructure[] findByGroupId_PrevAndNext(
130 long id, long groupId,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.kernel.exception.SystemException,
133 com.liferay.portlet.journal.NoSuchStructureException;
134
135 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> filterFindByGroupId(
136 long groupId)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> filterFindByGroupId(
140 long groupId, int start, int end)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> filterFindByGroupId(
144 long groupId, int start, int end,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
149 java.lang.String structureId)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
153 java.lang.String structureId, int start, int end)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByStructureId(
157 java.lang.String structureId, int start, int end,
158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 public com.liferay.portlet.journal.model.JournalStructure findByStructureId_First(
162 java.lang.String structureId,
163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164 throws com.liferay.portal.kernel.exception.SystemException,
165 com.liferay.portlet.journal.NoSuchStructureException;
166
167 public com.liferay.portlet.journal.model.JournalStructure findByStructureId_Last(
168 java.lang.String structureId,
169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170 throws com.liferay.portal.kernel.exception.SystemException,
171 com.liferay.portlet.journal.NoSuchStructureException;
172
173 public com.liferay.portlet.journal.model.JournalStructure[] findByStructureId_PrevAndNext(
174 long id, java.lang.String structureId,
175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
176 throws com.liferay.portal.kernel.exception.SystemException,
177 com.liferay.portlet.journal.NoSuchStructureException;
178
179 public com.liferay.portlet.journal.model.JournalStructure findByG_S(
180 long groupId, java.lang.String structureId)
181 throws com.liferay.portal.kernel.exception.SystemException,
182 com.liferay.portlet.journal.NoSuchStructureException;
183
184 public com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
185 long groupId, java.lang.String structureId)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
189 long groupId, java.lang.String structureId, boolean retrieveFromCache)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByG_P(
193 long groupId, java.lang.String parentStructureId)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByG_P(
197 long groupId, java.lang.String parentStructureId, int start, int end)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByG_P(
201 long groupId, java.lang.String parentStructureId, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205 public com.liferay.portlet.journal.model.JournalStructure findByG_P_First(
206 long groupId, java.lang.String parentStructureId,
207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208 throws com.liferay.portal.kernel.exception.SystemException,
209 com.liferay.portlet.journal.NoSuchStructureException;
210
211 public com.liferay.portlet.journal.model.JournalStructure findByG_P_Last(
212 long groupId, java.lang.String parentStructureId,
213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214 throws com.liferay.portal.kernel.exception.SystemException,
215 com.liferay.portlet.journal.NoSuchStructureException;
216
217 public com.liferay.portlet.journal.model.JournalStructure[] findByG_P_PrevAndNext(
218 long id, long groupId, java.lang.String parentStructureId,
219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220 throws com.liferay.portal.kernel.exception.SystemException,
221 com.liferay.portlet.journal.NoSuchStructureException;
222
223 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> filterFindByG_P(
224 long groupId, java.lang.String parentStructureId)
225 throws com.liferay.portal.kernel.exception.SystemException;
226
227 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> filterFindByG_P(
228 long groupId, java.lang.String parentStructureId, int start, int end)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> filterFindByG_P(
232 long groupId, java.lang.String parentStructureId, int start, int end,
233 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
234 throws com.liferay.portal.kernel.exception.SystemException;
235
236 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll()
237 throws com.liferay.portal.kernel.exception.SystemException;
238
239 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
240 int start, int end)
241 throws com.liferay.portal.kernel.exception.SystemException;
242
243 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> findAll(
244 int start, int end,
245 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public void removeByUuid(java.lang.String uuid)
249 throws com.liferay.portal.kernel.exception.SystemException;
250
251 public void removeByUUID_G(java.lang.String uuid, long groupId)
252 throws com.liferay.portal.kernel.exception.SystemException,
253 com.liferay.portlet.journal.NoSuchStructureException;
254
255 public void removeByGroupId(long groupId)
256 throws com.liferay.portal.kernel.exception.SystemException;
257
258 public void removeByStructureId(java.lang.String structureId)
259 throws com.liferay.portal.kernel.exception.SystemException;
260
261 public void removeByG_S(long groupId, java.lang.String structureId)
262 throws com.liferay.portal.kernel.exception.SystemException,
263 com.liferay.portlet.journal.NoSuchStructureException;
264
265 public void removeByG_P(long groupId, java.lang.String parentStructureId)
266 throws com.liferay.portal.kernel.exception.SystemException;
267
268 public void removeAll()
269 throws com.liferay.portal.kernel.exception.SystemException;
270
271 public int countByUuid(java.lang.String uuid)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274 public int countByUUID_G(java.lang.String uuid, long groupId)
275 throws com.liferay.portal.kernel.exception.SystemException;
276
277 public int countByGroupId(long groupId)
278 throws com.liferay.portal.kernel.exception.SystemException;
279
280 public int filterCountByGroupId(long groupId)
281 throws com.liferay.portal.kernel.exception.SystemException;
282
283 public int countByStructureId(java.lang.String structureId)
284 throws com.liferay.portal.kernel.exception.SystemException;
285
286 public int countByG_S(long groupId, java.lang.String structureId)
287 throws com.liferay.portal.kernel.exception.SystemException;
288
289 public int filterCountByG_S(long groupId, java.lang.String structureId)
290 throws com.liferay.portal.kernel.exception.SystemException;
291
292 public int countByG_P(long groupId, java.lang.String parentStructureId)
293 throws com.liferay.portal.kernel.exception.SystemException;
294
295 public int filterCountByG_P(long groupId, java.lang.String parentStructureId)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 public int countAll()
299 throws com.liferay.portal.kernel.exception.SystemException;
300 }