001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
026 @ProviderType
027 public class StagingLocalServiceWrapper implements StagingLocalService,
028 ServiceWrapper<StagingLocalService> {
029 public StagingLocalServiceWrapper(StagingLocalService stagingLocalService) {
030 _stagingLocalService = stagingLocalService;
031 }
032
033
038 @Override
039 public java.lang.String getBeanIdentifier() {
040 return _stagingLocalService.getBeanIdentifier();
041 }
042
043
048 @Override
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _stagingLocalService.setBeanIdentifier(beanIdentifier);
051 }
052
053 @Override
054 public void checkDefaultLayoutSetBranches(long userId,
055 com.liferay.portal.model.Group liveGroup, boolean branchingPublic,
056 boolean branchingPrivate, boolean remote,
057 com.liferay.portal.service.ServiceContext serviceContext)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 _stagingLocalService.checkDefaultLayoutSetBranches(userId, liveGroup,
061 branchingPublic, branchingPrivate, remote, serviceContext);
062 }
063
064 @Override
065 public void cleanUpStagingRequest(long stagingRequestId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 _stagingLocalService.cleanUpStagingRequest(stagingRequestId);
069 }
070
071 @Override
072 public long createStagingRequest(long userId, long groupId,
073 java.lang.String checksum)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _stagingLocalService.createStagingRequest(userId, groupId,
077 checksum);
078 }
079
080 @Override
081 public void disableStaging(com.liferay.portal.model.Group liveGroup,
082 com.liferay.portal.service.ServiceContext serviceContext)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException {
085 _stagingLocalService.disableStaging(liveGroup, serviceContext);
086 }
087
088 @Override
089 public void disableStaging(javax.portlet.PortletRequest portletRequest,
090 com.liferay.portal.model.Group liveGroup,
091 com.liferay.portal.service.ServiceContext serviceContext)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 _stagingLocalService.disableStaging(portletRequest, liveGroup,
095 serviceContext);
096 }
097
098 @Override
099 public void enableLocalStaging(long userId,
100 com.liferay.portal.model.Group liveGroup, boolean branchingPublic,
101 boolean branchingPrivate,
102 com.liferay.portal.service.ServiceContext serviceContext)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException {
105 _stagingLocalService.enableLocalStaging(userId, liveGroup,
106 branchingPublic, branchingPrivate, serviceContext);
107 }
108
109 @Override
110 public void enableRemoteStaging(long userId,
111 com.liferay.portal.model.Group liveGroup, boolean branchingPublic,
112 boolean branchingPrivate, java.lang.String remoteAddress,
113 int remotePort, java.lang.String remotePathContext,
114 boolean secureConnection, long remoteGroupId,
115 com.liferay.portal.service.ServiceContext serviceContext)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException {
118 _stagingLocalService.enableRemoteStaging(userId, liveGroup,
119 branchingPublic, branchingPrivate, remoteAddress, remotePort,
120 remotePathContext, secureConnection, remoteGroupId, serviceContext);
121 }
122
123 @Override
124 public void publishStagingRequest(long userId, long stagingRequestId,
125 boolean privateLayout,
126 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
127 throws com.liferay.portal.kernel.exception.PortalException,
128 com.liferay.portal.kernel.exception.SystemException {
129 _stagingLocalService.publishStagingRequest(userId, stagingRequestId,
130 privateLayout, parameterMap);
131 }
132
133 @Override
134 public void updateStagingRequest(long userId, long stagingRequestId,
135 java.lang.String fileName, byte[] bytes)
136 throws com.liferay.portal.kernel.exception.PortalException,
137 com.liferay.portal.kernel.exception.SystemException {
138 _stagingLocalService.updateStagingRequest(userId, stagingRequestId,
139 fileName, bytes);
140 }
141
142 @Override
143 public com.liferay.portal.kernel.lar.MissingReferences validateStagingRequest(
144 long userId, long stagingRequestId, boolean privateLayout,
145 java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 return _stagingLocalService.validateStagingRequest(userId,
149 stagingRequestId, privateLayout, parameterMap);
150 }
151
152
155 public StagingLocalService getWrappedStagingLocalService() {
156 return _stagingLocalService;
157 }
158
159
162 public void setWrappedStagingLocalService(
163 StagingLocalService stagingLocalService) {
164 _stagingLocalService = stagingLocalService;
165 }
166
167 @Override
168 public StagingLocalService getWrappedService() {
169 return _stagingLocalService;
170 }
171
172 @Override
173 public void setWrappedService(StagingLocalService stagingLocalService) {
174 _stagingLocalService = stagingLocalService;
175 }
176
177 private StagingLocalService _stagingLocalService;
178 }