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.SystemException,
45 com.liferay.portlet.imagegallery.NoSuchFolderException;
46
47
50 public com.liferay.portlet.imagegallery.model.IGFolder update(
51 com.liferay.portlet.imagegallery.model.IGFolder igFolder)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.imagegallery.model.IGFolder updateImpl(
55 com.liferay.portlet.imagegallery.model.IGFolder igFolder, boolean merge)
56 throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.imagegallery.model.IGFolder findByPrimaryKey(
59 long folderId)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.imagegallery.NoSuchFolderException;
62
63 public com.liferay.portlet.imagegallery.model.IGFolder fetchByPrimaryKey(
64 long folderId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByUuid(
67 java.lang.String uuid) throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> 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.imagegallery.model.IGFolder> findByUuid(
74 java.lang.String uuid, int start, int end,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portlet.imagegallery.model.IGFolder findByUuid_First(
79 java.lang.String uuid,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.imagegallery.NoSuchFolderException;
83
84 public com.liferay.portlet.imagegallery.model.IGFolder findByUuid_Last(
85 java.lang.String uuid,
86 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.imagegallery.NoSuchFolderException;
89
90 public com.liferay.portlet.imagegallery.model.IGFolder[] findByUuid_PrevAndNext(
91 long folderId, java.lang.String uuid,
92 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.imagegallery.NoSuchFolderException;
95
96 public com.liferay.portlet.imagegallery.model.IGFolder findByUUID_G(
97 java.lang.String uuid, long groupId)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.imagegallery.NoSuchFolderException;
100
101 public com.liferay.portlet.imagegallery.model.IGFolder fetchByUUID_G(
102 java.lang.String uuid, long groupId)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.imagegallery.model.IGFolder 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.imagegallery.model.IGFolder> findByGroupId(
110 long groupId) throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByGroupId(
113 long groupId, int start, int end)
114 throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByGroupId(
117 long groupId, int start, int end,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.SystemException;
120
121 public com.liferay.portlet.imagegallery.model.IGFolder findByGroupId_First(
122 long groupId,
123 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.imagegallery.NoSuchFolderException;
126
127 public com.liferay.portlet.imagegallery.model.IGFolder findByGroupId_Last(
128 long groupId,
129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.imagegallery.NoSuchFolderException;
132
133 public com.liferay.portlet.imagegallery.model.IGFolder[] findByGroupId_PrevAndNext(
134 long folderId, long groupId,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.imagegallery.NoSuchFolderException;
138
139 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
140 long companyId) throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
143 long companyId, int start, int end)
144 throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByCompanyId(
147 long companyId, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.SystemException;
150
151 public com.liferay.portlet.imagegallery.model.IGFolder findByCompanyId_First(
152 long companyId,
153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.imagegallery.NoSuchFolderException;
156
157 public com.liferay.portlet.imagegallery.model.IGFolder findByCompanyId_Last(
158 long companyId,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portlet.imagegallery.NoSuchFolderException;
162
163 public com.liferay.portlet.imagegallery.model.IGFolder[] findByCompanyId_PrevAndNext(
164 long folderId, long companyId,
165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.imagegallery.NoSuchFolderException;
168
169 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
170 long groupId, long parentFolderId)
171 throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
174 long groupId, long parentFolderId, int start, int end)
175 throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findByG_P(
178 long groupId, long parentFolderId, int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180 throws com.liferay.portal.SystemException;
181
182 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_First(
183 long groupId, long parentFolderId,
184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185 throws com.liferay.portal.SystemException,
186 com.liferay.portlet.imagegallery.NoSuchFolderException;
187
188 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_Last(
189 long groupId, long parentFolderId,
190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.imagegallery.NoSuchFolderException;
193
194 public com.liferay.portlet.imagegallery.model.IGFolder[] findByG_P_PrevAndNext(
195 long folderId, long groupId, long parentFolderId,
196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
197 throws com.liferay.portal.SystemException,
198 com.liferay.portlet.imagegallery.NoSuchFolderException;
199
200 public com.liferay.portlet.imagegallery.model.IGFolder findByG_P_N(
201 long groupId, long parentFolderId, java.lang.String name)
202 throws com.liferay.portal.SystemException,
203 com.liferay.portlet.imagegallery.NoSuchFolderException;
204
205 public com.liferay.portlet.imagegallery.model.IGFolder fetchByG_P_N(
206 long groupId, long parentFolderId, java.lang.String name)
207 throws com.liferay.portal.SystemException;
208
209 public com.liferay.portlet.imagegallery.model.IGFolder fetchByG_P_N(
210 long groupId, long parentFolderId, java.lang.String name,
211 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
212
213 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll()
214 throws com.liferay.portal.SystemException;
215
216 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll(
217 int start, int end) throws com.liferay.portal.SystemException;
218
219 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> findAll(
220 int start, int end,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.SystemException;
223
224 public void removeByUuid(java.lang.String uuid)
225 throws com.liferay.portal.SystemException;
226
227 public void removeByUUID_G(java.lang.String uuid, long groupId)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.imagegallery.NoSuchFolderException;
230
231 public void removeByGroupId(long groupId)
232 throws com.liferay.portal.SystemException;
233
234 public void removeByCompanyId(long companyId)
235 throws com.liferay.portal.SystemException;
236
237 public void removeByG_P(long groupId, long parentFolderId)
238 throws com.liferay.portal.SystemException;
239
240 public void removeByG_P_N(long groupId, long parentFolderId,
241 java.lang.String name)
242 throws com.liferay.portal.SystemException,
243 com.liferay.portlet.imagegallery.NoSuchFolderException;
244
245 public void removeAll() throws com.liferay.portal.SystemException;
246
247 public int countByUuid(java.lang.String uuid)
248 throws com.liferay.portal.SystemException;
249
250 public int countByUUID_G(java.lang.String uuid, long groupId)
251 throws com.liferay.portal.SystemException;
252
253 public int countByGroupId(long groupId)
254 throws com.liferay.portal.SystemException;
255
256 public int countByCompanyId(long companyId)
257 throws com.liferay.portal.SystemException;
258
259 public int countByG_P(long groupId, long parentFolderId)
260 throws com.liferay.portal.SystemException;
261
262 public int countByG_P_N(long groupId, long parentFolderId,
263 java.lang.String name) throws com.liferay.portal.SystemException;
264
265 public int countAll() throws com.liferay.portal.SystemException;
266 }