001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link AccountLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       AccountLocalService
025     * @generated
026     */
027    public class AccountLocalServiceWrapper implements AccountLocalService {
028            public AccountLocalServiceWrapper(AccountLocalService accountLocalService) {
029                    _accountLocalService = accountLocalService;
030            }
031    
032            public com.liferay.portal.model.Account addAccount(
033                    com.liferay.portal.model.Account account)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _accountLocalService.addAccount(account);
036            }
037    
038            public com.liferay.portal.model.Account createAccount(long accountId) {
039                    return _accountLocalService.createAccount(accountId);
040            }
041    
042            public void deleteAccount(long accountId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _accountLocalService.deleteAccount(accountId);
046            }
047    
048            public void deleteAccount(com.liferay.portal.model.Account account)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _accountLocalService.deleteAccount(account);
051            }
052    
053            @SuppressWarnings("unchecked")
054            public java.util.List dynamicQuery(
055                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056                    throws com.liferay.portal.kernel.exception.SystemException {
057                    return _accountLocalService.dynamicQuery(dynamicQuery);
058            }
059    
060            @SuppressWarnings("unchecked")
061            public java.util.List dynamicQuery(
062                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063                    int end) throws com.liferay.portal.kernel.exception.SystemException {
064                    return _accountLocalService.dynamicQuery(dynamicQuery, start, end);
065            }
066    
067            @SuppressWarnings("unchecked")
068            public java.util.List dynamicQuery(
069                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070                    int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _accountLocalService.dynamicQuery(dynamicQuery, start, end,
074                            orderByComparator);
075            }
076    
077            public long dynamicQueryCount(
078                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _accountLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portal.model.Account getAccount(long accountId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _accountLocalService.getAccount(accountId);
087            }
088    
089            public java.util.List<com.liferay.portal.model.Account> getAccounts(
090                    int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _accountLocalService.getAccounts(start, end);
093            }
094    
095            public int getAccountsCount()
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _accountLocalService.getAccountsCount();
098            }
099    
100            public com.liferay.portal.model.Account updateAccount(
101                    com.liferay.portal.model.Account account)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _accountLocalService.updateAccount(account);
104            }
105    
106            public com.liferay.portal.model.Account updateAccount(
107                    com.liferay.portal.model.Account account, boolean merge)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _accountLocalService.updateAccount(account, merge);
110            }
111    
112            public com.liferay.portal.model.Account getAccount(long companyId,
113                    long accountId)
114                    throws com.liferay.portal.kernel.exception.PortalException,
115                            com.liferay.portal.kernel.exception.SystemException {
116                    return _accountLocalService.getAccount(companyId, accountId);
117            }
118    
119            public AccountLocalService getWrappedAccountLocalService() {
120                    return _accountLocalService;
121            }
122    
123            private AccountLocalService _accountLocalService;
124    }