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="WebsiteLocalServiceUtil.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 WebsiteLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       WebsiteLocalService
32   * @generated
33   */
34  public class WebsiteLocalServiceWrapper implements WebsiteLocalService {
35      public WebsiteLocalServiceWrapper(WebsiteLocalService websiteLocalService) {
36          _websiteLocalService = websiteLocalService;
37      }
38  
39      public com.liferay.portal.model.Website addWebsite(
40          com.liferay.portal.model.Website website)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _websiteLocalService.addWebsite(website);
43      }
44  
45      public com.liferay.portal.model.Website createWebsite(long websiteId) {
46          return _websiteLocalService.createWebsite(websiteId);
47      }
48  
49      public void deleteWebsite(long websiteId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _websiteLocalService.deleteWebsite(websiteId);
53      }
54  
55      public void deleteWebsite(com.liferay.portal.model.Website website)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _websiteLocalService.deleteWebsite(website);
58      }
59  
60      @SuppressWarnings("unchecked")
61      public java.util.List dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.kernel.exception.SystemException {
64          return _websiteLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      @SuppressWarnings("unchecked")
68      public java.util.List dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.kernel.exception.SystemException {
71          return _websiteLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      @SuppressWarnings("unchecked")
75      public java.util.List dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException {
80          return _websiteLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public long dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _websiteLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portal.model.Website getWebsite(long websiteId)
91          throws com.liferay.portal.kernel.exception.PortalException,
92              com.liferay.portal.kernel.exception.SystemException {
93          return _websiteLocalService.getWebsite(websiteId);
94      }
95  
96      public java.util.List<com.liferay.portal.model.Website> getWebsites(
97          int start, int end)
98          throws com.liferay.portal.kernel.exception.SystemException {
99          return _websiteLocalService.getWebsites(start, end);
100     }
101 
102     public int getWebsitesCount()
103         throws com.liferay.portal.kernel.exception.SystemException {
104         return _websiteLocalService.getWebsitesCount();
105     }
106 
107     public com.liferay.portal.model.Website updateWebsite(
108         com.liferay.portal.model.Website website)
109         throws com.liferay.portal.kernel.exception.SystemException {
110         return _websiteLocalService.updateWebsite(website);
111     }
112 
113     public com.liferay.portal.model.Website updateWebsite(
114         com.liferay.portal.model.Website website, boolean merge)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return _websiteLocalService.updateWebsite(website, merge);
117     }
118 
119     public com.liferay.portal.model.Website addWebsite(long userId,
120         java.lang.String className, long classPK, java.lang.String url,
121         int typeId, boolean primary)
122         throws com.liferay.portal.kernel.exception.PortalException,
123             com.liferay.portal.kernel.exception.SystemException {
124         return _websiteLocalService.addWebsite(userId, className, classPK, url,
125             typeId, primary);
126     }
127 
128     public void deleteWebsites(long companyId, java.lang.String className,
129         long classPK)
130         throws com.liferay.portal.kernel.exception.SystemException {
131         _websiteLocalService.deleteWebsites(companyId, className, classPK);
132     }
133 
134     public java.util.List<com.liferay.portal.model.Website> getWebsites()
135         throws com.liferay.portal.kernel.exception.SystemException {
136         return _websiteLocalService.getWebsites();
137     }
138 
139     public java.util.List<com.liferay.portal.model.Website> getWebsites(
140         long companyId, java.lang.String className, long classPK)
141         throws com.liferay.portal.kernel.exception.SystemException {
142         return _websiteLocalService.getWebsites(companyId, className, classPK);
143     }
144 
145     public com.liferay.portal.model.Website updateWebsite(long websiteId,
146         java.lang.String url, int typeId, boolean primary)
147         throws com.liferay.portal.kernel.exception.PortalException,
148             com.liferay.portal.kernel.exception.SystemException {
149         return _websiteLocalService.updateWebsite(websiteId, url, typeId,
150             primary);
151     }
152 
153     public WebsiteLocalService getWrappedWebsiteLocalService() {
154         return _websiteLocalService;
155     }
156 
157     private WebsiteLocalService _websiteLocalService;
158 }