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="AccountLocalServiceUtil.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 AccountLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AccountLocalService
32   * @generated
33   */
34  public class AccountLocalServiceWrapper implements AccountLocalService {
35      public AccountLocalServiceWrapper(AccountLocalService accountLocalService) {
36          _accountLocalService = accountLocalService;
37      }
38  
39      public com.liferay.portal.model.Account addAccount(
40          com.liferay.portal.model.Account account)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _accountLocalService.addAccount(account);
43      }
44  
45      public com.liferay.portal.model.Account createAccount(long accountId) {
46          return _accountLocalService.createAccount(accountId);
47      }
48  
49      public void deleteAccount(long accountId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _accountLocalService.deleteAccount(accountId);
53      }
54  
55      public void deleteAccount(com.liferay.portal.model.Account account)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _accountLocalService.deleteAccount(account);
58      }
59  
60      public java.util.List<Object> dynamicQuery(
61          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62          throws com.liferay.portal.kernel.exception.SystemException {
63          return _accountLocalService.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.kernel.exception.SystemException {
69          return _accountLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public com.liferay.portal.model.Account getAccount(long accountId)
73          throws com.liferay.portal.kernel.exception.PortalException,
74              com.liferay.portal.kernel.exception.SystemException {
75          return _accountLocalService.getAccount(accountId);
76      }
77  
78      public java.util.List<com.liferay.portal.model.Account> getAccounts(
79          int start, int end)
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _accountLocalService.getAccounts(start, end);
82      }
83  
84      public int getAccountsCount()
85          throws com.liferay.portal.kernel.exception.SystemException {
86          return _accountLocalService.getAccountsCount();
87      }
88  
89      public com.liferay.portal.model.Account updateAccount(
90          com.liferay.portal.model.Account account)
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _accountLocalService.updateAccount(account);
93      }
94  
95      public com.liferay.portal.model.Account updateAccount(
96          com.liferay.portal.model.Account account, boolean merge)
97          throws com.liferay.portal.kernel.exception.SystemException {
98          return _accountLocalService.updateAccount(account, merge);
99      }
100 
101     public com.liferay.portal.model.Account getAccount(long companyId,
102         long accountId)
103         throws com.liferay.portal.kernel.exception.PortalException,
104             com.liferay.portal.kernel.exception.SystemException {
105         return _accountLocalService.getAccount(companyId, accountId);
106     }
107 
108     public AccountLocalService getWrappedAccountLocalService() {
109         return _accountLocalService;
110     }
111 
112     private AccountLocalService _accountLocalService;
113 }