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     * <p>
019     * This class is a wrapper for {@link AccountLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AccountLocalService
024     * @generated
025     */
026    public class AccountLocalServiceWrapper implements AccountLocalService {
027            public AccountLocalServiceWrapper(AccountLocalService accountLocalService) {
028                    _accountLocalService = accountLocalService;
029            }
030    
031            public com.liferay.portal.model.Account addAccount(
032                    com.liferay.portal.model.Account account)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _accountLocalService.addAccount(account);
035            }
036    
037            public com.liferay.portal.model.Account createAccount(long accountId) {
038                    return _accountLocalService.createAccount(accountId);
039            }
040    
041            public void deleteAccount(long accountId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _accountLocalService.deleteAccount(accountId);
045            }
046    
047            public void deleteAccount(com.liferay.portal.model.Account account)
048                    throws com.liferay.portal.kernel.exception.SystemException {
049                    _accountLocalService.deleteAccount(account);
050            }
051    
052            @SuppressWarnings("unchecked")
053            public java.util.List dynamicQuery(
054                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
055                    throws com.liferay.portal.kernel.exception.SystemException {
056                    return _accountLocalService.dynamicQuery(dynamicQuery);
057            }
058    
059            @SuppressWarnings("unchecked")
060            public java.util.List dynamicQuery(
061                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
062                    int end) throws com.liferay.portal.kernel.exception.SystemException {
063                    return _accountLocalService.dynamicQuery(dynamicQuery, start, end);
064            }
065    
066            @SuppressWarnings("unchecked")
067            public java.util.List dynamicQuery(
068                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
069                    int end,
070                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071                    throws com.liferay.portal.kernel.exception.SystemException {
072                    return _accountLocalService.dynamicQuery(dynamicQuery, start, end,
073                            orderByComparator);
074            }
075    
076            public long dynamicQueryCount(
077                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _accountLocalService.dynamicQueryCount(dynamicQuery);
080            }
081    
082            public com.liferay.portal.model.Account getAccount(long accountId)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _accountLocalService.getAccount(accountId);
086            }
087    
088            public java.util.List<com.liferay.portal.model.Account> getAccounts(
089                    int start, int end)
090                    throws com.liferay.portal.kernel.exception.SystemException {
091                    return _accountLocalService.getAccounts(start, end);
092            }
093    
094            public int getAccountsCount()
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _accountLocalService.getAccountsCount();
097            }
098    
099            public com.liferay.portal.model.Account updateAccount(
100                    com.liferay.portal.model.Account account)
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _accountLocalService.updateAccount(account);
103            }
104    
105            public com.liferay.portal.model.Account updateAccount(
106                    com.liferay.portal.model.Account account, boolean merge)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _accountLocalService.updateAccount(account, merge);
109            }
110    
111            public com.liferay.portal.model.Account getAccount(long companyId,
112                    long accountId)
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException {
115                    return _accountLocalService.getAccount(companyId, accountId);
116            }
117    
118            public AccountLocalService getWrappedAccountLocalService() {
119                    return _accountLocalService;
120            }
121    
122            private AccountLocalService _accountLocalService;
123    }