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="LayoutPrototypeLocalServiceUtil.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 LayoutPrototypeLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       LayoutPrototypeLocalService
32   * @generated
33   */
34  public class LayoutPrototypeLocalServiceWrapper
35      implements LayoutPrototypeLocalService {
36      public LayoutPrototypeLocalServiceWrapper(
37          LayoutPrototypeLocalService layoutPrototypeLocalService) {
38          _layoutPrototypeLocalService = layoutPrototypeLocalService;
39      }
40  
41      public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
42          com.liferay.portal.model.LayoutPrototype layoutPrototype)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _layoutPrototypeLocalService.addLayoutPrototype(layoutPrototype);
45      }
46  
47      public com.liferay.portal.model.LayoutPrototype createLayoutPrototype(
48          long layoutPrototypeId) {
49          return _layoutPrototypeLocalService.createLayoutPrototype(layoutPrototypeId);
50      }
51  
52      public void deleteLayoutPrototype(long layoutPrototypeId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _layoutPrototypeLocalService.deleteLayoutPrototype(layoutPrototypeId);
56      }
57  
58      public void deleteLayoutPrototype(
59          com.liferay.portal.model.LayoutPrototype layoutPrototype)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _layoutPrototypeLocalService.deleteLayoutPrototype(layoutPrototype);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _layoutPrototypeLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.kernel.exception.SystemException {
73          return _layoutPrototypeLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
78          long layoutPrototypeId)
79          throws com.liferay.portal.kernel.exception.PortalException,
80              com.liferay.portal.kernel.exception.SystemException {
81          return _layoutPrototypeLocalService.getLayoutPrototype(layoutPrototypeId);
82      }
83  
84      public java.util.List<com.liferay.portal.model.LayoutPrototype> getLayoutPrototypes(
85          int start, int end)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _layoutPrototypeLocalService.getLayoutPrototypes(start, end);
88      }
89  
90      public int getLayoutPrototypesCount()
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _layoutPrototypeLocalService.getLayoutPrototypesCount();
93      }
94  
95      public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
96          com.liferay.portal.model.LayoutPrototype layoutPrototype)
97          throws com.liferay.portal.kernel.exception.SystemException {
98          return _layoutPrototypeLocalService.updateLayoutPrototype(layoutPrototype);
99      }
100 
101     public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
102         com.liferay.portal.model.LayoutPrototype layoutPrototype, boolean merge)
103         throws com.liferay.portal.kernel.exception.SystemException {
104         return _layoutPrototypeLocalService.updateLayoutPrototype(layoutPrototype,
105             merge);
106     }
107 
108     public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
109         long userId, long companyId,
110         java.util.Map<java.util.Locale, String> nameMap,
111         java.lang.String description, boolean active)
112         throws com.liferay.portal.kernel.exception.PortalException,
113             com.liferay.portal.kernel.exception.SystemException {
114         return _layoutPrototypeLocalService.addLayoutPrototype(userId,
115             companyId, nameMap, description, active);
116     }
117 
118     public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
119         long companyId, java.lang.Boolean active, int start, int end,
120         com.liferay.portal.kernel.util.OrderByComparator obc)
121         throws com.liferay.portal.kernel.exception.SystemException {
122         return _layoutPrototypeLocalService.search(companyId, active, start,
123             end, obc);
124     }
125 
126     public int searchCount(long companyId, java.lang.Boolean active)
127         throws com.liferay.portal.kernel.exception.SystemException {
128         return _layoutPrototypeLocalService.searchCount(companyId, active);
129     }
130 
131     public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
132         long layoutPrototypeId,
133         java.util.Map<java.util.Locale, String> nameMap,
134         java.lang.String description, boolean active)
135         throws com.liferay.portal.kernel.exception.PortalException,
136             com.liferay.portal.kernel.exception.SystemException {
137         return _layoutPrototypeLocalService.updateLayoutPrototype(layoutPrototypeId,
138             nameMap, description, active);
139     }
140 
141     public LayoutPrototypeLocalService getWrappedLayoutPrototypeLocalService() {
142         return _layoutPrototypeLocalService;
143     }
144 
145     private LayoutPrototypeLocalService _layoutPrototypeLocalService;
146 }