001
014
015 package com.liferay.portal.service;
016
017
026 public class LayoutBranchServiceWrapper implements LayoutBranchService {
027 public LayoutBranchServiceWrapper(LayoutBranchService layoutBranchService) {
028 _layoutBranchService = layoutBranchService;
029 }
030
031 public com.liferay.portal.model.LayoutBranch addLayoutBranch(
032 long layoutRevisionId, java.lang.String name,
033 java.lang.String description, boolean master,
034 com.liferay.portal.service.ServiceContext serviceContext)
035 throws com.liferay.portal.kernel.exception.PortalException,
036 com.liferay.portal.kernel.exception.SystemException {
037 return _layoutBranchService.addLayoutBranch(layoutRevisionId, name,
038 description, master, serviceContext);
039 }
040
041 public void deleteLayoutBranch(long layoutBranchId)
042 throws com.liferay.portal.kernel.exception.PortalException,
043 com.liferay.portal.kernel.exception.SystemException {
044 _layoutBranchService.deleteLayoutBranch(layoutBranchId);
045 }
046
047 public com.liferay.portal.model.LayoutBranch updateLayoutBranch(
048 long layoutBranchId, java.lang.String name,
049 java.lang.String description,
050 com.liferay.portal.service.ServiceContext serviceContext)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 return _layoutBranchService.updateLayoutBranch(layoutBranchId, name,
054 description, serviceContext);
055 }
056
057 public LayoutBranchService getWrappedLayoutBranchService() {
058 return _layoutBranchService;
059 }
060
061 public void setWrappedLayoutBranchService(
062 LayoutBranchService layoutBranchService) {
063 _layoutBranchService = layoutBranchService;
064 }
065
066 private LayoutBranchService _layoutBranchService;
067 }