001
014
015 package com.liferay.portal.service;
016
017
026 public class RepositoryServiceWrapper implements RepositoryService {
027 public RepositoryServiceWrapper(RepositoryService repositoryService) {
028 _repositoryService = repositoryService;
029 }
030
031 public long addRepository(long groupId, long classNameId,
032 long parentFolderId, java.lang.String name,
033 java.lang.String description, java.lang.String portletId,
034 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
035 com.liferay.portal.service.ServiceContext serviceContext)
036 throws com.liferay.portal.kernel.exception.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 return _repositoryService.addRepository(groupId, classNameId,
039 parentFolderId, name, description, portletId,
040 typeSettingsProperties, serviceContext);
041 }
042
043 public void checkRepository(long repositoryId)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 _repositoryService.checkRepository(repositoryId);
046 }
047
048 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
049 long repositoryId)
050 throws com.liferay.portal.kernel.exception.PortalException,
051 com.liferay.portal.kernel.exception.SystemException {
052 return _repositoryService.getLocalRepositoryImpl(repositoryId);
053 }
054
055 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
056 long folderId, long fileEntryId, long fileVersionId)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 return _repositoryService.getLocalRepositoryImpl(folderId, fileEntryId,
060 fileVersionId);
061 }
062
063 public com.liferay.portal.model.Repository getRepository(long repositoryId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 return _repositoryService.getRepository(repositoryId);
067 }
068
069 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
070 long repositoryId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 return _repositoryService.getRepositoryImpl(repositoryId);
074 }
075
076 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
077 long folderId, long fileEntryId, long fileVersionId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return _repositoryService.getRepositoryImpl(folderId, fileEntryId,
081 fileVersionId);
082 }
083
084 public java.lang.String[] getSupportedConfigurations(long classNameId)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return _repositoryService.getSupportedConfigurations(classNameId);
087 }
088
089 public java.lang.String[] getSupportedParameters(long classNameId,
090 java.lang.String configuration)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _repositoryService.getSupportedParameters(classNameId,
093 configuration);
094 }
095
096 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
097 long repositoryId)
098 throws com.liferay.portal.kernel.exception.PortalException,
099 com.liferay.portal.kernel.exception.SystemException {
100 return _repositoryService.getTypeSettingsProperties(repositoryId);
101 }
102
103 public void unmountRepositories(long groupId)
104 throws com.liferay.portal.kernel.exception.PortalException,
105 com.liferay.portal.kernel.exception.SystemException {
106 _repositoryService.unmountRepositories(groupId);
107 }
108
109 public void unmountRepository(long repositoryId)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 _repositoryService.unmountRepository(repositoryId);
113 }
114
115 public void updateRepository(long repositoryId, java.lang.String name,
116 java.lang.String description)
117 throws com.liferay.portal.kernel.exception.PortalException,
118 com.liferay.portal.kernel.exception.SystemException {
119 _repositoryService.updateRepository(repositoryId, name, description);
120 }
121
122 public RepositoryService getWrappedRepositoryService() {
123 return _repositoryService;
124 }
125
126 public void setWrappedRepositoryService(RepositoryService repositoryService) {
127 _repositoryService = repositoryService;
128 }
129
130 private RepositoryService _repositoryService;
131 }