1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
47 public class SCProductEntryLocalServiceUtil {
48 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
49 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
50 throws com.liferay.portal.SystemException {
51 return _service.addSCProductEntry(scProductEntry);
52 }
53
54 public static void deleteSCProductEntry(long productEntryId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteSCProductEntry(productEntryId);
58 }
59
60 public static void deleteSCProductEntry(
61 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
62 throws com.liferay.portal.SystemException {
63 _service.deleteSCProductEntry(scProductEntry);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
79 long productEntryId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getSCProductEntry(productEntryId);
83 }
84
85 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getSCProductEntries(start, end);
88 }
89
90 public static int getSCProductEntriesCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getSCProductEntriesCount();
93 }
94
95 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
96 com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
97 throws com.liferay.portal.SystemException {
98 return _service.updateSCProductEntry(scProductEntry);
99 }
100
101 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
102 long userId, long plid, java.lang.String name, java.lang.String type,
103 java.lang.String tags, java.lang.String shortDescription,
104 java.lang.String longDescription, java.lang.String pageURL,
105 java.lang.String author, java.lang.String repoGroupId,
106 java.lang.String repoArtifactId, long[] licenseIds,
107 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
108 boolean addCommunityPermissions, boolean addGuestPermissions)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException {
111 return _service.addProductEntry(userId, plid, name, type, tags,
112 shortDescription, longDescription, pageURL, author, repoGroupId,
113 repoArtifactId, licenseIds, thumbnails, fullImages,
114 addCommunityPermissions, addGuestPermissions);
115 }
116
117 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
118 long userId, long plid, java.lang.String name, java.lang.String type,
119 java.lang.String tags, java.lang.String shortDescription,
120 java.lang.String longDescription, java.lang.String pageURL,
121 java.lang.String author, java.lang.String repoGroupId,
122 java.lang.String repoArtifactId, long[] licenseIds,
123 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
124 java.lang.String[] communityPermissions,
125 java.lang.String[] guestPermissions)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 return _service.addProductEntry(userId, plid, name, type, tags,
129 shortDescription, longDescription, pageURL, author, repoGroupId,
130 repoArtifactId, licenseIds, thumbnails, fullImages,
131 communityPermissions, guestPermissions);
132 }
133
134 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
135 long userId, long plid, java.lang.String name, java.lang.String type,
136 java.lang.String tags, java.lang.String shortDescription,
137 java.lang.String longDescription, java.lang.String pageURL,
138 java.lang.String author, java.lang.String repoGroupId,
139 java.lang.String repoArtifactId, long[] licenseIds,
140 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
141 java.lang.Boolean addCommunityPermissions,
142 java.lang.Boolean addGuestPermissions,
143 java.lang.String[] communityPermissions,
144 java.lang.String[] guestPermissions)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 return _service.addProductEntry(userId, plid, name, type, tags,
148 shortDescription, longDescription, pageURL, author, repoGroupId,
149 repoArtifactId, licenseIds, thumbnails, fullImages,
150 addCommunityPermissions, addGuestPermissions, communityPermissions,
151 guestPermissions);
152 }
153
154 public static void addProductEntryResources(long productEntryId,
155 boolean addCommunityPermissions, boolean addGuestPermissions)
156 throws com.liferay.portal.PortalException,
157 com.liferay.portal.SystemException {
158 _service.addProductEntryResources(productEntryId,
159 addCommunityPermissions, addGuestPermissions);
160 }
161
162 public static void addProductEntryResources(
163 com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
164 boolean addCommunityPermissions, boolean addGuestPermissions)
165 throws com.liferay.portal.PortalException,
166 com.liferay.portal.SystemException {
167 _service.addProductEntryResources(productEntry,
168 addCommunityPermissions, addGuestPermissions);
169 }
170
171 public static void addProductEntryResources(long productEntryId,
172 java.lang.String[] communityPermissions,
173 java.lang.String[] guestPermissions)
174 throws com.liferay.portal.PortalException,
175 com.liferay.portal.SystemException {
176 _service.addProductEntryResources(productEntryId, communityPermissions,
177 guestPermissions);
178 }
179
180 public static void addProductEntryResources(
181 com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
182 java.lang.String[] communityPermissions,
183 java.lang.String[] guestPermissions)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 _service.addProductEntryResources(productEntry, communityPermissions,
187 guestPermissions);
188 }
189
190 public static void deleteProductEntries(long groupId)
191 throws com.liferay.portal.PortalException,
192 com.liferay.portal.SystemException {
193 _service.deleteProductEntries(groupId);
194 }
195
196 public static void deleteProductEntry(long productEntryId)
197 throws com.liferay.portal.PortalException,
198 com.liferay.portal.SystemException {
199 _service.deleteProductEntry(productEntryId);
200 }
201
202 public static void deleteProductEntry(
203 com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
204 throws com.liferay.portal.PortalException,
205 com.liferay.portal.SystemException {
206 _service.deleteProductEntry(productEntry);
207 }
208
209 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
210 long productEntryId)
211 throws com.liferay.portal.PortalException,
212 com.liferay.portal.SystemException {
213 return _service.getProductEntry(productEntryId);
214 }
215
216 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
217 long groupId, int start, int end)
218 throws com.liferay.portal.SystemException {
219 return _service.getProductEntries(groupId, start, end);
220 }
221
222 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
223 long groupId, int start, int end,
224 com.liferay.portal.kernel.util.OrderByComparator obc)
225 throws com.liferay.portal.SystemException {
226 return _service.getProductEntries(groupId, start, end, obc);
227 }
228
229 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
230 long groupId, long userId, int start, int end)
231 throws com.liferay.portal.SystemException {
232 return _service.getProductEntries(groupId, userId, start, end);
233 }
234
235 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
236 long groupId, long userId, int start, int end,
237 com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException {
239 return _service.getProductEntries(groupId, userId, start, end, obc);
240 }
241
242 public static int getProductEntriesCount(long groupId)
243 throws com.liferay.portal.SystemException {
244 return _service.getProductEntriesCount(groupId);
245 }
246
247 public static int getProductEntriesCount(long groupId, long userId)
248 throws com.liferay.portal.SystemException {
249 return _service.getProductEntriesCount(groupId, userId);
250 }
251
252 public static java.lang.String getRepositoryXML(long groupId,
253 java.lang.String baseImageURL, java.util.Date oldestDate,
254 int maxNumOfVersions, java.util.Properties repoSettings)
255 throws com.liferay.portal.PortalException,
256 com.liferay.portal.SystemException {
257 return _service.getRepositoryXML(groupId, baseImageURL, oldestDate,
258 maxNumOfVersions, repoSettings);
259 }
260
261 public static java.lang.String getRepositoryXML(long groupId,
262 java.lang.String version, java.lang.String baseImageURL,
263 java.util.Date oldestDate, int maxNumOfVersions,
264 java.util.Properties repoSettings)
265 throws com.liferay.portal.PortalException,
266 com.liferay.portal.SystemException {
267 return _service.getRepositoryXML(groupId, version, baseImageURL,
268 oldestDate, maxNumOfVersions, repoSettings);
269 }
270
271 public static void reIndex(java.lang.String[] ids)
272 throws com.liferay.portal.SystemException {
273 _service.reIndex(ids);
274 }
275
276 public static com.liferay.portal.kernel.search.Hits search(long companyId,
277 long groupId, java.lang.String keywords, java.lang.String type,
278 int start, int end) throws com.liferay.portal.SystemException {
279 return _service.search(companyId, groupId, keywords, type, start, end);
280 }
281
282 public static com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
283 long productEntryId, java.lang.String name, java.lang.String type,
284 java.lang.String tags, java.lang.String shortDescription,
285 java.lang.String longDescription, java.lang.String pageURL,
286 java.lang.String author, java.lang.String repoGroupId,
287 java.lang.String repoArtifactId, long[] licenseIds,
288 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
289 throws com.liferay.portal.PortalException,
290 com.liferay.portal.SystemException {
291 return _service.updateProductEntry(productEntryId, name, type, tags,
292 shortDescription, longDescription, pageURL, author, repoGroupId,
293 repoArtifactId, licenseIds, thumbnails, fullImages);
294 }
295
296 public static SCProductEntryLocalService getService() {
297 return _service;
298 }
299
300 public void setService(SCProductEntryLocalService service) {
301 _service = service;
302 }
303
304 private static SCProductEntryLocalService _service;
305 }