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