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="UserLocalService.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.UserLocalServiceImpl</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.UserLocalServiceFactory
045: * @see com.liferay.portal.service.UserLocalServiceUtil
046: *
047: */
048: public interface UserLocalService {
049: public com.liferay.portal.model.User addUser(
050: com.liferay.portal.model.User 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.User updateUser(
063: com.liferay.portal.model.User 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 com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence getBlogsStatsUserPersistence();
337:
338: public void setBlogsStatsUserPersistence(
339: com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence);
340:
341: public com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder getBlogsStatsUserFinder();
342:
343: public void setBlogsStatsUserFinder(
344: com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder blogsStatsUserFinder);
345:
346: public com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence getDLFileRankPersistence();
347:
348: public void setDLFileRankPersistence(
349: com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence dlFileRankPersistence);
350:
351: public com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder getDLFileRankFinder();
352:
353: public void setDLFileRankFinder(
354: com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder dlFileRankFinder);
355:
356: public com.liferay.portlet.messageboards.service.persistence.MBBanPersistence getMBBanPersistence();
357:
358: public void setMBBanPersistence(
359: com.liferay.portlet.messageboards.service.persistence.MBBanPersistence mbBanPersistence);
360:
361: public com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence getMBMessageFlagPersistence();
362:
363: public void setMBMessageFlagPersistence(
364: com.liferay.portlet.messageboards.service.persistence.MBMessageFlagPersistence mbMessageFlagPersistence);
365:
366: public com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder getMBMessageFlagFinder();
367:
368: public void setMBMessageFlagFinder(
369: com.liferay.portlet.messageboards.service.persistence.MBMessageFlagFinder mbMessageFlagFinder);
370:
371: public com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence getMBStatsUserPersistence();
372:
373: public void setMBStatsUserPersistence(
374: com.liferay.portlet.messageboards.service.persistence.MBStatsUserPersistence mbStatsUserPersistence);
375:
376: public com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence getShoppingCartPersistence();
377:
378: public void setShoppingCartPersistence(
379: com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence shoppingCartPersistence);
380:
381: public void afterPropertiesSet();
382:
383: public void addGroupUsers(long groupId, long[] userIds)
384: throws com.liferay.portal.SystemException,
385: com.liferay.portal.PortalException;
386:
387: public void addOrganizationUsers(long organizationId, long[] userIds)
388: throws com.liferay.portal.SystemException,
389: com.liferay.portal.PortalException;
390:
391: public void addPasswordPolicyUsers(long passwordPolicyId,
392: long[] userIds) throws com.liferay.portal.SystemException,
393: com.liferay.portal.PortalException;
394:
395: public void addRoleUsers(long roleId, long[] userIds)
396: throws com.liferay.portal.SystemException,
397: com.liferay.portal.PortalException;
398:
399: public void addUserGroupUsers(long userGroupId, long[] userIds)
400: throws com.liferay.portal.SystemException,
401: com.liferay.portal.PortalException;
402:
403: public com.liferay.portal.model.User addUser(long creatorUserId,
404: long companyId, boolean autoPassword,
405: java.lang.String password1, java.lang.String password2,
406: boolean autoScreenName, java.lang.String screenName,
407: java.lang.String emailAddress, java.util.Locale locale,
408: java.lang.String firstName, java.lang.String middleName,
409: java.lang.String lastName, int prefixId, int suffixId,
410: boolean male, int birthdayMonth, int birthdayDay,
411: int birthdayYear, java.lang.String jobTitle,
412: long[] organizationIds, boolean sendEmail)
413: throws com.liferay.portal.SystemException,
414: com.liferay.portal.PortalException;
415:
416: public int authenticateByEmailAddress(long companyId,
417: java.lang.String emailAddress, java.lang.String password,
418: java.util.Map headerMap, java.util.Map parameterMap)
419: throws com.liferay.portal.SystemException,
420: com.liferay.portal.PortalException;
421:
422: public int authenticateByScreenName(long companyId,
423: java.lang.String screenName, java.lang.String password,
424: java.util.Map headerMap, java.util.Map parameterMap)
425: throws com.liferay.portal.SystemException,
426: com.liferay.portal.PortalException;
427:
428: public int authenticateByUserId(long companyId, long userId,
429: java.lang.String password, java.util.Map headerMap,
430: java.util.Map parameterMap)
431: throws com.liferay.portal.SystemException,
432: com.liferay.portal.PortalException;
433:
434: public boolean authenticateForJAAS(long userId,
435: java.lang.String encPwd)
436: throws com.liferay.portal.SystemException,
437: com.liferay.portal.PortalException;
438:
439: public void checkLockout(com.liferay.portal.model.User user)
440: throws com.liferay.portal.SystemException,
441: com.liferay.portal.PortalException;
442:
443: public void checkLoginFailure(com.liferay.portal.model.User user)
444: throws com.liferay.portal.SystemException,
445: com.liferay.portal.PortalException;
446:
447: public void checkLoginFailureByEmailAddress(long companyId,
448: java.lang.String emailAddress)
449: throws com.liferay.portal.SystemException,
450: com.liferay.portal.PortalException;
451:
452: public void checkLoginFailureById(long userId)
453: throws com.liferay.portal.SystemException,
454: com.liferay.portal.PortalException;
455:
456: public void checkLoginFailureByScreenName(long companyId,
457: java.lang.String screenName)
458: throws com.liferay.portal.SystemException,
459: com.liferay.portal.PortalException;
460:
461: public void checkPasswordExpired(com.liferay.portal.model.User user)
462: throws com.liferay.portal.SystemException,
463: com.liferay.portal.PortalException;
464:
465: public void clearOrganizationUsers(long organizationId)
466: throws com.liferay.portal.SystemException,
467: com.liferay.portal.PortalException;
468:
469: public void clearUserGroupUsers(long userGroupId)
470: throws com.liferay.portal.SystemException,
471: com.liferay.portal.PortalException;
472:
473: public com.liferay.portal.kernel.util.KeyValuePair decryptUserId(
474: long companyId, java.lang.String name,
475: java.lang.String password)
476: throws com.liferay.portal.SystemException,
477: com.liferay.portal.PortalException;
478:
479: public void deletePasswordPolicyUser(long passwordPolicyId,
480: long userId) throws com.liferay.portal.SystemException,
481: com.liferay.portal.PortalException;
482:
483: public void deleteRoleUser(long roleId, long userId)
484: throws com.liferay.portal.SystemException,
485: com.liferay.portal.PortalException;
486:
487: public void deleteUser(long userId)
488: throws com.liferay.portal.SystemException,
489: com.liferay.portal.PortalException;
490:
491: public java.lang.String encryptUserId(java.lang.String name)
492: throws com.liferay.portal.SystemException,
493: com.liferay.portal.PortalException;
494:
495: public com.liferay.portal.model.User getDefaultUser(long companyId)
496: throws com.liferay.portal.SystemException,
497: com.liferay.portal.PortalException;
498:
499: public long getDefaultUserId(long companyId)
500: throws com.liferay.portal.SystemException,
501: com.liferay.portal.PortalException;
502:
503: public java.util.List getGroupUsers(long groupId)
504: throws com.liferay.portal.SystemException,
505: com.liferay.portal.PortalException;
506:
507: public java.util.List getOrganizationUsers(long organizationId)
508: throws com.liferay.portal.SystemException,
509: com.liferay.portal.PortalException;
510:
511: public java.util.List getPermissionUsers(long companyId,
512: long groupId, java.lang.String name,
513: java.lang.String primKey, java.lang.String actionId,
514: java.lang.String firstName, java.lang.String middleName,
515: java.lang.String lastName, java.lang.String emailAddress,
516: boolean andOperator, int begin, int end)
517: throws com.liferay.portal.SystemException,
518: com.liferay.portal.PortalException;
519:
520: public int getPermissionUsersCount(long companyId, long groupId,
521: java.lang.String name, java.lang.String primKey,
522: java.lang.String actionId, java.lang.String firstName,
523: java.lang.String middleName, java.lang.String lastName,
524: java.lang.String emailAddress, boolean andOperator)
525: throws com.liferay.portal.SystemException,
526: com.liferay.portal.PortalException;
527:
528: public java.util.List getRoleUsers(long roleId)
529: throws com.liferay.portal.SystemException,
530: com.liferay.portal.PortalException;
531:
532: public java.util.List getUserGroupUsers(long userGroupId)
533: throws com.liferay.portal.SystemException,
534: com.liferay.portal.PortalException;
535:
536: public com.liferay.portal.model.User getUserByContactId(
537: long contactId) throws com.liferay.portal.SystemException,
538: com.liferay.portal.PortalException;
539:
540: public com.liferay.portal.model.User getUserByEmailAddress(
541: long companyId, java.lang.String emailAddress)
542: throws com.liferay.portal.SystemException,
543: com.liferay.portal.PortalException;
544:
545: public com.liferay.portal.model.User getUserById(long userId)
546: throws com.liferay.portal.SystemException,
547: com.liferay.portal.PortalException;
548:
549: public com.liferay.portal.model.User getUserById(long companyId,
550: long userId) throws com.liferay.portal.SystemException,
551: com.liferay.portal.PortalException;
552:
553: public com.liferay.portal.model.User getUserByPortraitId(
554: long portraitId) throws com.liferay.portal.SystemException,
555: com.liferay.portal.PortalException;
556:
557: public com.liferay.portal.model.User getUserByScreenName(
558: long companyId, java.lang.String screenName)
559: throws com.liferay.portal.SystemException,
560: com.liferay.portal.PortalException;
561:
562: public long getUserIdByEmailAddress(long companyId,
563: java.lang.String emailAddress)
564: throws com.liferay.portal.SystemException,
565: com.liferay.portal.PortalException;
566:
567: public long getUserIdByScreenName(long companyId,
568: java.lang.String screenName)
569: throws com.liferay.portal.SystemException,
570: com.liferay.portal.PortalException;
571:
572: public boolean hasGroupUser(long groupId, long userId)
573: throws com.liferay.portal.SystemException,
574: com.liferay.portal.PortalException;
575:
576: public boolean hasOrganizationUser(long organizationId, long userId)
577: throws com.liferay.portal.SystemException,
578: com.liferay.portal.PortalException;
579:
580: public boolean hasPasswordPolicyUser(long passwordPolicyId,
581: long userId) throws com.liferay.portal.SystemException,
582: com.liferay.portal.PortalException;
583:
584: public boolean hasRoleUser(long roleId, long userId)
585: throws com.liferay.portal.SystemException,
586: com.liferay.portal.PortalException;
587:
588: public boolean hasUserGroupUser(long userGroupId, long userId)
589: throws com.liferay.portal.SystemException,
590: com.liferay.portal.PortalException;
591:
592: public boolean isPasswordExpired(com.liferay.portal.model.User user)
593: throws com.liferay.portal.SystemException,
594: com.liferay.portal.PortalException;
595:
596: public boolean isPasswordExpiringSoon(
597: com.liferay.portal.model.User user)
598: throws com.liferay.portal.SystemException,
599: com.liferay.portal.PortalException;
600:
601: public java.util.List search(long companyId,
602: java.lang.String keywords, java.lang.Boolean active,
603: java.util.LinkedHashMap params, int begin, int end,
604: com.liferay.portal.kernel.util.OrderByComparator obc)
605: throws com.liferay.portal.SystemException;
606:
607: public java.util.List search(long companyId,
608: java.lang.String firstName, java.lang.String middleName,
609: java.lang.String lastName, java.lang.String screenName,
610: java.lang.String emailAddress, java.lang.Boolean active,
611: java.util.LinkedHashMap params, boolean andSearch,
612: int begin, int end,
613: com.liferay.portal.kernel.util.OrderByComparator obc)
614: throws com.liferay.portal.SystemException;
615:
616: public int searchCount(long companyId, java.lang.String keywords,
617: java.lang.Boolean active, java.util.LinkedHashMap params)
618: throws com.liferay.portal.SystemException;
619:
620: public int searchCount(long companyId, java.lang.String firstName,
621: java.lang.String middleName, java.lang.String lastName,
622: java.lang.String screenName, java.lang.String emailAddress,
623: java.lang.Boolean active, java.util.LinkedHashMap params,
624: boolean andSearch)
625: throws com.liferay.portal.SystemException;
626:
627: public void sendPassword(long companyId,
628: java.lang.String emailAddress, java.lang.String remoteAddr,
629: java.lang.String remoteHost, java.lang.String userAgent)
630: throws com.liferay.portal.SystemException,
631: com.liferay.portal.PortalException;
632:
633: public void setRoleUsers(long roleId, long[] userIds)
634: throws com.liferay.portal.SystemException,
635: com.liferay.portal.PortalException;
636:
637: public void setUserGroupUsers(long userGroupId, long[] userIds)
638: throws com.liferay.portal.SystemException,
639: com.liferay.portal.PortalException;
640:
641: public void unsetGroupUsers(long groupId, long[] userIds)
642: throws com.liferay.portal.SystemException,
643: com.liferay.portal.PortalException;
644:
645: public void unsetOrganizationUsers(long organizationId,
646: long[] userIds) throws com.liferay.portal.SystemException,
647: com.liferay.portal.PortalException;
648:
649: public void unsetPasswordPolicyUsers(long passwordPolicyId,
650: long[] userIds) throws com.liferay.portal.SystemException,
651: com.liferay.portal.PortalException;
652:
653: public void unsetRoleUsers(long roleId, long[] userIds)
654: throws com.liferay.portal.SystemException,
655: com.liferay.portal.PortalException;
656:
657: public void unsetUserGroupUsers(long userGroupId, long[] userIds)
658: throws com.liferay.portal.SystemException,
659: com.liferay.portal.PortalException;
660:
661: public com.liferay.portal.model.User updateActive(long userId,
662: boolean active) throws com.liferay.portal.SystemException,
663: com.liferay.portal.PortalException;
664:
665: public com.liferay.portal.model.User updateAgreedToTermsOfUse(
666: long userId, boolean agreedToTermsOfUse)
667: throws com.liferay.portal.SystemException,
668: com.liferay.portal.PortalException;
669:
670: public com.liferay.portal.model.User updateCreateDate(long userId,
671: java.util.Date createDate)
672: throws com.liferay.portal.SystemException,
673: com.liferay.portal.PortalException;
674:
675: public com.liferay.portal.model.User updateLastLogin(long userId,
676: java.lang.String loginIP)
677: throws com.liferay.portal.SystemException,
678: com.liferay.portal.PortalException;
679:
680: public com.liferay.portal.model.User updateLockout(
681: com.liferay.portal.model.User user, boolean lockout)
682: throws com.liferay.portal.SystemException,
683: com.liferay.portal.PortalException;
684:
685: public com.liferay.portal.model.User updateLockoutByEmailAddress(
686: long companyId, java.lang.String emailAddress,
687: boolean lockout) throws com.liferay.portal.SystemException,
688: com.liferay.portal.PortalException;
689:
690: public com.liferay.portal.model.User updateLockoutById(long userId,
691: boolean lockout) throws com.liferay.portal.SystemException,
692: com.liferay.portal.PortalException;
693:
694: public com.liferay.portal.model.User updateLockoutByScreenName(
695: long companyId, java.lang.String screenName, boolean lockout)
696: throws com.liferay.portal.SystemException,
697: com.liferay.portal.PortalException;
698:
699: public com.liferay.portal.model.User updateModifiedDate(
700: long userId, java.util.Date modifiedDate)
701: throws com.liferay.portal.SystemException,
702: com.liferay.portal.PortalException;
703:
704: public void updateOrganizations(long userId,
705: long[] newOrganizationIds)
706: throws com.liferay.portal.SystemException,
707: com.liferay.portal.PortalException;
708:
709: public com.liferay.portal.model.User updatePassword(long userId,
710: java.lang.String password1, java.lang.String password2,
711: boolean passwordReset)
712: throws com.liferay.portal.SystemException,
713: com.liferay.portal.PortalException;
714:
715: public com.liferay.portal.model.User updatePassword(long userId,
716: java.lang.String password1, java.lang.String password2,
717: boolean passwordReset, boolean silentUpdate)
718: throws com.liferay.portal.SystemException,
719: com.liferay.portal.PortalException;
720:
721: public com.liferay.portal.model.User updatePasswordManually(
722: long userId, java.lang.String password,
723: boolean passwordEncrypted, boolean passwordReset,
724: java.util.Date passwordModifiedDate)
725: throws com.liferay.portal.SystemException,
726: com.liferay.portal.PortalException;
727:
728: public void updatePasswordReset(long userId, boolean passwordReset)
729: throws com.liferay.portal.SystemException,
730: com.liferay.portal.PortalException;
731:
732: public void updatePortrait(long userId, byte[] bytes)
733: throws com.liferay.portal.SystemException,
734: com.liferay.portal.PortalException;
735:
736: public com.liferay.portal.model.User updateUser(long userId,
737: java.lang.String oldPassword, boolean passwordReset,
738: java.lang.String screenName, java.lang.String emailAddress,
739: java.lang.String languageId, java.lang.String timeZoneId,
740: java.lang.String greeting, java.lang.String comments,
741: java.lang.String firstName, java.lang.String middleName,
742: java.lang.String lastName, int prefixId, int suffixId,
743: boolean male, int birthdayMonth, int birthdayDay,
744: int birthdayYear, java.lang.String smsSn,
745: java.lang.String aimSn, java.lang.String icqSn,
746: java.lang.String jabberSn, java.lang.String msnSn,
747: java.lang.String skypeSn, java.lang.String ymSn,
748: java.lang.String jobTitle, long[] organizationIds)
749: throws com.liferay.portal.SystemException,
750: com.liferay.portal.PortalException;
751:
752: public com.liferay.portal.model.User updateUser(long userId,
753: java.lang.String oldPassword,
754: java.lang.String newPassword1,
755: java.lang.String newPassword2, boolean passwordReset,
756: java.lang.String screenName, java.lang.String emailAddress,
757: java.lang.String languageId, java.lang.String timeZoneId,
758: java.lang.String greeting, java.lang.String comments,
759: java.lang.String firstName, java.lang.String middleName,
760: java.lang.String lastName, int prefixId, int suffixId,
761: boolean male, int birthdayMonth, int birthdayDay,
762: int birthdayYear, java.lang.String smsSn,
763: java.lang.String aimSn, java.lang.String icqSn,
764: java.lang.String jabberSn, java.lang.String msnSn,
765: java.lang.String skypeSn, java.lang.String ymSn,
766: java.lang.String jobTitle, long[] organizationIds)
767: throws com.liferay.portal.SystemException,
768: com.liferay.portal.PortalException;
769: }
|