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 com.liferay.portal.model.Repository addRepository(long userId,
265 long groupId, long classNameId, long parentFolderId,
266 java.lang.String name, java.lang.String description,
267 java.lang.String portletId,
268 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
269 boolean hidden, com.liferay.portal.service.ServiceContext serviceContext)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException {
272 return _repositoryLocalService.addRepository(userId, groupId,
273 classNameId, parentFolderId, name, description, portletId,
274 typeSettingsProperties, hidden, serviceContext);
275 }
276
277
282 public com.liferay.portal.model.Repository addRepository(long userId,
283 long groupId, long classNameId, long parentFolderId,
284 java.lang.String name, java.lang.String description,
285 java.lang.String portletId,
286 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
287 com.liferay.portal.service.ServiceContext serviceContext)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 return _repositoryLocalService.addRepository(userId, groupId,
291 classNameId, parentFolderId, name, description, portletId,
292 typeSettingsProperties, serviceContext);
293 }
294
295 public void checkRepository(long repositoryId)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 _repositoryLocalService.checkRepository(repositoryId);
298 }
299
300 public void deleteRepositories(long groupId)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 _repositoryLocalService.deleteRepositories(groupId);
304 }
305
306 public com.liferay.portal.model.Repository fetchRepository(long groupId,
307 java.lang.String portletId)
308 throws com.liferay.portal.kernel.exception.SystemException {
309 return _repositoryLocalService.fetchRepository(groupId, portletId);
310 }
311
312 public com.liferay.portal.model.Repository fetchRepository(long groupId,
313 java.lang.String name, java.lang.String portletId)
314 throws com.liferay.portal.kernel.exception.SystemException {
315 return _repositoryLocalService.fetchRepository(groupId, name, portletId);
316 }
317
318 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
319 long repositoryId)
320 throws com.liferay.portal.kernel.exception.PortalException,
321 com.liferay.portal.kernel.exception.SystemException {
322 return _repositoryLocalService.getLocalRepositoryImpl(repositoryId);
323 }
324
325 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
326 long folderId, long fileEntryId, long fileVersionId)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 return _repositoryLocalService.getLocalRepositoryImpl(folderId,
330 fileEntryId, fileVersionId);
331 }
332
333 public com.liferay.portal.model.Repository getRepository(long groupId,
334 java.lang.String portletId)
335 throws com.liferay.portal.kernel.exception.PortalException,
336 com.liferay.portal.kernel.exception.SystemException {
337 return _repositoryLocalService.getRepository(groupId, portletId);
338 }
339
340 public com.liferay.portal.model.Repository getRepository(long groupId,
341 java.lang.String name, java.lang.String portletId)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 return _repositoryLocalService.getRepository(groupId, name, portletId);
345 }
346
347 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
348 long repositoryId)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return _repositoryLocalService.getRepositoryImpl(repositoryId);
352 }
353
354 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
355 long folderId, long fileEntryId, long fileVersionId)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 return _repositoryLocalService.getRepositoryImpl(folderId, fileEntryId,
359 fileVersionId);
360 }
361
362 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
363 long repositoryId)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 return _repositoryLocalService.getTypeSettingsProperties(repositoryId);
367 }
368
369 public void updateRepository(long repositoryId, java.lang.String name,
370 java.lang.String description)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 _repositoryLocalService.updateRepository(repositoryId, name, description);
374 }
375
376
379 public RepositoryLocalService getWrappedRepositoryLocalService() {
380 return _repositoryLocalService;
381 }
382
383
386 public void setWrappedRepositoryLocalService(
387 RepositoryLocalService repositoryLocalService) {
388 _repositoryLocalService = repositoryLocalService;
389 }
390
391 public RepositoryLocalService getWrappedService() {
392 return _repositoryLocalService;
393 }
394
395 public void setWrappedService(RepositoryLocalService repositoryLocalService) {
396 _repositoryLocalService = repositoryLocalService;
397 }
398
399 private RepositoryLocalService _repositoryLocalService;
400 }