1
14
15 package com.liferay.portlet.imagegallery.service;
16
17
18
34 public class IGImageServiceWrapper implements IGImageService {
35 public IGImageServiceWrapper(IGImageService igImageService) {
36 _igImageService = igImageService;
37 }
38
39 public com.liferay.portlet.imagegallery.model.IGImage addImage(
40 long folderId, java.lang.String name, java.lang.String description,
41 java.io.File file, java.lang.String contentType,
42 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
43 boolean addGuestPermissions)
44 throws com.liferay.portal.PortalException,
45 com.liferay.portal.SystemException, java.rmi.RemoteException {
46 return _igImageService.addImage(folderId, name, description, file,
47 contentType, tagsEntries, addCommunityPermissions,
48 addGuestPermissions);
49 }
50
51 public com.liferay.portlet.imagegallery.model.IGImage addImage(
52 long folderId, java.lang.String name, java.lang.String description,
53 java.io.File file, java.lang.String contentType,
54 java.lang.String[] tagsEntries,
55 java.lang.String[] communityPermissions,
56 java.lang.String[] guestPermissions)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException, java.rmi.RemoteException {
59 return _igImageService.addImage(folderId, name, description, file,
60 contentType, tagsEntries, communityPermissions, guestPermissions);
61 }
62
63 public void deleteImage(long imageId)
64 throws com.liferay.portal.PortalException,
65 com.liferay.portal.SystemException, java.rmi.RemoteException {
66 _igImageService.deleteImage(imageId);
67 }
68
69 public void deleteImageByFolderIdAndNameWithExtension(long folderId,
70 java.lang.String nameWithExtension)
71 throws com.liferay.portal.PortalException,
72 com.liferay.portal.SystemException, java.rmi.RemoteException {
73 _igImageService.deleteImageByFolderIdAndNameWithExtension(folderId,
74 nameWithExtension);
75 }
76
77 public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException, java.rmi.RemoteException {
80 return _igImageService.getImage(imageId);
81 }
82
83 public com.liferay.portlet.imagegallery.model.IGImage getImageByFolderIdAndNameWithExtension(
84 long folderId, java.lang.String nameWithExtension)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException, java.rmi.RemoteException {
87 return _igImageService.getImageByFolderIdAndNameWithExtension(folderId,
88 nameWithExtension);
89 }
90
91 public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(
92 long largeImageId)
93 throws com.liferay.portal.PortalException,
94 com.liferay.portal.SystemException, java.rmi.RemoteException {
95 return _igImageService.getImageByLargeImageId(largeImageId);
96 }
97
98 public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(
99 long smallImageId)
100 throws com.liferay.portal.PortalException,
101 com.liferay.portal.SystemException, java.rmi.RemoteException {
102 return _igImageService.getImageBySmallImageId(smallImageId);
103 }
104
105 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
106 long folderId)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException, java.rmi.RemoteException {
109 return _igImageService.getImages(folderId);
110 }
111
112 public com.liferay.portlet.imagegallery.model.IGImage updateImage(
113 long imageId, long folderId, java.lang.String name,
114 java.lang.String description, java.io.File file,
115 java.lang.String contentType, java.lang.String[] tagsEntries)
116 throws com.liferay.portal.PortalException,
117 com.liferay.portal.SystemException, java.rmi.RemoteException {
118 return _igImageService.updateImage(imageId, folderId, name,
119 description, file, contentType, tagsEntries);
120 }
121
122 public IGImageService getWrappedIGImageService() {
123 return _igImageService;
124 }
125
126 private IGImageService _igImageService;
127 }