001
014
015 package com.liferay.portlet.imagegallery.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.imagegallery.model.IGFolder;
020
021
027 public interface IGFolderPersistence extends BasePersistence<IGFolder> {
028 public void cacheResult(
029 com.liferay.portlet.imagegallery.model.IGFolder igFolder);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> igFolders);
033
034 public com.liferay.portlet.imagegallery.model.IGFolder create(long folderId);
035
036 public com.liferay.portlet.imagegallery.model.IGFolder remove(long folderId)
037 throws com.liferay.portal.kernel.exception.SystemException,
038 com.liferay.portlet.imagegallery.NoSuchFolderException;
039
040 public com.liferay.portlet.imagegallery.model.IGFolder updateImpl(
041 com.liferay.portlet.imagegallery.model.IGFolder igFolder, boolean merge)
042 throws com.liferay.portal.kernel.exception.SystemException;
043
044 public com.liferay.portlet.imagegallery.model.IGFolder findByPrimaryKey(
045 long folderId)
046 throws com.liferay.portal.kernel.exception.SystemException,
047 com.liferay.portlet.imagegallery.NoSuchFolderException;
048
049 public com.liferay.portlet.imagegallery.model.IGFolder fetchByPrimaryKey(
050 long folderId)
051 throws com.liferay.portal.kernel.exception.SystemException;
052
053 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByUuid(
054 java.lang.String uuid)
055 throws com.liferay.portal.kernel.exception.SystemException;
056
057 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByUuid(
058 java.lang.String uuid, int start, int end)
059 throws com.liferay.portal.kernel.exception.SystemException;
060
061 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByUuid(
062 java.lang.String uuid, int start, int end,
063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
064 throws com.liferay.portal.kernel.exception.SystemException;
065
066 public com.liferay.portlet.imagegallery.model.IGFolder findByUuid_First(
067 java.lang.String uuid,
068 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
069 throws com.liferay.portal.kernel.exception.SystemException,
070 com.liferay.portlet.imagegallery.NoSuchFolderException;
071
072 public com.liferay.portlet.imagegallery.model.IGFolder findByUuid_Last(
073 java.lang.String uuid,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException,
076 com.liferay.portlet.imagegallery.NoSuchFolderException;
077
078 public com.liferay.portlet.imagegallery.model.IGFolder[] findByUuid_PrevAndNext(
079 long folderId, java.lang.String uuid,
080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081 throws com.liferay.portal.kernel.exception.SystemException,
082 com.liferay.portlet.imagegallery.NoSuchFolderException;
083
084 public com.liferay.portlet.imagegallery.model.IGFolder findByUUID_G(
085 java.lang.String uuid, long groupId)
086 throws com.liferay.portal.kernel.exception.SystemException,
087 com.liferay.portlet.imagegallery.NoSuchFolderException;
088
089 public com.liferay.portlet.imagegallery.model.IGFolder fetchByUUID_G(
090 java.lang.String uuid, long groupId)
091 throws com.liferay.portal.kernel.exception.SystemException;
092
093 public com.liferay.portlet.imagegallery.model.IGFolder fetchByUUID_G(
094 java.lang.String uuid, long groupId, boolean retrieveFromCache)
095 throws com.liferay.portal.kernel.exception.SystemException;
096
097 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByGroupId(
098 long groupId)
099 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByGroupId(
102 long groupId, int start, int end)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByGroupId(
106 long groupId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.kernel.exception.SystemException;
109
110 public com.liferay.portlet.imagegallery.model.IGFolder findByGroupId_First(
111 long groupId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.kernel.exception.SystemException,
114 com.liferay.portlet.imagegallery.NoSuchFolderException;
115
116 public com.liferay.portlet.imagegallery.model.IGFolder findByGroupId_Last(
117 long groupId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.kernel.exception.SystemException,
120 com.liferay.portlet.imagegallery.NoSuchFolderException;
121
122 public com.liferay.portlet.imagegallery.model.IGFolder[] findByGroupId_PrevAndNext(
123 long folderId, long groupId,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.kernel.exception.SystemException,
126 com.liferay.portlet.imagegallery.NoSuchFolderException;
127
128 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByGroupId(
129 long groupId)
130 throws com.liferay.portal.kernel.exception.SystemException;
131
132 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByGroupId(
133 long groupId, int start, int end)
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByGroupId(
137 long groupId, int start, int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
142 long companyId)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
146 long companyId, int start, int end)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
150 long companyId, int start, int end,
151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152 throws com.liferay.portal.kernel.exception.SystemException;
153
154 public com.liferay.portlet.imagegallery.model.IGFolder findByCompanyId_First(
155 long companyId,
156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157 throws com.liferay.portal.kernel.exception.SystemException,
158 com.liferay.portlet.imagegallery.NoSuchFolderException;
159
160 public com.liferay.portlet.imagegallery.model.IGFolder findByCompanyId_Last(
161 long companyId,
162 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
163 throws com.liferay.portal.kernel.exception.SystemException,
164 com.liferay.portlet.imagegallery.NoSuchFolderException;
165
166 public com.liferay.portlet.imagegallery.model.IGFolder[] findByCompanyId_PrevAndNext(
167 long folderId, long companyId,
168 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
169 throws com.liferay.portal.kernel.exception.SystemException,
170 com.liferay.portlet.imagegallery.NoSuchFolderException;
171
172 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
173 long groupId, long parentFolderId)
174 throws com.liferay.portal.kernel.exception.SystemException;
175
176 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
177 long groupId, long parentFolderId, int start, int end)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
181 long groupId, long parentFolderId, int start, int end,
182 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
183 throws com.liferay.portal.kernel.exception.SystemException;
184
185 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_First(
186 long groupId, long parentFolderId,
187 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188 throws com.liferay.portal.kernel.exception.SystemException,
189 com.liferay.portlet.imagegallery.NoSuchFolderException;
190
191 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_Last(
192 long groupId, long parentFolderId,
193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
194 throws com.liferay.portal.kernel.exception.SystemException,
195 com.liferay.portlet.imagegallery.NoSuchFolderException;
196
197 public com.liferay.portlet.imagegallery.model.IGFolder[] findByG_P_PrevAndNext(
198 long folderId, long groupId, long parentFolderId,
199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
200 throws com.liferay.portal.kernel.exception.SystemException,
201 com.liferay.portlet.imagegallery.NoSuchFolderException;
202
203 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByG_P(
204 long groupId, long parentFolderId)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByG_P(
208 long groupId, long parentFolderId, int start, int end)
209 throws com.liferay.portal.kernel.exception.SystemException;
210
211 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> filterFindByG_P(
212 long groupId, long parentFolderId, int start, int end,
213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214 throws com.liferay.portal.kernel.exception.SystemException;
215
216 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_N(
217 long groupId, long parentFolderId, java.lang.String name)
218 throws com.liferay.portal.kernel.exception.SystemException,
219 com.liferay.portlet.imagegallery.NoSuchFolderException;
220
221 public com.liferay.portlet.imagegallery.model.IGFolder fetchByG_P_N(
222 long groupId, long parentFolderId, java.lang.String name)
223 throws com.liferay.portal.kernel.exception.SystemException;
224
225 public com.liferay.portlet.imagegallery.model.IGFolder fetchByG_P_N(
226 long groupId, long parentFolderId, java.lang.String name,
227 boolean retrieveFromCache)
228 throws com.liferay.portal.kernel.exception.SystemException;
229
230 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll()
231 throws com.liferay.portal.kernel.exception.SystemException;
232
233 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll(
234 int start, int end)
235 throws com.liferay.portal.kernel.exception.SystemException;
236
237 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll(
238 int start, int end,
239 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
240 throws com.liferay.portal.kernel.exception.SystemException;
241
242 public void removeByUuid(java.lang.String uuid)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public void removeByUUID_G(java.lang.String uuid, long groupId)
246 throws com.liferay.portal.kernel.exception.SystemException,
247 com.liferay.portlet.imagegallery.NoSuchFolderException;
248
249 public void removeByGroupId(long groupId)
250 throws com.liferay.portal.kernel.exception.SystemException;
251
252 public void removeByCompanyId(long companyId)
253 throws com.liferay.portal.kernel.exception.SystemException;
254
255 public void removeByG_P(long groupId, long parentFolderId)
256 throws com.liferay.portal.kernel.exception.SystemException;
257
258 public void removeByG_P_N(long groupId, long parentFolderId,
259 java.lang.String name)
260 throws com.liferay.portal.kernel.exception.SystemException,
261 com.liferay.portlet.imagegallery.NoSuchFolderException;
262
263 public void removeAll()
264 throws com.liferay.portal.kernel.exception.SystemException;
265
266 public int countByUuid(java.lang.String uuid)
267 throws com.liferay.portal.kernel.exception.SystemException;
268
269 public int countByUUID_G(java.lang.String uuid, long groupId)
270 throws com.liferay.portal.kernel.exception.SystemException;
271
272 public int countByGroupId(long groupId)
273 throws com.liferay.portal.kernel.exception.SystemException;
274
275 public int filterCountByGroupId(long groupId)
276 throws com.liferay.portal.kernel.exception.SystemException;
277
278 public int countByCompanyId(long companyId)
279 throws com.liferay.portal.kernel.exception.SystemException;
280
281 public int countByG_P(long groupId, long parentFolderId)
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 public int filterCountByG_P(long groupId, long parentFolderId)
285 throws com.liferay.portal.kernel.exception.SystemException;
286
287 public int countByG_P_N(long groupId, long parentFolderId,
288 java.lang.String name)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 public int filterCountByG_P_N(long groupId, long parentFolderId,
292 java.lang.String name)
293 throws com.liferay.portal.kernel.exception.SystemException;
294
295 public int countAll()
296 throws com.liferay.portal.kernel.exception.SystemException;
297 }