1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="LayoutPrototypeServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link LayoutPrototypeService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       LayoutPrototypeService
32   * @generated
33   */
34  public class LayoutPrototypeServiceWrapper implements LayoutPrototypeService {
35      public LayoutPrototypeServiceWrapper(
36          LayoutPrototypeService layoutPrototypeService) {
37          _layoutPrototypeService = layoutPrototypeService;
38      }
39  
40      public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
41          java.util.Map<java.util.Locale, String> nameMap,
42          java.lang.String description, boolean active)
43          throws com.liferay.portal.kernel.exception.PortalException,
44              com.liferay.portal.kernel.exception.SystemException {
45          return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
46              active);
47      }
48  
49      public void deleteLayoutPrototype(long layoutPrototypeId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId);
53      }
54  
55      public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
56          long layoutPrototypeId)
57          throws com.liferay.portal.kernel.exception.PortalException,
58              com.liferay.portal.kernel.exception.SystemException {
59          return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
60      }
61  
62      public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
63          long companyId, java.lang.Boolean active,
64          com.liferay.portal.kernel.util.OrderByComparator obc)
65          throws com.liferay.portal.kernel.exception.PortalException,
66              com.liferay.portal.kernel.exception.SystemException {
67          return _layoutPrototypeService.search(companyId, active, obc);
68      }
69  
70      public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
71          long layoutPrototypeId,
72          java.util.Map<java.util.Locale, String> nameMap,
73          java.lang.String description, boolean active)
74          throws com.liferay.portal.kernel.exception.PortalException,
75              com.liferay.portal.kernel.exception.SystemException {
76          return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
77              nameMap, description, active);
78      }
79  
80      public LayoutPrototypeService getWrappedLayoutPrototypeService() {
81          return _layoutPrototypeService;
82      }
83  
84      private LayoutPrototypeService _layoutPrototypeService;
85  }