1
14
15 package com.liferay.portlet.imagegallery.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.imagegallery.model.IGFolder;
20
21
34 public interface IGFolderPersistence extends BasePersistence<IGFolder> {
35 public void cacheResult(
36 com.liferay.portlet.imagegallery.model.IGFolder igFolder);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> igFolders);
40
41 public com.liferay.portlet.imagegallery.model.IGFolder create(long folderId);
42
43 public com.liferay.portlet.imagegallery.model.IGFolder remove(long folderId)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.imagegallery.NoSuchFolderException;
46
47 public com.liferay.portlet.imagegallery.model.IGFolder updateImpl(
48 com.liferay.portlet.imagegallery.model.IGFolder igFolder, boolean merge)
49 throws com.liferay.portal.kernel.exception.SystemException;
50
51 public com.liferay.portlet.imagegallery.model.IGFolder findByPrimaryKey(
52 long folderId)
53 throws com.liferay.portal.kernel.exception.SystemException,
54 com.liferay.portlet.imagegallery.NoSuchFolderException;
55
56 public com.liferay.portlet.imagegallery.model.IGFolder fetchByPrimaryKey(
57 long folderId)
58 throws com.liferay.portal.kernel.exception.SystemException;
59
60 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByUuid(
61 java.lang.String uuid)
62 throws com.liferay.portal.kernel.exception.SystemException;
63
64 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> 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.imagegallery.model.IGFolder> 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.imagegallery.model.IGFolder 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.imagegallery.NoSuchFolderException;
78
79 public com.liferay.portlet.imagegallery.model.IGFolder 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.imagegallery.NoSuchFolderException;
84
85 public com.liferay.portlet.imagegallery.model.IGFolder[] findByUuid_PrevAndNext(
86 long folderId, java.lang.String uuid,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.kernel.exception.SystemException,
89 com.liferay.portlet.imagegallery.NoSuchFolderException;
90
91 public com.liferay.portlet.imagegallery.model.IGFolder findByUUID_G(
92 java.lang.String uuid, long groupId)
93 throws com.liferay.portal.kernel.exception.SystemException,
94 com.liferay.portlet.imagegallery.NoSuchFolderException;
95
96 public com.liferay.portlet.imagegallery.model.IGFolder fetchByUUID_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public com.liferay.portlet.imagegallery.model.IGFolder 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.imagegallery.model.IGFolder> findByGroupId(
105 long groupId)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> 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.imagegallery.model.IGFolder> 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.imagegallery.model.IGFolder 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.imagegallery.NoSuchFolderException;
122
123 public com.liferay.portlet.imagegallery.model.IGFolder 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.imagegallery.NoSuchFolderException;
128
129 public com.liferay.portlet.imagegallery.model.IGFolder[] findByGroupId_PrevAndNext(
130 long folderId, long groupId,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.kernel.exception.SystemException,
133 com.liferay.portlet.imagegallery.NoSuchFolderException;
134
135 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByGroupId(
136 long groupId)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> 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.imagegallery.model.IGFolder> 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.imagegallery.model.IGFolder> findByCompanyId(
149 long companyId)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
153 long companyId, int start, int end)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
157 long companyId, 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.imagegallery.model.IGFolder findByCompanyId_First(
162 long companyId,
163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164 throws com.liferay.portal.kernel.exception.SystemException,
165 com.liferay.portlet.imagegallery.NoSuchFolderException;
166
167 public com.liferay.portlet.imagegallery.model.IGFolder findByCompanyId_Last(
168 long companyId,
169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170 throws com.liferay.portal.kernel.exception.SystemException,
171 com.liferay.portlet.imagegallery.NoSuchFolderException;
172
173 public com.liferay.portlet.imagegallery.model.IGFolder[] findByCompanyId_PrevAndNext(
174 long folderId, long companyId,
175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
176 throws com.liferay.portal.kernel.exception.SystemException,
177 com.liferay.portlet.imagegallery.NoSuchFolderException;
178
179 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
180 long groupId, long parentFolderId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
184 long groupId, long parentFolderId, int start, int end)
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
188 long groupId, long parentFolderId, int start, int end,
189 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_First(
193 long groupId, long parentFolderId,
194 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
195 throws com.liferay.portal.kernel.exception.SystemException,
196 com.liferay.portlet.imagegallery.NoSuchFolderException;
197
198 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_Last(
199 long groupId, long parentFolderId,
200 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
201 throws com.liferay.portal.kernel.exception.SystemException,
202 com.liferay.portlet.imagegallery.NoSuchFolderException;
203
204 public com.liferay.portlet.imagegallery.model.IGFolder[] findByG_P_PrevAndNext(
205 long folderId, long groupId, long parentFolderId,
206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207 throws com.liferay.portal.kernel.exception.SystemException,
208 com.liferay.portlet.imagegallery.NoSuchFolderException;
209
210 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByG_P(
211 long groupId, long parentFolderId)
212 throws com.liferay.portal.kernel.exception.SystemException;
213
214 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByG_P(
215 long groupId, long parentFolderId, int start, int end)
216 throws com.liferay.portal.kernel.exception.SystemException;
217
218 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByG_P(
219 long groupId, long parentFolderId, int start, int end,
220 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_N(
224 long groupId, long parentFolderId, java.lang.String name)
225 throws com.liferay.portal.kernel.exception.SystemException,
226 com.liferay.portlet.imagegallery.NoSuchFolderException;
227
228 public com.liferay.portlet.imagegallery.model.IGFolder fetchByG_P_N(
229 long groupId, long parentFolderId, java.lang.String name)
230 throws com.liferay.portal.kernel.exception.SystemException;
231
232 public com.liferay.portlet.imagegallery.model.IGFolder fetchByG_P_N(
233 long groupId, long parentFolderId, java.lang.String name,
234 boolean retrieveFromCache)
235 throws com.liferay.portal.kernel.exception.SystemException;
236
237 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll()
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll(
241 int start, int end)
242 throws com.liferay.portal.kernel.exception.SystemException;
243
244 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll(
245 int start, int end,
246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247 throws com.liferay.portal.kernel.exception.SystemException;
248
249 public void removeByUuid(java.lang.String uuid)
250 throws com.liferay.portal.kernel.exception.SystemException;
251
252 public void removeByUUID_G(java.lang.String uuid, long groupId)
253 throws com.liferay.portal.kernel.exception.SystemException,
254 com.liferay.portlet.imagegallery.NoSuchFolderException;
255
256 public void removeByGroupId(long groupId)
257 throws com.liferay.portal.kernel.exception.SystemException;
258
259 public void removeByCompanyId(long companyId)
260 throws com.liferay.portal.kernel.exception.SystemException;
261
262 public void removeByG_P(long groupId, long parentFolderId)
263 throws com.liferay.portal.kernel.exception.SystemException;
264
265 public void removeByG_P_N(long groupId, long parentFolderId,
266 java.lang.String name)
267 throws com.liferay.portal.kernel.exception.SystemException,
268 com.liferay.portlet.imagegallery.NoSuchFolderException;
269
270 public void removeAll()
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 public int countByUuid(java.lang.String uuid)
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276 public int countByUUID_G(java.lang.String uuid, long groupId)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 public int countByGroupId(long groupId)
280 throws com.liferay.portal.kernel.exception.SystemException;
281
282 public int filterCountByGroupId(long groupId)
283 throws com.liferay.portal.kernel.exception.SystemException;
284
285 public int countByCompanyId(long companyId)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 public int countByG_P(long groupId, long parentFolderId)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 public int filterCountByG_P(long groupId, long parentFolderId)
292 throws com.liferay.portal.kernel.exception.SystemException;
293
294 public int countByG_P_N(long groupId, long parentFolderId,
295 java.lang.String name)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 public int filterCountByG_P_N(long groupId, long parentFolderId,
299 java.lang.String name)
300 throws com.liferay.portal.kernel.exception.SystemException;
301
302 public int countAll()
303 throws com.liferay.portal.kernel.exception.SystemException;
304 }