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="EmailAddressLocalServiceUtil.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 EmailAddressLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       EmailAddressLocalService
32   * @generated
33   */
34  public class EmailAddressLocalServiceWrapper implements EmailAddressLocalService {
35      public EmailAddressLocalServiceWrapper(
36          EmailAddressLocalService emailAddressLocalService) {
37          _emailAddressLocalService = emailAddressLocalService;
38      }
39  
40      public com.liferay.portal.model.EmailAddress addEmailAddress(
41          com.liferay.portal.model.EmailAddress emailAddress)
42          throws com.liferay.portal.SystemException {
43          return _emailAddressLocalService.addEmailAddress(emailAddress);
44      }
45  
46      public com.liferay.portal.model.EmailAddress createEmailAddress(
47          long emailAddressId) {
48          return _emailAddressLocalService.createEmailAddress(emailAddressId);
49      }
50  
51      public void deleteEmailAddress(long emailAddressId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _emailAddressLocalService.deleteEmailAddress(emailAddressId);
55      }
56  
57      public void deleteEmailAddress(
58          com.liferay.portal.model.EmailAddress emailAddress)
59          throws com.liferay.portal.SystemException {
60          _emailAddressLocalService.deleteEmailAddress(emailAddress);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _emailAddressLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _emailAddressLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _emailAddressLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _emailAddressLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portal.model.EmailAddress getEmailAddress(
91          long emailAddressId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _emailAddressLocalService.getEmailAddress(emailAddressId);
95      }
96  
97      public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses(
98          int start, int end) throws com.liferay.portal.SystemException {
99          return _emailAddressLocalService.getEmailAddresses(start, end);
100     }
101 
102     public int getEmailAddressesCount()
103         throws com.liferay.portal.SystemException {
104         return _emailAddressLocalService.getEmailAddressesCount();
105     }
106 
107     public com.liferay.portal.model.EmailAddress updateEmailAddress(
108         com.liferay.portal.model.EmailAddress emailAddress)
109         throws com.liferay.portal.SystemException {
110         return _emailAddressLocalService.updateEmailAddress(emailAddress);
111     }
112 
113     public com.liferay.portal.model.EmailAddress updateEmailAddress(
114         com.liferay.portal.model.EmailAddress emailAddress, boolean merge)
115         throws com.liferay.portal.SystemException {
116         return _emailAddressLocalService.updateEmailAddress(emailAddress, merge);
117     }
118 
119     public com.liferay.portal.model.EmailAddress addEmailAddress(long userId,
120         java.lang.String className, long classPK, java.lang.String address,
121         int typeId, boolean primary)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _emailAddressLocalService.addEmailAddress(userId, className,
125             classPK, address, typeId, primary);
126     }
127 
128     public void deleteEmailAddresses(long companyId,
129         java.lang.String className, long classPK)
130         throws com.liferay.portal.SystemException {
131         _emailAddressLocalService.deleteEmailAddresses(companyId, className,
132             classPK);
133     }
134 
135     public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
136         throws com.liferay.portal.SystemException {
137         return _emailAddressLocalService.getEmailAddresses();
138     }
139 
140     public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses(
141         long companyId, java.lang.String className, long classPK)
142         throws com.liferay.portal.SystemException {
143         return _emailAddressLocalService.getEmailAddresses(companyId,
144             className, classPK);
145     }
146 
147     public com.liferay.portal.model.EmailAddress updateEmailAddress(
148         long emailAddressId, java.lang.String address, int typeId,
149         boolean primary)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         return _emailAddressLocalService.updateEmailAddress(emailAddressId,
153             address, typeId, primary);
154     }
155 
156     public EmailAddressLocalService getWrappedEmailAddressLocalService() {
157         return _emailAddressLocalService;
158     }
159 
160     private EmailAddressLocalService _emailAddressLocalService;
161 }