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.kernel.exception.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.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _emailAddressLocalService.deleteEmailAddress(emailAddressId);
55      }
56  
57      public void deleteEmailAddress(
58          com.liferay.portal.model.EmailAddress emailAddress)
59          throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.SystemException {
72          return _emailAddressLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portal.model.EmailAddress getEmailAddress(
76          long emailAddressId)
77          throws com.liferay.portal.kernel.exception.PortalException,
78              com.liferay.portal.kernel.exception.SystemException {
79          return _emailAddressLocalService.getEmailAddress(emailAddressId);
80      }
81  
82      public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses(
83          int start, int end)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _emailAddressLocalService.getEmailAddresses(start, end);
86      }
87  
88      public int getEmailAddressesCount()
89          throws com.liferay.portal.kernel.exception.SystemException {
90          return _emailAddressLocalService.getEmailAddressesCount();
91      }
92  
93      public com.liferay.portal.model.EmailAddress updateEmailAddress(
94          com.liferay.portal.model.EmailAddress emailAddress)
95          throws com.liferay.portal.kernel.exception.SystemException {
96          return _emailAddressLocalService.updateEmailAddress(emailAddress);
97      }
98  
99      public com.liferay.portal.model.EmailAddress updateEmailAddress(
100         com.liferay.portal.model.EmailAddress emailAddress, boolean merge)
101         throws com.liferay.portal.kernel.exception.SystemException {
102         return _emailAddressLocalService.updateEmailAddress(emailAddress, merge);
103     }
104 
105     public com.liferay.portal.model.EmailAddress addEmailAddress(long userId,
106         java.lang.String className, long classPK, java.lang.String address,
107         int typeId, boolean primary)
108         throws com.liferay.portal.kernel.exception.PortalException,
109             com.liferay.portal.kernel.exception.SystemException {
110         return _emailAddressLocalService.addEmailAddress(userId, className,
111             classPK, address, typeId, primary);
112     }
113 
114     public void deleteEmailAddresses(long companyId,
115         java.lang.String className, long classPK)
116         throws com.liferay.portal.kernel.exception.SystemException {
117         _emailAddressLocalService.deleteEmailAddresses(companyId, className,
118             classPK);
119     }
120 
121     public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
122         throws com.liferay.portal.kernel.exception.SystemException {
123         return _emailAddressLocalService.getEmailAddresses();
124     }
125 
126     public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses(
127         long companyId, java.lang.String className, long classPK)
128         throws com.liferay.portal.kernel.exception.SystemException {
129         return _emailAddressLocalService.getEmailAddresses(companyId,
130             className, classPK);
131     }
132 
133     public com.liferay.portal.model.EmailAddress updateEmailAddress(
134         long emailAddressId, java.lang.String address, int typeId,
135         boolean primary)
136         throws com.liferay.portal.kernel.exception.PortalException,
137             com.liferay.portal.kernel.exception.SystemException {
138         return _emailAddressLocalService.updateEmailAddress(emailAddressId,
139             address, typeId, primary);
140     }
141 
142     public EmailAddressLocalService getWrappedEmailAddressLocalService() {
143         return _emailAddressLocalService;
144     }
145 
146     private EmailAddressLocalService _emailAddressLocalService;
147 }