001
014
015 package com.liferay.portal.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
028 @ProviderType
029 public interface User extends UserModel, PersistedModel {
030
035 public void addRemotePreference(
036 com.liferay.portal.kernel.util.RemotePreference remotePreference);
037
038 public com.liferay.portal.model.Contact fetchContact();
039
040
045 public java.util.List<com.liferay.portal.model.Address> getAddresses();
046
047
053 public java.util.Date getBirthday()
054 throws com.liferay.portal.kernel.exception.PortalException;
055
056
062 public java.lang.String getCompanyMx()
063 throws com.liferay.portal.kernel.exception.PortalException;
064
065
072 public com.liferay.portal.model.Contact getContact()
073 throws com.liferay.portal.kernel.exception.PortalException;
074
075
081 public java.lang.String getDigest(java.lang.String password);
082
083
090 public java.lang.String getDisplayEmailAddress();
091
092
119 @java.lang.Deprecated()
120 public java.lang.String getDisplayURL(java.lang.String portalURL,
121 java.lang.String mainPath)
122 throws com.liferay.portal.kernel.exception.PortalException;
123
124
157 @java.lang.Deprecated()
158 public java.lang.String getDisplayURL(java.lang.String portalURL,
159 java.lang.String mainPath, boolean privateLayout)
160 throws com.liferay.portal.kernel.exception.PortalException;
161
162
187 public java.lang.String getDisplayURL(
188 com.liferay.portal.theme.ThemeDisplay themeDisplay)
189 throws com.liferay.portal.kernel.exception.PortalException;
190
191
222 public java.lang.String getDisplayURL(
223 com.liferay.portal.theme.ThemeDisplay themeDisplay,
224 boolean privateLayout)
225 throws com.liferay.portal.kernel.exception.PortalException;
226
227
232 public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses();
233
234
241 public boolean getFemale()
242 throws com.liferay.portal.kernel.exception.PortalException;
243
244
249 @com.liferay.portal.kernel.bean.AutoEscape()
250 public java.lang.String getFullName();
251
252
257 @com.liferay.portal.kernel.bean.AutoEscape()
258 public java.lang.String getFullName(boolean usePrefix, boolean useSuffix);
259
260 public com.liferay.portal.model.Group getGroup();
261
262 public long getGroupId();
263
264 public long[] getGroupIds();
265
266 public java.util.List<com.liferay.portal.model.Group> getGroups();
267
268 public java.util.Locale getLocale();
269
270 public java.lang.String getLogin()
271 throws com.liferay.portal.kernel.exception.PortalException;
272
273
280 public boolean getMale()
281 throws com.liferay.portal.kernel.exception.PortalException;
282
283 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups()
284 throws com.liferay.portal.kernel.exception.PortalException;
285
286 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
287 boolean includeControlPanel, int max)
288 throws com.liferay.portal.kernel.exception.PortalException;
289
290 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
291 int max) throws com.liferay.portal.kernel.exception.PortalException;
292
293 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
294 java.lang.String[] classNames, boolean includeControlPanel, int max)
295 throws com.liferay.portal.kernel.exception.PortalException;
296
297 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
298 java.lang.String[] classNames, int max)
299 throws com.liferay.portal.kernel.exception.PortalException;
300
301
304 @java.lang.Deprecated()
305 public java.util.List<com.liferay.portal.model.Group> getMySites()
306 throws com.liferay.portal.kernel.exception.PortalException;
307
308
312 @java.lang.Deprecated()
313 public java.util.List<com.liferay.portal.model.Group> getMySites(
314 boolean includeControlPanel, int max)
315 throws com.liferay.portal.kernel.exception.PortalException;
316
317
320 @java.lang.Deprecated()
321 public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
322 throws com.liferay.portal.kernel.exception.PortalException;
323
324
328 @java.lang.Deprecated()
329 public java.util.List<com.liferay.portal.model.Group> getMySites(
330 java.lang.String[] classNames, boolean includeControlPanel, int max)
331 throws com.liferay.portal.kernel.exception.PortalException;
332
333
337 @java.lang.Deprecated()
338 public java.util.List<com.liferay.portal.model.Group> getMySites(
339 java.lang.String[] classNames, int max)
340 throws com.liferay.portal.kernel.exception.PortalException;
341
342 public long[] getOrganizationIds()
343 throws com.liferay.portal.kernel.exception.PortalException;
344
345 public long[] getOrganizationIds(boolean includeAdministrative)
346 throws com.liferay.portal.kernel.exception.PortalException;
347
348 public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
349 throws com.liferay.portal.kernel.exception.PortalException;
350
351 public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
352 boolean includeAdministrative)
353 throws com.liferay.portal.kernel.exception.PortalException;
354
355 public java.lang.String getOriginalEmailAddress();
356
357 public boolean getPasswordModified();
358
359 public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
360 throws com.liferay.portal.kernel.exception.PortalException;
361
362 public java.lang.String getPasswordUnencrypted();
363
364 public java.util.List<com.liferay.portal.model.Phone> getPhones();
365
366 public java.lang.String getPortraitURL(
367 com.liferay.portal.theme.ThemeDisplay themeDisplay)
368 throws com.liferay.portal.kernel.exception.PortalException;
369
370 public int getPrivateLayoutsPageCount()
371 throws com.liferay.portal.kernel.exception.PortalException;
372
373 public int getPublicLayoutsPageCount()
374 throws com.liferay.portal.kernel.exception.PortalException;
375
376 public java.util.Set<java.lang.String> getReminderQueryQuestions()
377 throws com.liferay.portal.kernel.exception.PortalException;
378
379 public com.liferay.portal.kernel.util.RemotePreference getRemotePreference(
380 java.lang.String name);
381
382 public java.lang.Iterable<com.liferay.portal.kernel.util.RemotePreference> getRemotePreferences();
383
384 public long[] getRoleIds();
385
386 public java.util.List<com.liferay.portal.model.Role> getRoles();
387
388 public java.util.List<com.liferay.portal.model.Group> getSiteGroups()
389 throws com.liferay.portal.kernel.exception.PortalException;
390
391 public java.util.List<com.liferay.portal.model.Group> getSiteGroups(
392 boolean includeAdministrative)
393 throws com.liferay.portal.kernel.exception.PortalException;
394
395 public long[] getTeamIds();
396
397 public java.util.List<com.liferay.portal.model.Team> getTeams();
398
399 public java.util.TimeZone getTimeZone();
400
401 public java.util.Date getUnlockDate()
402 throws com.liferay.portal.kernel.exception.PortalException;
403
404 public java.util.Date getUnlockDate(
405 com.liferay.portal.model.PasswordPolicy passwordPolicy);
406
407 public long[] getUserGroupIds();
408
409 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups();
410
411 public java.util.List<com.liferay.portal.model.Website> getWebsites();
412
413 public boolean hasCompanyMx()
414 throws com.liferay.portal.kernel.exception.PortalException;
415
416 public boolean hasCompanyMx(java.lang.String emailAddress)
417 throws com.liferay.portal.kernel.exception.PortalException;
418
419 public boolean hasMySites()
420 throws com.liferay.portal.kernel.exception.PortalException;
421
422 public boolean hasOrganization();
423
424 public boolean hasPrivateLayouts()
425 throws com.liferay.portal.kernel.exception.PortalException;
426
427 public boolean hasPublicLayouts()
428 throws com.liferay.portal.kernel.exception.PortalException;
429
430 public boolean hasReminderQuery();
431
432 public boolean isActive();
433
434 public boolean isEmailAddressComplete();
435
436 public boolean isEmailAddressVerificationComplete();
437
438 public boolean isFemale()
439 throws com.liferay.portal.kernel.exception.PortalException;
440
441 public boolean isMale()
442 throws com.liferay.portal.kernel.exception.PortalException;
443
444 public boolean isPasswordModified();
445
446 public boolean isReminderQueryComplete();
447
448 public boolean isSetupComplete();
449
450 public boolean isTermsOfUseComplete();
451
452 public void setPasswordModified(boolean passwordModified);
453
454 public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
455 }