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 ContactLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       ContactLocalService
025     * @generated
026     */
027    public class ContactLocalServiceWrapper implements ContactLocalService {
028            public ContactLocalServiceWrapper(ContactLocalService contactLocalService) {
029                    _contactLocalService = contactLocalService;
030            }
031    
032            public com.liferay.portal.model.Contact addContact(
033                    com.liferay.portal.model.Contact contact)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _contactLocalService.addContact(contact);
036            }
037    
038            public com.liferay.portal.model.Contact createContact(long contactId) {
039                    return _contactLocalService.createContact(contactId);
040            }
041    
042            public void deleteContact(long contactId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _contactLocalService.deleteContact(contactId);
046            }
047    
048            public void deleteContact(com.liferay.portal.model.Contact contact)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    _contactLocalService.deleteContact(contact);
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 _contactLocalService.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 _contactLocalService.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 _contactLocalService.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 _contactLocalService.dynamicQueryCount(dynamicQuery);
081            }
082    
083            public com.liferay.portal.model.Contact getContact(long contactId)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _contactLocalService.getContact(contactId);
087            }
088    
089            public java.util.List<com.liferay.portal.model.Contact> getContacts(
090                    int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException {
092                    return _contactLocalService.getContacts(start, end);
093            }
094    
095            public int getContactsCount()
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _contactLocalService.getContactsCount();
098            }
099    
100            public com.liferay.portal.model.Contact updateContact(
101                    com.liferay.portal.model.Contact contact)
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _contactLocalService.updateContact(contact);
104            }
105    
106            public com.liferay.portal.model.Contact updateContact(
107                    com.liferay.portal.model.Contact contact, boolean merge)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _contactLocalService.updateContact(contact, merge);
110            }
111    
112            public ContactLocalService getWrappedContactLocalService() {
113                    return _contactLocalService;
114            }
115    
116            private ContactLocalService _contactLocalService;
117    }