001
014
015 package com.liferay.portal.service;
016
017
026 public class RepositoryLocalServiceWrapper implements RepositoryLocalService,
027 ServiceWrapper<RepositoryLocalService> {
028 public RepositoryLocalServiceWrapper(
029 RepositoryLocalService repositoryLocalService) {
030 _repositoryLocalService = repositoryLocalService;
031 }
032
033
040 public com.liferay.portal.model.Repository addRepository(
041 com.liferay.portal.model.Repository repository)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _repositoryLocalService.addRepository(repository);
044 }
045
046
052 public com.liferay.portal.model.Repository createRepository(
053 long repositoryId) {
054 return _repositoryLocalService.createRepository(repositoryId);
055 }
056
057
065 public com.liferay.portal.model.Repository deleteRepository(
066 long repositoryId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _repositoryLocalService.deleteRepository(repositoryId);
070 }
071
072
079 public com.liferay.portal.model.Repository deleteRepository(
080 com.liferay.portal.model.Repository repository)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _repositoryLocalService.deleteRepository(repository);
083 }
084
085 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
086 return _repositoryLocalService.dynamicQuery();
087 }
088
089
096 @SuppressWarnings("rawtypes")
097 public java.util.List dynamicQuery(
098 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
099 throws com.liferay.portal.kernel.exception.SystemException {
100 return _repositoryLocalService.dynamicQuery(dynamicQuery);
101 }
102
103
116 @SuppressWarnings("rawtypes")
117 public java.util.List dynamicQuery(
118 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
119 int end) throws com.liferay.portal.kernel.exception.SystemException {
120 return _repositoryLocalService.dynamicQuery(dynamicQuery, start, end);
121 }
122
123
137 @SuppressWarnings("rawtypes")
138 public java.util.List dynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140 int end,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _repositoryLocalService.dynamicQuery(dynamicQuery, start, end,
144 orderByComparator);
145 }
146
147
154 public long dynamicQueryCount(
155 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156 throws com.liferay.portal.kernel.exception.SystemException {
157 return _repositoryLocalService.dynamicQueryCount(dynamicQuery);
158 }
159
160 public com.liferay.portal.model.Repository fetchRepository(
161 long repositoryId)
162 throws com.liferay.portal.kernel.exception.SystemException {
163 return _repositoryLocalService.fetchRepository(repositoryId);
164 }
165
166
174 public com.liferay.portal.model.Repository getRepository(long repositoryId)
175 throws com.liferay.portal.kernel.exception.PortalException,
176 com.liferay.portal.kernel.exception.SystemException {
177 return _repositoryLocalService.getRepository(repositoryId);
178 }
179
180 public com.liferay.portal.model.PersistedModel getPersistedModel(
181 java.io.Serializable primaryKeyObj)
182 throws com.liferay.portal.kernel.exception.PortalException,
183 com.liferay.portal.kernel.exception.SystemException {
184 return _repositoryLocalService.getPersistedModel(primaryKeyObj);
185 }
186
187
196 public com.liferay.portal.model.Repository getRepositoryByUuidAndGroupId(
197 java.lang.String uuid, long groupId)
198 throws com.liferay.portal.kernel.exception.PortalException,
199 com.liferay.portal.kernel.exception.SystemException {
200 return _repositoryLocalService.getRepositoryByUuidAndGroupId(uuid,
201 groupId);
202 }
203
204
216 public java.util.List<com.liferay.portal.model.Repository> getRepositories(
217 int start, int end)
218 throws com.liferay.portal.kernel.exception.SystemException {
219 return _repositoryLocalService.getRepositories(start, end);
220 }
221
222
228 public int getRepositoriesCount()
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _repositoryLocalService.getRepositoriesCount();
231 }
232
233
240 public com.liferay.portal.model.Repository updateRepository(
241 com.liferay.portal.model.Repository repository)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _repositoryLocalService.updateRepository(repository);
244 }
245
246
251 public java.lang.String getBeanIdentifier() {
252 return _repositoryLocalService.getBeanIdentifier();
253 }
254
255
260 public void setBeanIdentifier(java.lang.String beanIdentifier) {
261 _repositoryLocalService.setBeanIdentifier(beanIdentifier);
262 }
263
264 public long addRepository(long userId, long groupId, long classNameId,
265 long parentFolderId, java.lang.String name,
266 java.lang.String description, java.lang.String portletId,
267 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
268 boolean hidden, com.liferay.portal.service.ServiceContext serviceContext)
269 throws com.liferay.portal.kernel.exception.PortalException,
270 com.liferay.portal.kernel.exception.SystemException {
271 return _repositoryLocalService.addRepository(userId, groupId,
272 classNameId, parentFolderId, name, description, portletId,
273 typeSettingsProperties, hidden, serviceContext);
274 }
275
276
280 public long addRepository(long userId, long groupId, long classNameId,
281 long parentFolderId, java.lang.String name,
282 java.lang.String description, java.lang.String portletId,
283 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
284 com.liferay.portal.service.ServiceContext serviceContext)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException {
287 return _repositoryLocalService.addRepository(userId, groupId,
288 classNameId, parentFolderId, name, description, portletId,
289 typeSettingsProperties, serviceContext);
290 }
291
292 public void checkRepository(long repositoryId)
293 throws com.liferay.portal.kernel.exception.SystemException {
294 _repositoryLocalService.checkRepository(repositoryId);
295 }
296
297 public void deleteRepositories(long groupId)
298 throws com.liferay.portal.kernel.exception.PortalException,
299 com.liferay.portal.kernel.exception.SystemException {
300 _repositoryLocalService.deleteRepositories(groupId);
301 }
302
303 public com.liferay.portal.model.Repository fetchRepository(long groupId,
304 java.lang.String portletId)
305 throws com.liferay.portal.kernel.exception.SystemException {
306 return _repositoryLocalService.fetchRepository(groupId, portletId);
307 }
308
309 public com.liferay.portal.model.Repository fetchRepository(long groupId,
310 java.lang.String name, java.lang.String portletId)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return _repositoryLocalService.fetchRepository(groupId, name, portletId);
313 }
314
315 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
316 long repositoryId)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 return _repositoryLocalService.getLocalRepositoryImpl(repositoryId);
320 }
321
322 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
323 long folderId, long fileEntryId, long fileVersionId)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 return _repositoryLocalService.getLocalRepositoryImpl(folderId,
327 fileEntryId, fileVersionId);
328 }
329
330 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
331 long repositoryId)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException {
334 return _repositoryLocalService.getRepositoryImpl(repositoryId);
335 }
336
337 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
338 long folderId, long fileEntryId, long fileVersionId)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 return _repositoryLocalService.getRepositoryImpl(folderId, fileEntryId,
342 fileVersionId);
343 }
344
345 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
346 long repositoryId)
347 throws com.liferay.portal.kernel.exception.PortalException,
348 com.liferay.portal.kernel.exception.SystemException {
349 return _repositoryLocalService.getTypeSettingsProperties(repositoryId);
350 }
351
352 public void updateRepository(long repositoryId, java.lang.String name,
353 java.lang.String description)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 _repositoryLocalService.updateRepository(repositoryId, name, description);
357 }
358
359
362 public RepositoryLocalService getWrappedRepositoryLocalService() {
363 return _repositoryLocalService;
364 }
365
366
369 public void setWrappedRepositoryLocalService(
370 RepositoryLocalService repositoryLocalService) {
371 _repositoryLocalService = repositoryLocalService;
372 }
373
374 public RepositoryLocalService getWrappedService() {
375 return _repositoryLocalService;
376 }
377
378 public void setWrappedService(RepositoryLocalService repositoryLocalService) {
379 _repositoryLocalService = repositoryLocalService;
380 }
381
382 private RepositoryLocalService _repositoryLocalService;
383 }