1
14
15 package com.liferay.portlet.imagegallery.service;
16
17
18
34 public class IGImageLocalServiceWrapper implements IGImageLocalService {
35 public IGImageLocalServiceWrapper(IGImageLocalService igImageLocalService) {
36 _igImageLocalService = igImageLocalService;
37 }
38
39 public com.liferay.portlet.imagegallery.model.IGImage addIGImage(
40 com.liferay.portlet.imagegallery.model.IGImage igImage)
41 throws com.liferay.portal.SystemException {
42 return _igImageLocalService.addIGImage(igImage);
43 }
44
45 public com.liferay.portlet.imagegallery.model.IGImage createIGImage(
46 long imageId) {
47 return _igImageLocalService.createIGImage(imageId);
48 }
49
50 public void deleteIGImage(long imageId)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException {
53 _igImageLocalService.deleteIGImage(imageId);
54 }
55
56 public void deleteIGImage(
57 com.liferay.portlet.imagegallery.model.IGImage igImage)
58 throws com.liferay.portal.SystemException {
59 _igImageLocalService.deleteIGImage(igImage);
60 }
61
62 public java.util.List<Object> dynamicQuery(
63 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
64 throws com.liferay.portal.SystemException {
65 return _igImageLocalService.dynamicQuery(dynamicQuery);
66 }
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.SystemException {
71 return _igImageLocalService.dynamicQuery(dynamicQuery, start, end);
72 }
73
74 public com.liferay.portlet.imagegallery.model.IGImage getIGImage(
75 long imageId)
76 throws com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException {
78 return _igImageLocalService.getIGImage(imageId);
79 }
80
81 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getIGImages(
82 int start, int end) throws com.liferay.portal.SystemException {
83 return _igImageLocalService.getIGImages(start, end);
84 }
85
86 public int getIGImagesCount() throws com.liferay.portal.SystemException {
87 return _igImageLocalService.getIGImagesCount();
88 }
89
90 public com.liferay.portlet.imagegallery.model.IGImage updateIGImage(
91 com.liferay.portlet.imagegallery.model.IGImage igImage)
92 throws com.liferay.portal.SystemException {
93 return _igImageLocalService.updateIGImage(igImage);
94 }
95
96 public com.liferay.portlet.imagegallery.model.IGImage updateIGImage(
97 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
98 throws com.liferay.portal.SystemException {
99 return _igImageLocalService.updateIGImage(igImage, merge);
100 }
101
102 public com.liferay.portlet.imagegallery.model.IGImage addImage(
103 long userId, long folderId, java.lang.String name,
104 java.lang.String description, java.io.File file,
105 java.lang.String contentType, java.lang.String[] tagsEntries,
106 boolean addCommunityPermissions, boolean addGuestPermissions)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException {
109 return _igImageLocalService.addImage(userId, folderId, name,
110 description, file, contentType, tagsEntries,
111 addCommunityPermissions, addGuestPermissions);
112 }
113
114 public com.liferay.portlet.imagegallery.model.IGImage addImage(
115 long userId, long folderId, java.lang.String name,
116 java.lang.String description, java.io.File file,
117 java.lang.String contentType, java.lang.String[] tagsEntries,
118 java.lang.String[] communityPermissions,
119 java.lang.String[] guestPermissions)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return _igImageLocalService.addImage(userId, folderId, name,
123 description, file, contentType, tagsEntries, communityPermissions,
124 guestPermissions);
125 }
126
127 public com.liferay.portlet.imagegallery.model.IGImage addImage(
128 java.lang.String uuid, long userId, long folderId,
129 java.lang.String name, java.lang.String description, java.io.File file,
130 java.lang.String contentType, java.lang.String[] tagsEntries,
131 boolean addCommunityPermissions, boolean addGuestPermissions)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException {
134 return _igImageLocalService.addImage(uuid, userId, folderId, name,
135 description, file, contentType, tagsEntries,
136 addCommunityPermissions, addGuestPermissions);
137 }
138
139 public com.liferay.portlet.imagegallery.model.IGImage addImage(
140 java.lang.String uuid, long userId, long folderId,
141 java.lang.String name, java.lang.String description, java.io.File file,
142 java.lang.String contentType, java.lang.String[] tagsEntries,
143 java.lang.Boolean addCommunityPermissions,
144 java.lang.Boolean addGuestPermissions,
145 java.lang.String[] communityPermissions,
146 java.lang.String[] guestPermissions)
147 throws com.liferay.portal.PortalException,
148 com.liferay.portal.SystemException {
149 return _igImageLocalService.addImage(uuid, userId, folderId, name,
150 description, file, contentType, tagsEntries,
151 addCommunityPermissions, addGuestPermissions, communityPermissions,
152 guestPermissions);
153 }
154
155 public void addImageResources(
156 com.liferay.portlet.imagegallery.model.IGImage image,
157 boolean addCommunityPermissions, boolean addGuestPermissions)
158 throws com.liferay.portal.PortalException,
159 com.liferay.portal.SystemException {
160 _igImageLocalService.addImageResources(image, addCommunityPermissions,
161 addGuestPermissions);
162 }
163
164 public void addImageResources(
165 com.liferay.portlet.imagegallery.model.IGImage image,
166 java.lang.String[] communityPermissions,
167 java.lang.String[] guestPermissions)
168 throws com.liferay.portal.PortalException,
169 com.liferay.portal.SystemException {
170 _igImageLocalService.addImageResources(image, communityPermissions,
171 guestPermissions);
172 }
173
174 public void addImageResources(long imageId,
175 boolean addCommunityPermissions, boolean addGuestPermissions)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException {
178 _igImageLocalService.addImageResources(imageId,
179 addCommunityPermissions, addGuestPermissions);
180 }
181
182 public void addImageResources(long imageId,
183 java.lang.String[] communityPermissions,
184 java.lang.String[] guestPermissions)
185 throws com.liferay.portal.PortalException,
186 com.liferay.portal.SystemException {
187 _igImageLocalService.addImageResources(imageId, communityPermissions,
188 guestPermissions);
189 }
190
191 public void deleteImage(
192 com.liferay.portlet.imagegallery.model.IGImage image)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException {
195 _igImageLocalService.deleteImage(image);
196 }
197
198 public void deleteImage(long imageId)
199 throws com.liferay.portal.PortalException,
200 com.liferay.portal.SystemException {
201 _igImageLocalService.deleteImage(imageId);
202 }
203
204 public void deleteImages(long folderId)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException {
207 _igImageLocalService.deleteImages(folderId);
208 }
209
210 public int getFoldersImagesCount(java.util.List<Long> folderIds)
211 throws com.liferay.portal.SystemException {
212 return _igImageLocalService.getFoldersImagesCount(folderIds);
213 }
214
215 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getGroupImages(
216 long groupId, int start, int end)
217 throws com.liferay.portal.SystemException {
218 return _igImageLocalService.getGroupImages(groupId, start, end);
219 }
220
221 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getGroupImages(
222 long groupId, long userId, int start, int end)
223 throws com.liferay.portal.SystemException {
224 return _igImageLocalService.getGroupImages(groupId, userId, start, end);
225 }
226
227 public int getGroupImagesCount(long groupId)
228 throws com.liferay.portal.SystemException {
229 return _igImageLocalService.getGroupImagesCount(groupId);
230 }
231
232 public int getGroupImagesCount(long groupId, long userId)
233 throws com.liferay.portal.SystemException {
234 return _igImageLocalService.getGroupImagesCount(groupId, userId);
235 }
236
237 public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
238 throws com.liferay.portal.PortalException,
239 com.liferay.portal.SystemException {
240 return _igImageLocalService.getImage(imageId);
241 }
242
243 public com.liferay.portlet.imagegallery.model.IGImage getImageByCustom1ImageId(
244 long custom1ImageId)
245 throws com.liferay.portal.PortalException,
246 com.liferay.portal.SystemException {
247 return _igImageLocalService.getImageByCustom1ImageId(custom1ImageId);
248 }
249
250 public com.liferay.portlet.imagegallery.model.IGImage getImageByCustom2ImageId(
251 long custom2ImageId)
252 throws com.liferay.portal.PortalException,
253 com.liferay.portal.SystemException {
254 return _igImageLocalService.getImageByCustom2ImageId(custom2ImageId);
255 }
256
257 public com.liferay.portlet.imagegallery.model.IGImage getImageByFolderIdAndNameWithExtension(
258 long folderId, java.lang.String nameWithExtension)
259 throws com.liferay.portal.PortalException,
260 com.liferay.portal.SystemException {
261 return _igImageLocalService.getImageByFolderIdAndNameWithExtension(folderId,
262 nameWithExtension);
263 }
264
265 public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(
266 long largeImageId)
267 throws com.liferay.portal.PortalException,
268 com.liferay.portal.SystemException {
269 return _igImageLocalService.getImageByLargeImageId(largeImageId);
270 }
271
272 public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(
273 long smallImageId)
274 throws com.liferay.portal.PortalException,
275 com.liferay.portal.SystemException {
276 return _igImageLocalService.getImageBySmallImageId(smallImageId);
277 }
278
279 public com.liferay.portlet.imagegallery.model.IGImage getImageByUuidAndGroupId(
280 java.lang.String uuid, long groupId)
281 throws com.liferay.portal.PortalException,
282 com.liferay.portal.SystemException {
283 return _igImageLocalService.getImageByUuidAndGroupId(uuid, groupId);
284 }
285
286 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
287 long folderId) throws com.liferay.portal.SystemException {
288 return _igImageLocalService.getImages(folderId);
289 }
290
291 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
292 long folderId, int start, int end)
293 throws com.liferay.portal.SystemException {
294 return _igImageLocalService.getImages(folderId, start, end);
295 }
296
297 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
298 long folderId, int start, int end,
299 com.liferay.portal.kernel.util.OrderByComparator obc)
300 throws com.liferay.portal.SystemException {
301 return _igImageLocalService.getImages(folderId, start, end, obc);
302 }
303
304 public int getImagesCount(long folderId)
305 throws com.liferay.portal.SystemException {
306 return _igImageLocalService.getImagesCount(folderId);
307 }
308
309 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getNoAssetImages()
310 throws com.liferay.portal.SystemException {
311 return _igImageLocalService.getNoAssetImages();
312 }
313
314 public void reIndex(com.liferay.portlet.imagegallery.model.IGImage image)
315 throws com.liferay.portal.SystemException {
316 _igImageLocalService.reIndex(image);
317 }
318
319 public void reIndex(long imageId) throws com.liferay.portal.SystemException {
320 _igImageLocalService.reIndex(imageId);
321 }
322
323 public com.liferay.portlet.imagegallery.model.IGImage updateImage(
324 long userId, long imageId, long folderId, java.lang.String name,
325 java.lang.String description, java.io.File file,
326 java.lang.String contentType, java.lang.String[] tagsEntries)
327 throws com.liferay.portal.PortalException,
328 com.liferay.portal.SystemException {
329 return _igImageLocalService.updateImage(userId, imageId, folderId,
330 name, description, file, contentType, tagsEntries);
331 }
332
333 public void updateSmallImage(long smallImageId, long largeImageId)
334 throws com.liferay.portal.PortalException,
335 com.liferay.portal.SystemException {
336 _igImageLocalService.updateSmallImage(smallImageId, largeImageId);
337 }
338
339 public void updateTagsAsset(long userId,
340 com.liferay.portlet.imagegallery.model.IGImage image,
341 java.lang.String[] tagsEntries)
342 throws com.liferay.portal.PortalException,
343 com.liferay.portal.SystemException {
344 _igImageLocalService.updateTagsAsset(userId, image, tagsEntries);
345 }
346
347 public void updateTagsAsset(long userId,
348 com.liferay.portlet.imagegallery.model.IGImage image,
349 java.lang.String[] tagsEntries, java.lang.String contentType)
350 throws com.liferay.portal.PortalException,
351 com.liferay.portal.SystemException {
352 _igImageLocalService.updateTagsAsset(userId, image, tagsEntries,
353 contentType);
354 }
355
356 public IGImageLocalService getWrappedIGImageLocalService() {
357 return _igImageLocalService;
358 }
359
360 private IGImageLocalService _igImageLocalService;
361 }