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="ContactLocalServiceUtil.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 ContactLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ContactLocalService
32   * @generated
33   */
34  public class ContactLocalServiceWrapper implements ContactLocalService {
35      public ContactLocalServiceWrapper(ContactLocalService contactLocalService) {
36          _contactLocalService = contactLocalService;
37      }
38  
39      public com.liferay.portal.model.Contact addContact(
40          com.liferay.portal.model.Contact contact)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _contactLocalService.addContact(contact);
43      }
44  
45      public com.liferay.portal.model.Contact createContact(long contactId) {
46          return _contactLocalService.createContact(contactId);
47      }
48  
49      public void deleteContact(long contactId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _contactLocalService.deleteContact(contactId);
53      }
54  
55      public void deleteContact(com.liferay.portal.model.Contact contact)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _contactLocalService.deleteContact(contact);
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 _contactLocalService.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 _contactLocalService.dynamicQuery(dynamicQuery, start, end);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.kernel.exception.SystemException {
77          return _contactLocalService.dynamicQuery(dynamicQuery, start, end,
78              orderByComparator);
79      }
80  
81      public int dynamicQueryCount(
82          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83          throws com.liferay.portal.kernel.exception.SystemException {
84          return _contactLocalService.dynamicQueryCount(dynamicQuery);
85      }
86  
87      public com.liferay.portal.model.Contact getContact(long contactId)
88          throws com.liferay.portal.kernel.exception.PortalException,
89              com.liferay.portal.kernel.exception.SystemException {
90          return _contactLocalService.getContact(contactId);
91      }
92  
93      public java.util.List<com.liferay.portal.model.Contact> getContacts(
94          int start, int end)
95          throws com.liferay.portal.kernel.exception.SystemException {
96          return _contactLocalService.getContacts(start, end);
97      }
98  
99      public int getContactsCount()
100         throws com.liferay.portal.kernel.exception.SystemException {
101         return _contactLocalService.getContactsCount();
102     }
103 
104     public com.liferay.portal.model.Contact updateContact(
105         com.liferay.portal.model.Contact contact)
106         throws com.liferay.portal.kernel.exception.SystemException {
107         return _contactLocalService.updateContact(contact);
108     }
109 
110     public com.liferay.portal.model.Contact updateContact(
111         com.liferay.portal.model.Contact contact, boolean merge)
112         throws com.liferay.portal.kernel.exception.SystemException {
113         return _contactLocalService.updateContact(contact, merge);
114     }
115 
116     public ContactLocalService getWrappedContactLocalService() {
117         return _contactLocalService;
118     }
119 
120     private ContactLocalService _contactLocalService;
121 }