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.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.PortalException,
51              com.liferay.portal.SystemException {
52          _websiteLocalService.deleteWebsite(websiteId);
53      }
54  
55      public void deleteWebsite(com.liferay.portal.model.Website website)
56          throws com.liferay.portal.SystemException {
57          _websiteLocalService.deleteWebsite(website);
58      }
59  
60      public java.util.List<Object> dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.SystemException {
63          return _websiteLocalService.dynamicQuery(dynamicQuery);
64      }
65  
66      public java.util.List<Object> dynamicQuery(
67          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68          int end) throws com.liferay.portal.SystemException {
69          return _websiteLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public com.liferay.portal.model.Website getWebsite(long websiteId)
73          throws com.liferay.portal.PortalException,
74              com.liferay.portal.SystemException {
75          return _websiteLocalService.getWebsite(websiteId);
76      }
77  
78      public java.util.List<com.liferay.portal.model.Website> getWebsites(
79          int start, int end) throws com.liferay.portal.SystemException {
80          return _websiteLocalService.getWebsites(start, end);
81      }
82  
83      public int getWebsitesCount() throws com.liferay.portal.SystemException {
84          return _websiteLocalService.getWebsitesCount();
85      }
86  
87      public com.liferay.portal.model.Website updateWebsite(
88          com.liferay.portal.model.Website website)
89          throws com.liferay.portal.SystemException {
90          return _websiteLocalService.updateWebsite(website);
91      }
92  
93      public com.liferay.portal.model.Website updateWebsite(
94          com.liferay.portal.model.Website website, boolean merge)
95          throws com.liferay.portal.SystemException {
96          return _websiteLocalService.updateWebsite(website, merge);
97      }
98  
99      public com.liferay.portal.model.Website addWebsite(long userId,
100         java.lang.String className, long classPK, java.lang.String url,
101         int typeId, boolean primary)
102         throws com.liferay.portal.PortalException,
103             com.liferay.portal.SystemException {
104         return _websiteLocalService.addWebsite(userId, className, classPK, url,
105             typeId, primary);
106     }
107 
108     public void deleteWebsites(long companyId, java.lang.String className,
109         long classPK) throws com.liferay.portal.SystemException {
110         _websiteLocalService.deleteWebsites(companyId, className, classPK);
111     }
112 
113     public java.util.List<com.liferay.portal.model.Website> getWebsites()
114         throws com.liferay.portal.SystemException {
115         return _websiteLocalService.getWebsites();
116     }
117 
118     public java.util.List<com.liferay.portal.model.Website> getWebsites(
119         long companyId, java.lang.String className, long classPK)
120         throws com.liferay.portal.SystemException {
121         return _websiteLocalService.getWebsites(companyId, className, classPK);
122     }
123 
124     public com.liferay.portal.model.Website updateWebsite(long websiteId,
125         java.lang.String url, int typeId, boolean primary)
126         throws com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException {
128         return _websiteLocalService.updateWebsite(websiteId, url, typeId,
129             primary);
130     }
131 
132     public WebsiteLocalService getWrappedWebsiteLocalService() {
133         return _websiteLocalService;
134     }
135 
136     private WebsiteLocalService _websiteLocalService;
137 }