001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.service;
022:
023: /**
024: * <a href="EmailAddressLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portal.service.impl.EmailAddressLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portal.service.EmailAddressLocalServiceFactory
045: * @see com.liferay.portal.service.EmailAddressLocalServiceUtil
046: *
047: */
048: public interface EmailAddressLocalService {
049: public com.liferay.portal.model.EmailAddress addEmailAddress(
050: com.liferay.portal.model.EmailAddress model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portal.model.EmailAddress updateEmailAddress(
063: com.liferay.portal.model.EmailAddress model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portal.service.persistence.AccountPersistence getAccountPersistence();
067:
068: public void setAccountPersistence(
069: com.liferay.portal.service.persistence.AccountPersistence accountPersistence);
070:
071: public com.liferay.portal.service.persistence.ActivityTrackerPersistence getActivityTrackerPersistence();
072:
073: public void setActivityTrackerPersistence(
074: com.liferay.portal.service.persistence.ActivityTrackerPersistence activityTrackerPersistence);
075:
076: public com.liferay.portal.service.persistence.ActivityTrackerFinder getActivityTrackerFinder();
077:
078: public void setActivityTrackerFinder(
079: com.liferay.portal.service.persistence.ActivityTrackerFinder activityTrackerFinder);
080:
081: public com.liferay.portal.service.persistence.AddressPersistence getAddressPersistence();
082:
083: public void setAddressPersistence(
084: com.liferay.portal.service.persistence.AddressPersistence addressPersistence);
085:
086: public com.liferay.portal.service.persistence.ClassNamePersistence getClassNamePersistence();
087:
088: public void setClassNamePersistence(
089: com.liferay.portal.service.persistence.ClassNamePersistence classNamePersistence);
090:
091: public com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence();
092:
093: public void setCompanyPersistence(
094: com.liferay.portal.service.persistence.CompanyPersistence companyPersistence);
095:
096: public com.liferay.portal.service.persistence.ContactPersistence getContactPersistence();
097:
098: public void setContactPersistence(
099: com.liferay.portal.service.persistence.ContactPersistence contactPersistence);
100:
101: public com.liferay.portal.service.persistence.CountryPersistence getCountryPersistence();
102:
103: public void setCountryPersistence(
104: com.liferay.portal.service.persistence.CountryPersistence countryPersistence);
105:
106: public com.liferay.portal.service.persistence.EmailAddressPersistence getEmailAddressPersistence();
107:
108: public void setEmailAddressPersistence(
109: com.liferay.portal.service.persistence.EmailAddressPersistence emailAddressPersistence);
110:
111: public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence();
112:
113: public void setGroupPersistence(
114: com.liferay.portal.service.persistence.GroupPersistence groupPersistence);
115:
116: public com.liferay.portal.service.persistence.GroupFinder getGroupFinder();
117:
118: public void setGroupFinder(
119: com.liferay.portal.service.persistence.GroupFinder groupFinder);
120:
121: public com.liferay.portal.service.persistence.ImagePersistence getImagePersistence();
122:
123: public void setImagePersistence(
124: com.liferay.portal.service.persistence.ImagePersistence imagePersistence);
125:
126: public com.liferay.portal.service.persistence.LayoutPersistence getLayoutPersistence();
127:
128: public void setLayoutPersistence(
129: com.liferay.portal.service.persistence.LayoutPersistence layoutPersistence);
130:
131: public com.liferay.portal.service.persistence.LayoutFinder getLayoutFinder();
132:
133: public void setLayoutFinder(
134: com.liferay.portal.service.persistence.LayoutFinder layoutFinder);
135:
136: public com.liferay.portal.service.persistence.LayoutSetPersistence getLayoutSetPersistence();
137:
138: public void setLayoutSetPersistence(
139: com.liferay.portal.service.persistence.LayoutSetPersistence layoutSetPersistence);
140:
141: public com.liferay.portal.service.persistence.ListTypePersistence getListTypePersistence();
142:
143: public void setListTypePersistence(
144: com.liferay.portal.service.persistence.ListTypePersistence listTypePersistence);
145:
146: public com.liferay.portal.service.persistence.MembershipRequestPersistence getMembershipRequestPersistence();
147:
148: public void setMembershipRequestPersistence(
149: com.liferay.portal.service.persistence.MembershipRequestPersistence membershipRequestPersistence);
150:
151: public com.liferay.portal.service.persistence.OrganizationPersistence getOrganizationPersistence();
152:
153: public void setOrganizationPersistence(
154: com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence);
155:
156: public com.liferay.portal.service.persistence.OrganizationFinder getOrganizationFinder();
157:
158: public void setOrganizationFinder(
159: com.liferay.portal.service.persistence.OrganizationFinder organizationFinder);
160:
161: public com.liferay.portal.service.persistence.OrgGroupPermissionPersistence getOrgGroupPermissionPersistence();
162:
163: public void setOrgGroupPermissionPersistence(
164: com.liferay.portal.service.persistence.OrgGroupPermissionPersistence orgGroupPermissionPersistence);
165:
166: public com.liferay.portal.service.persistence.OrgGroupPermissionFinder getOrgGroupPermissionFinder();
167:
168: public void setOrgGroupPermissionFinder(
169: com.liferay.portal.service.persistence.OrgGroupPermissionFinder orgGroupPermissionFinder);
170:
171: public com.liferay.portal.service.persistence.OrgGroupRolePersistence getOrgGroupRolePersistence();
172:
173: public void setOrgGroupRolePersistence(
174: com.liferay.portal.service.persistence.OrgGroupRolePersistence orgGroupRolePersistence);
175:
176: public com.liferay.portal.service.persistence.OrgLaborPersistence getOrgLaborPersistence();
177:
178: public void setOrgLaborPersistence(
179: com.liferay.portal.service.persistence.OrgLaborPersistence orgLaborPersistence);
180:
181: public com.liferay.portal.service.persistence.PasswordPolicyPersistence getPasswordPolicyPersistence();
182:
183: public void setPasswordPolicyPersistence(
184: com.liferay.portal.service.persistence.PasswordPolicyPersistence passwordPolicyPersistence);
185:
186: public com.liferay.portal.service.persistence.PasswordPolicyFinder getPasswordPolicyFinder();
187:
188: public void setPasswordPolicyFinder(
189: com.liferay.portal.service.persistence.PasswordPolicyFinder passwordPolicyFinder);
190:
191: public com.liferay.portal.service.persistence.PasswordPolicyRelPersistence getPasswordPolicyRelPersistence();
192:
193: public void setPasswordPolicyRelPersistence(
194: com.liferay.portal.service.persistence.PasswordPolicyRelPersistence passwordPolicyRelPersistence);
195:
196: public com.liferay.portal.service.persistence.PasswordTrackerPersistence getPasswordTrackerPersistence();
197:
198: public void setPasswordTrackerPersistence(
199: com.liferay.portal.service.persistence.PasswordTrackerPersistence passwordTrackerPersistence);
200:
201: public com.liferay.portal.service.persistence.PermissionPersistence getPermissionPersistence();
202:
203: public void setPermissionPersistence(
204: com.liferay.portal.service.persistence.PermissionPersistence permissionPersistence);
205:
206: public com.liferay.portal.service.persistence.PermissionFinder getPermissionFinder();
207:
208: public void setPermissionFinder(
209: com.liferay.portal.service.persistence.PermissionFinder permissionFinder);
210:
211: public com.liferay.portal.service.persistence.PermissionUserFinder getPermissionUserFinder();
212:
213: public void setPermissionUserFinder(
214: com.liferay.portal.service.persistence.PermissionUserFinder permissionUserFinder);
215:
216: public com.liferay.portal.service.persistence.PhonePersistence getPhonePersistence();
217:
218: public void setPhonePersistence(
219: com.liferay.portal.service.persistence.PhonePersistence phonePersistence);
220:
221: public com.liferay.portal.service.persistence.PluginSettingPersistence getPluginSettingPersistence();
222:
223: public void setPluginSettingPersistence(
224: com.liferay.portal.service.persistence.PluginSettingPersistence pluginSettingPersistence);
225:
226: public com.liferay.portal.service.persistence.PortletPersistence getPortletPersistence();
227:
228: public void setPortletPersistence(
229: com.liferay.portal.service.persistence.PortletPersistence portletPersistence);
230:
231: public com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence();
232:
233: public void setPortletPreferencesPersistence(
234: com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence);
235:
236: public com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder();
237:
238: public void setPortletPreferencesFinder(
239: com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder);
240:
241: public com.liferay.portal.service.persistence.RegionPersistence getRegionPersistence();
242:
243: public void setRegionPersistence(
244: com.liferay.portal.service.persistence.RegionPersistence regionPersistence);
245:
246: public com.liferay.portal.service.persistence.ReleasePersistence getReleasePersistence();
247:
248: public void setReleasePersistence(
249: com.liferay.portal.service.persistence.ReleasePersistence releasePersistence);
250:
251: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
252:
253: public void setResourcePersistence(
254: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
255:
256: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
257:
258: public void setResourceFinder(
259: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
260:
261: public com.liferay.portal.service.persistence.ResourceCodePersistence getResourceCodePersistence();
262:
263: public void setResourceCodePersistence(
264: com.liferay.portal.service.persistence.ResourceCodePersistence resourceCodePersistence);
265:
266: public com.liferay.portal.service.persistence.RolePersistence getRolePersistence();
267:
268: public void setRolePersistence(
269: com.liferay.portal.service.persistence.RolePersistence rolePersistence);
270:
271: public com.liferay.portal.service.persistence.RoleFinder getRoleFinder();
272:
273: public void setRoleFinder(
274: com.liferay.portal.service.persistence.RoleFinder roleFinder);
275:
276: public com.liferay.portal.service.persistence.ServiceComponentPersistence getServiceComponentPersistence();
277:
278: public void setServiceComponentPersistence(
279: com.liferay.portal.service.persistence.ServiceComponentPersistence serviceComponentPersistence);
280:
281: public com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence();
282:
283: public void setSubscriptionPersistence(
284: com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence);
285:
286: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
287:
288: public void setUserPersistence(
289: com.liferay.portal.service.persistence.UserPersistence userPersistence);
290:
291: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
292:
293: public void setUserFinder(
294: com.liferay.portal.service.persistence.UserFinder userFinder);
295:
296: public com.liferay.portal.service.persistence.UserGroupPersistence getUserGroupPersistence();
297:
298: public void setUserGroupPersistence(
299: com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence);
300:
301: public com.liferay.portal.service.persistence.UserGroupFinder getUserGroupFinder();
302:
303: public void setUserGroupFinder(
304: com.liferay.portal.service.persistence.UserGroupFinder userGroupFinder);
305:
306: public com.liferay.portal.service.persistence.UserGroupRolePersistence getUserGroupRolePersistence();
307:
308: public void setUserGroupRolePersistence(
309: com.liferay.portal.service.persistence.UserGroupRolePersistence userGroupRolePersistence);
310:
311: public com.liferay.portal.service.persistence.UserIdMapperPersistence getUserIdMapperPersistence();
312:
313: public void setUserIdMapperPersistence(
314: com.liferay.portal.service.persistence.UserIdMapperPersistence userIdMapperPersistence);
315:
316: public com.liferay.portal.service.persistence.UserTrackerPersistence getUserTrackerPersistence();
317:
318: public void setUserTrackerPersistence(
319: com.liferay.portal.service.persistence.UserTrackerPersistence userTrackerPersistence);
320:
321: public com.liferay.portal.service.persistence.UserTrackerPathPersistence getUserTrackerPathPersistence();
322:
323: public void setUserTrackerPathPersistence(
324: com.liferay.portal.service.persistence.UserTrackerPathPersistence userTrackerPathPersistence);
325:
326: public com.liferay.portal.service.persistence.WebDAVPropsPersistence getWebDAVPropsPersistence();
327:
328: public void setWebDAVPropsPersistence(
329: com.liferay.portal.service.persistence.WebDAVPropsPersistence webDAVPropsPersistence);
330:
331: public com.liferay.portal.service.persistence.WebsitePersistence getWebsitePersistence();
332:
333: public void setWebsitePersistence(
334: com.liferay.portal.service.persistence.WebsitePersistence websitePersistence);
335:
336: public void afterPropertiesSet();
337:
338: public com.liferay.portal.model.EmailAddress addEmailAddress(
339: long userId, java.lang.String className, long classPK,
340: java.lang.String address, int typeId, boolean primary)
341: throws com.liferay.portal.SystemException,
342: com.liferay.portal.PortalException;
343:
344: public void deleteEmailAddress(long emailAddressId)
345: throws com.liferay.portal.SystemException,
346: com.liferay.portal.PortalException;
347:
348: public void deleteEmailAddresses(long companyId,
349: java.lang.String className, long classPK)
350: throws com.liferay.portal.SystemException;
351:
352: public com.liferay.portal.model.EmailAddress getEmailAddress(
353: long emailAddressId)
354: throws com.liferay.portal.SystemException,
355: com.liferay.portal.PortalException;
356:
357: public java.util.List getEmailAddresses()
358: throws com.liferay.portal.SystemException;
359:
360: public java.util.List getEmailAddresses(long companyId,
361: java.lang.String className, long classPK)
362: throws com.liferay.portal.SystemException;
363:
364: public com.liferay.portal.model.EmailAddress updateEmailAddress(
365: long emailAddressId, java.lang.String address, int typeId,
366: boolean primary) throws com.liferay.portal.SystemException,
367: com.liferay.portal.PortalException;
368: }
|