001
014
015 package com.liferay.portal.kernel.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
026 @ProviderType
027 public class LayoutRevisionServiceWrapper implements LayoutRevisionService,
028 ServiceWrapper<LayoutRevisionService> {
029 public LayoutRevisionServiceWrapper(
030 LayoutRevisionService layoutRevisionService) {
031 _layoutRevisionService = layoutRevisionService;
032 }
033
034 @Override
035 public com.liferay.portal.kernel.model.LayoutRevision addLayoutRevision(
036 long userId, long layoutSetBranchId, long layoutBranchId,
037 long parentLayoutRevisionId, boolean head, long plid,
038 long portletPreferencesPlid, boolean privateLayout,
039 java.lang.String name, java.lang.String title,
040 java.lang.String description, java.lang.String keywords,
041 java.lang.String robots, java.lang.String typeSettings,
042 boolean iconImage, long iconImageId, java.lang.String themeId,
043 java.lang.String colorSchemeId, java.lang.String css,
044 ServiceContext serviceContext)
045 throws com.liferay.portal.kernel.exception.PortalException {
046 return _layoutRevisionService.addLayoutRevision(userId,
047 layoutSetBranchId, layoutBranchId, parentLayoutRevisionId, head,
048 plid, portletPreferencesPlid, privateLayout, name, title,
049 description, keywords, robots, typeSettings, iconImage,
050 iconImageId, themeId, colorSchemeId, css, serviceContext);
051 }
052
053
058 @Override
059 public java.lang.String getOSGiServiceIdentifier() {
060 return _layoutRevisionService.getOSGiServiceIdentifier();
061 }
062
063 @Override
064 public LayoutRevisionService getWrappedService() {
065 return _layoutRevisionService;
066 }
067
068 @Override
069 public void setWrappedService(LayoutRevisionService layoutRevisionService) {
070 _layoutRevisionService = layoutRevisionService;
071 }
072
073 private LayoutRevisionService _layoutRevisionService;
074 }