001
014
015 package com.liferay.portlet.exportimport.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class StagingLocalServiceWrapper implements StagingLocalService,
030 ServiceWrapper<StagingLocalService> {
031 public StagingLocalServiceWrapper(StagingLocalService stagingLocalService) {
032 _stagingLocalService = stagingLocalService;
033 }
034
035 @Override
036 public void checkDefaultLayoutSetBranches(long userId,
037 com.liferay.portal.model.Group liveGroup, boolean branchingPublic,
038 boolean branchingPrivate, boolean remote,
039 com.liferay.portal.service.ServiceContext serviceContext)
040 throws com.liferay.portal.kernel.exception.PortalException {
041 _stagingLocalService.checkDefaultLayoutSetBranches(userId, liveGroup,
042 branchingPublic, branchingPrivate, remote, serviceContext);
043 }
044
045 @Override
046 public void cleanUpStagingRequest(long stagingRequestId)
047 throws com.liferay.portal.kernel.exception.PortalException {
048 _stagingLocalService.cleanUpStagingRequest(stagingRequestId);
049 }
050
051 @Override
052 public long createStagingRequest(long userId, long groupId,
053 java.lang.String checksum)
054 throws com.liferay.portal.kernel.exception.PortalException {
055 return _stagingLocalService.createStagingRequest(userId, groupId,
056 checksum);
057 }
058
059 @Override
060 public void disableStaging(com.liferay.portal.model.Group liveGroup,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException {
063 _stagingLocalService.disableStaging(liveGroup, serviceContext);
064 }
065
066 @Override
067 public void disableStaging(javax.portlet.PortletRequest portletRequest,
068 com.liferay.portal.model.Group liveGroup,
069 com.liferay.portal.service.ServiceContext serviceContext)
070 throws com.liferay.portal.kernel.exception.PortalException {
071 _stagingLocalService.disableStaging(portletRequest, liveGroup,
072 serviceContext);
073 }
074
075 @Override
076 public void enableLocalStaging(long userId,
077 com.liferay.portal.model.Group liveGroup, boolean branchingPublic,
078 boolean branchingPrivate,
079 com.liferay.portal.service.ServiceContext serviceContext)
080 throws com.liferay.portal.kernel.exception.PortalException {
081 _stagingLocalService.enableLocalStaging(userId, liveGroup,
082 branchingPublic, branchingPrivate, serviceContext);
083 }
084
085 @Override
086 public void enableRemoteStaging(long userId,
087 com.liferay.portal.model.Group stagingGroup, boolean branchingPublic,
088 boolean branchingPrivate, java.lang.String remoteAddress,
089 int remotePort, java.lang.String remotePathContext,
090 boolean secureConnection, long remoteGroupId,
091 com.liferay.portal.service.ServiceContext serviceContext)
092 throws com.liferay.portal.kernel.exception.PortalException {
093 _stagingLocalService.enableRemoteStaging(userId, stagingGroup,
094 branchingPublic, branchingPrivate, remoteAddress, remotePort,
095 remotePathContext, secureConnection, remoteGroupId, serviceContext);
096 }
097
098
103 @Override
104 public java.lang.String getOSGiServiceIdentifier() {
105 return _stagingLocalService.getOSGiServiceIdentifier();
106 }
107
108 @Override
109 public com.liferay.portlet.exportimport.lar.MissingReferences publishStagingRequest(
110 long userId, long stagingRequestId,
111 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
112 throws com.liferay.portal.kernel.exception.PortalException {
113 return _stagingLocalService.publishStagingRequest(userId,
114 stagingRequestId, exportImportConfiguration);
115 }
116
117
120 @Deprecated
121 @Override
122 public com.liferay.portlet.exportimport.lar.MissingReferences publishStagingRequest(
123 long userId, long stagingRequestId, boolean privateLayout,
124 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
125 throws com.liferay.portal.kernel.exception.PortalException {
126 return _stagingLocalService.publishStagingRequest(userId,
127 stagingRequestId, privateLayout, parameterMap);
128 }
129
130 @Override
131 public void updateStagingRequest(long userId, long stagingRequestId,
132 java.lang.String fileName, byte[] bytes)
133 throws com.liferay.portal.kernel.exception.PortalException {
134 _stagingLocalService.updateStagingRequest(userId, stagingRequestId,
135 fileName, bytes);
136 }
137
138
142 @Deprecated
143 @Override
144 public com.liferay.portlet.exportimport.lar.MissingReferences validateStagingRequest(
145 long userId, long stagingRequestId, boolean privateLayout,
146 java.util.Map<java.lang.String, java.lang.String[]> parameterMap) {
147 return _stagingLocalService.validateStagingRequest(userId,
148 stagingRequestId, privateLayout, parameterMap);
149 }
150
151 @Override
152 public StagingLocalService getWrappedService() {
153 return _stagingLocalService;
154 }
155
156 @Override
157 public void setWrappedService(StagingLocalService stagingLocalService) {
158 _stagingLocalService = stagingLocalService;
159 }
160
161 private StagingLocalService _stagingLocalService;
162 }