1
22
23 package com.liferay.portlet.imagegallery.service;
24
25
51 public interface IGImageLocalService {
52 public com.liferay.portlet.imagegallery.model.IGImage addIGImage(
53 com.liferay.portlet.imagegallery.model.IGImage model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.imagegallery.model.IGImage updateIGImage(
65 com.liferay.portlet.imagegallery.model.IGImage model)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.imagegallery.model.IGImage addImage(
69 long userId, long folderId, java.lang.String description,
70 java.io.File file, java.lang.String contentType,
71 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
72 boolean addGuestPermissions)
73 throws com.liferay.portal.SystemException,
74 com.liferay.portal.PortalException;
75
76 public com.liferay.portlet.imagegallery.model.IGImage addImage(
77 long userId, long folderId, java.lang.String description,
78 java.io.File file, java.lang.String contentType,
79 java.lang.String[] tagsEntries,
80 java.lang.String[] communityPermissions,
81 java.lang.String[] guestPermissions)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
84
85 public com.liferay.portlet.imagegallery.model.IGImage addImage(
86 long userId, long folderId, java.lang.String description,
87 java.io.File file, java.lang.String contentType,
88 java.lang.String[] tagsEntries,
89 java.lang.Boolean addCommunityPermissions,
90 java.lang.Boolean addGuestPermissions,
91 java.lang.String[] communityPermissions,
92 java.lang.String[] guestPermissions)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portal.PortalException;
95
96 public void addImageResources(long folderId, long imageId,
97 boolean addCommunityPermissions, boolean addGuestPermissions)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portal.PortalException;
100
101 public void addImageResources(
102 com.liferay.portlet.imagegallery.model.IGFolder folder,
103 com.liferay.portlet.imagegallery.model.IGImage image,
104 boolean addCommunityPermissions, boolean addGuestPermissions)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portal.PortalException;
107
108 public void addImageResources(long folderId, long imageId,
109 java.lang.String[] communityPermissions,
110 java.lang.String[] guestPermissions)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portal.PortalException;
113
114 public void addImageResources(
115 com.liferay.portlet.imagegallery.model.IGFolder folder,
116 com.liferay.portlet.imagegallery.model.IGImage image,
117 java.lang.String[] communityPermissions,
118 java.lang.String[] guestPermissions)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portal.PortalException;
121
122 public void deleteImage(long imageId)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portal.PortalException;
125
126 public void deleteImage(
127 com.liferay.portlet.imagegallery.model.IGImage image)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portal.PortalException;
130
131 public void deleteImages(long folderId)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portal.PortalException;
134
135 public int getFoldersImagesCount(java.util.List folderIds)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List getGroupImages(long groupId, int begin, int end)
139 throws com.liferay.portal.SystemException;
140
141 public java.util.List getGroupImages(long groupId, long userId, int begin,
142 int end) throws com.liferay.portal.SystemException;
143
144 public int getGroupImagesCount(long groupId)
145 throws com.liferay.portal.SystemException;
146
147 public int getGroupImagesCount(long groupId, long userId)
148 throws com.liferay.portal.SystemException;
149
150 public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portal.PortalException;
153
154 public java.util.List getImages(long folderId)
155 throws com.liferay.portal.SystemException;
156
157 public java.util.List getImages(long folderId, int begin, int end)
158 throws com.liferay.portal.SystemException;
159
160 public java.util.List getImages(long folderId, int begin, int end,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException;
163
164 public int getImagesCount(long folderId)
165 throws com.liferay.portal.SystemException;
166
167 public java.util.List getNoAssetImages()
168 throws com.liferay.portal.SystemException;
169
170 public com.liferay.portlet.imagegallery.model.IGImage updateImage(
171 long userId, long imageId, long folderId, java.lang.String description,
172 java.io.File file, java.lang.String contentType,
173 java.lang.String[] tagsEntries)
174 throws com.liferay.portal.SystemException,
175 com.liferay.portal.PortalException;
176
177 public void updateTagsAsset(long userId,
178 com.liferay.portlet.imagegallery.model.IGImage image,
179 java.lang.String[] tagsEntries)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portal.PortalException;
182 }