001
014
015 package com.liferay.portal.service;
016
017
026 public class LayoutPrototypeServiceWrapper implements LayoutPrototypeService,
027 ServiceWrapper<LayoutPrototypeService> {
028 public LayoutPrototypeServiceWrapper(
029 LayoutPrototypeService layoutPrototypeService) {
030 _layoutPrototypeService = layoutPrototypeService;
031 }
032
033 public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
034 java.util.Map<java.util.Locale, java.lang.String> nameMap,
035 java.lang.String description, boolean active)
036 throws com.liferay.portal.kernel.exception.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
039 active);
040 }
041
042 public void deleteLayoutPrototype(long layoutPrototypeId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId);
046 }
047
048 public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
049 long layoutPrototypeId)
050 throws com.liferay.portal.kernel.exception.PortalException,
051 com.liferay.portal.kernel.exception.SystemException {
052 return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
053 }
054
055 public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
056 long companyId, java.lang.Boolean active,
057 com.liferay.portal.kernel.util.OrderByComparator obc)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _layoutPrototypeService.search(companyId, active, obc);
061 }
062
063 public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
064 long layoutPrototypeId,
065 java.util.Map<java.util.Locale, java.lang.String> nameMap,
066 java.lang.String description, boolean active)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
070 nameMap, description, active);
071 }
072
073
076 public LayoutPrototypeService getWrappedLayoutPrototypeService() {
077 return _layoutPrototypeService;
078 }
079
080
083 public void setWrappedLayoutPrototypeService(
084 LayoutPrototypeService layoutPrototypeService) {
085 _layoutPrototypeService = layoutPrototypeService;
086 }
087
088 public LayoutPrototypeService getWrappedService() {
089 return _layoutPrototypeService;
090 }
091
092 public void setWrappedService(LayoutPrototypeService layoutPrototypeService) {
093 _layoutPrototypeService = layoutPrototypeService;
094 }
095
096 private LayoutPrototypeService _layoutPrototypeService;
097 }