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
037 public java.lang.String getBeanIdentifier() {
038 return _repositoryService.getBeanIdentifier();
039 }
040
041
046 public void setBeanIdentifier(java.lang.String beanIdentifier) {
047 _repositoryService.setBeanIdentifier(beanIdentifier);
048 }
049
050 public long addRepository(long groupId, long classNameId,
051 long parentFolderId, java.lang.String name,
052 java.lang.String description, java.lang.String portletId,
053 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
054 com.liferay.portal.service.ServiceContext serviceContext)
055 throws com.liferay.portal.kernel.exception.PortalException,
056 com.liferay.portal.kernel.exception.SystemException {
057 return _repositoryService.addRepository(groupId, classNameId,
058 parentFolderId, name, description, portletId,
059 typeSettingsProperties, serviceContext);
060 }
061
062 public void checkRepository(long repositoryId)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 _repositoryService.checkRepository(repositoryId);
066 }
067
068 public void deleteRepository(long repositoryId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 _repositoryService.deleteRepository(repositoryId);
072 }
073
074 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
075 long repositoryId)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException {
078 return _repositoryService.getLocalRepositoryImpl(repositoryId);
079 }
080
081 public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
082 long folderId, long fileEntryId, long fileVersionId)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException {
085 return _repositoryService.getLocalRepositoryImpl(folderId, fileEntryId,
086 fileVersionId);
087 }
088
089 public com.liferay.portal.model.Repository getRepository(long repositoryId)
090 throws com.liferay.portal.kernel.exception.PortalException,
091 com.liferay.portal.kernel.exception.SystemException {
092 return _repositoryService.getRepository(repositoryId);
093 }
094
095 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
096 long repositoryId)
097 throws com.liferay.portal.kernel.exception.PortalException,
098 com.liferay.portal.kernel.exception.SystemException {
099 return _repositoryService.getRepositoryImpl(repositoryId);
100 }
101
102 public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
103 long folderId, long fileEntryId, long fileVersionId)
104 throws com.liferay.portal.kernel.exception.PortalException,
105 com.liferay.portal.kernel.exception.SystemException {
106 return _repositoryService.getRepositoryImpl(folderId, fileEntryId,
107 fileVersionId);
108 }
109
110 public java.lang.String[] getSupportedConfigurations(long classNameId)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _repositoryService.getSupportedConfigurations(classNameId);
113 }
114
115 public java.lang.String[] getSupportedParameters(long classNameId,
116 java.lang.String configuration)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 return _repositoryService.getSupportedParameters(classNameId,
119 configuration);
120 }
121
122 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
123 long repositoryId)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException {
126 return _repositoryService.getTypeSettingsProperties(repositoryId);
127 }
128
129 public void updateRepository(long repositoryId, java.lang.String name,
130 java.lang.String description)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 _repositoryService.updateRepository(repositoryId, name, description);
134 }
135
136
139 public RepositoryService getWrappedRepositoryService() {
140 return _repositoryService;
141 }
142
143
146 public void setWrappedRepositoryService(RepositoryService repositoryService) {
147 _repositoryService = repositoryService;
148 }
149
150 public RepositoryService getWrappedService() {
151 return _repositoryService;
152 }
153
154 public void setWrappedService(RepositoryService repositoryService) {
155 _repositoryService = repositoryService;
156 }
157
158 private RepositoryService _repositoryService;
159 }