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