1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="EmailAddressLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link EmailAddressLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       EmailAddressLocalService
31   * @generated
32   */
33  public class EmailAddressLocalServiceWrapper implements EmailAddressLocalService {
34      public EmailAddressLocalServiceWrapper(
35          EmailAddressLocalService emailAddressLocalService) {
36          _emailAddressLocalService = emailAddressLocalService;
37      }
38  
39      public com.liferay.portal.model.EmailAddress addEmailAddress(
40          com.liferay.portal.model.EmailAddress emailAddress)
41          throws com.liferay.portal.SystemException {
42          return _emailAddressLocalService.addEmailAddress(emailAddress);
43      }
44  
45      public com.liferay.portal.model.EmailAddress createEmailAddress(
46          long emailAddressId) {
47          return _emailAddressLocalService.createEmailAddress(emailAddressId);
48      }
49  
50      public void deleteEmailAddress(long emailAddressId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _emailAddressLocalService.deleteEmailAddress(emailAddressId);
54      }
55  
56      public void deleteEmailAddress(
57          com.liferay.portal.model.EmailAddress emailAddress)
58          throws com.liferay.portal.SystemException {
59          _emailAddressLocalService.deleteEmailAddress(emailAddress);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _emailAddressLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _emailAddressLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _emailAddressLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _emailAddressLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portal.model.EmailAddress getEmailAddress(
93          long emailAddressId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _emailAddressLocalService.getEmailAddress(emailAddressId);
97      }
98  
99      public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _emailAddressLocalService.getEmailAddresses(start, end);
102     }
103 
104     public int getEmailAddressesCount()
105         throws com.liferay.portal.SystemException {
106         return _emailAddressLocalService.getEmailAddressesCount();
107     }
108 
109     public com.liferay.portal.model.EmailAddress updateEmailAddress(
110         com.liferay.portal.model.EmailAddress emailAddress)
111         throws com.liferay.portal.SystemException {
112         return _emailAddressLocalService.updateEmailAddress(emailAddress);
113     }
114 
115     public com.liferay.portal.model.EmailAddress updateEmailAddress(
116         com.liferay.portal.model.EmailAddress emailAddress, boolean merge)
117         throws com.liferay.portal.SystemException {
118         return _emailAddressLocalService.updateEmailAddress(emailAddress, merge);
119     }
120 
121     public com.liferay.portal.model.EmailAddress addEmailAddress(long userId,
122         java.lang.String className, long classPK, java.lang.String address,
123         int typeId, boolean primary)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _emailAddressLocalService.addEmailAddress(userId, className,
127             classPK, address, typeId, primary);
128     }
129 
130     public void deleteEmailAddresses(long companyId,
131         java.lang.String className, long classPK)
132         throws com.liferay.portal.SystemException {
133         _emailAddressLocalService.deleteEmailAddresses(companyId, className,
134             classPK);
135     }
136 
137     public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
138         throws com.liferay.portal.SystemException {
139         return _emailAddressLocalService.getEmailAddresses();
140     }
141 
142     public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses(
143         long companyId, java.lang.String className, long classPK)
144         throws com.liferay.portal.SystemException {
145         return _emailAddressLocalService.getEmailAddresses(companyId,
146             className, classPK);
147     }
148 
149     public com.liferay.portal.model.EmailAddress updateEmailAddress(
150         long emailAddressId, java.lang.String address, int typeId,
151         boolean primary)
152         throws com.liferay.portal.PortalException,
153             com.liferay.portal.SystemException {
154         return _emailAddressLocalService.updateEmailAddress(emailAddressId,
155             address, typeId, primary);
156     }
157 
158     public EmailAddressLocalService getWrappedEmailAddressLocalService() {
159         return _emailAddressLocalService;
160     }
161 
162     private EmailAddressLocalService _emailAddressLocalService;
163 }