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