001
014
015 package com.liferay.portal.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.util.Accessor;
020
021
030 @ProviderType
031 public interface User extends UserModel, PersistedModel {
032
037 public static final Accessor<User, Long> USER_ID_ACCESSOR = new Accessor<User, Long>() {
038 @Override
039 public Long get(User user) {
040 return user.getUserId();
041 }
042
043 @Override
044 public Class<Long> getAttributeClass() {
045 return Long.class;
046 }
047
048 @Override
049 public Class<User> getTypeClass() {
050 return User.class;
051 }
052 };
053
054 public void addRemotePreference(
055 com.liferay.portal.kernel.util.RemotePreference remotePreference);
056
057 public com.liferay.portal.model.Contact fetchContact();
058
059
064 public java.util.List<com.liferay.portal.model.Address> getAddresses();
065
066
072 public java.util.Date getBirthday()
073 throws com.liferay.portal.kernel.exception.PortalException;
074
075
081 public java.lang.String getCompanyMx()
082 throws com.liferay.portal.kernel.exception.PortalException;
083
084
091 public com.liferay.portal.model.Contact getContact()
092 throws com.liferay.portal.kernel.exception.PortalException;
093
094
100 public java.lang.String getDigest(java.lang.String password);
101
102
109 public java.lang.String getDisplayEmailAddress();
110
111
138 @java.lang.Deprecated()
139 public java.lang.String getDisplayURL(java.lang.String portalURL,
140 java.lang.String mainPath)
141 throws com.liferay.portal.kernel.exception.PortalException;
142
143
176 @java.lang.Deprecated()
177 public java.lang.String getDisplayURL(java.lang.String portalURL,
178 java.lang.String mainPath, boolean privateLayout)
179 throws com.liferay.portal.kernel.exception.PortalException;
180
181
206 public java.lang.String getDisplayURL(
207 com.liferay.portal.theme.ThemeDisplay themeDisplay)
208 throws com.liferay.portal.kernel.exception.PortalException;
209
210
241 public java.lang.String getDisplayURL(
242 com.liferay.portal.theme.ThemeDisplay themeDisplay,
243 boolean privateLayout)
244 throws com.liferay.portal.kernel.exception.PortalException;
245
246
251 public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses();
252
253
260 public boolean getFemale()
261 throws com.liferay.portal.kernel.exception.PortalException;
262
263
268 @com.liferay.portal.kernel.bean.AutoEscape()
269 public java.lang.String getFullName();
270
271
276 @com.liferay.portal.kernel.bean.AutoEscape()
277 public java.lang.String getFullName(boolean usePrefix, boolean useSuffix);
278
279 public com.liferay.portal.model.Group getGroup();
280
281 public long getGroupId();
282
283 public long[] getGroupIds();
284
285 public java.util.List<com.liferay.portal.model.Group> getGroups();
286
287 public java.util.Locale getLocale();
288
289 public java.lang.String getLogin()
290 throws com.liferay.portal.kernel.exception.PortalException;
291
292
299 public boolean getMale()
300 throws com.liferay.portal.kernel.exception.PortalException;
301
302 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups()
303 throws com.liferay.portal.kernel.exception.PortalException;
304
305 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
306 int max) throws com.liferay.portal.kernel.exception.PortalException;
307
308 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
309 java.lang.String[] classNames, int max)
310 throws com.liferay.portal.kernel.exception.PortalException;
311
312
315 @java.lang.Deprecated()
316 public java.util.List<com.liferay.portal.model.Group> getMySites()
317 throws com.liferay.portal.kernel.exception.PortalException;
318
319
322 @java.lang.Deprecated()
323 public java.util.List<com.liferay.portal.model.Group> getMySites(
324 boolean includeControlPanel, int max)
325 throws com.liferay.portal.kernel.exception.PortalException;
326
327
330 @java.lang.Deprecated()
331 public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
332 throws com.liferay.portal.kernel.exception.PortalException;
333
334
338 @java.lang.Deprecated()
339 public java.util.List<com.liferay.portal.model.Group> getMySites(
340 java.lang.String[] classNames, boolean includeControlPanel, int max)
341 throws com.liferay.portal.kernel.exception.PortalException;
342
343
347 @java.lang.Deprecated()
348 public java.util.List<com.liferay.portal.model.Group> getMySites(
349 java.lang.String[] classNames, int max)
350 throws com.liferay.portal.kernel.exception.PortalException;
351
352 public long[] getOrganizationIds()
353 throws com.liferay.portal.kernel.exception.PortalException;
354
355 public long[] getOrganizationIds(boolean includeAdministrative)
356 throws com.liferay.portal.kernel.exception.PortalException;
357
358 public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
359 throws com.liferay.portal.kernel.exception.PortalException;
360
361 public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
362 boolean includeAdministrative)
363 throws com.liferay.portal.kernel.exception.PortalException;
364
365 public java.lang.String getOriginalEmailAddress();
366
367 public boolean getPasswordModified();
368
369 public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
370 throws com.liferay.portal.kernel.exception.PortalException;
371
372 public java.lang.String getPasswordUnencrypted();
373
374 public java.util.List<com.liferay.portal.model.Phone> getPhones();
375
376 public java.lang.String getPortraitURL(
377 com.liferay.portal.theme.ThemeDisplay themeDisplay)
378 throws com.liferay.portal.kernel.exception.PortalException;
379
380 public int getPrivateLayoutsPageCount()
381 throws com.liferay.portal.kernel.exception.PortalException;
382
383 public int getPublicLayoutsPageCount()
384 throws com.liferay.portal.kernel.exception.PortalException;
385
386 public java.util.Set<java.lang.String> getReminderQueryQuestions()
387 throws com.liferay.portal.kernel.exception.PortalException;
388
389 public com.liferay.portal.kernel.util.RemotePreference getRemotePreference(
390 java.lang.String name);
391
392 public java.lang.Iterable<com.liferay.portal.kernel.util.RemotePreference> getRemotePreferences();
393
394 public long[] getRoleIds();
395
396 public java.util.List<com.liferay.portal.model.Role> getRoles();
397
398 public java.util.List<com.liferay.portal.model.Group> getSiteGroups()
399 throws com.liferay.portal.kernel.exception.PortalException;
400
401 public java.util.List<com.liferay.portal.model.Group> getSiteGroups(
402 boolean includeAdministrative)
403 throws com.liferay.portal.kernel.exception.PortalException;
404
405 public long[] getTeamIds();
406
407 public java.util.List<com.liferay.portal.model.Team> getTeams();
408
409 public java.util.TimeZone getTimeZone();
410
411 public java.util.Date getUnlockDate()
412 throws com.liferay.portal.kernel.exception.PortalException;
413
414 public java.util.Date getUnlockDate(
415 com.liferay.portal.model.PasswordPolicy passwordPolicy);
416
417 public long[] getUserGroupIds();
418
419 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups();
420
421 public java.util.List<com.liferay.portal.model.Website> getWebsites();
422
423 public boolean hasCompanyMx()
424 throws com.liferay.portal.kernel.exception.PortalException;
425
426 public boolean hasCompanyMx(java.lang.String emailAddress)
427 throws com.liferay.portal.kernel.exception.PortalException;
428
429 public boolean hasMySites()
430 throws com.liferay.portal.kernel.exception.PortalException;
431
432 public boolean hasOrganization();
433
434 public boolean hasPrivateLayouts()
435 throws com.liferay.portal.kernel.exception.PortalException;
436
437 public boolean hasPublicLayouts()
438 throws com.liferay.portal.kernel.exception.PortalException;
439
440 public boolean hasReminderQuery();
441
442 public boolean isActive();
443
444 public boolean isEmailAddressComplete();
445
446 public boolean isEmailAddressVerificationComplete();
447
448 public boolean isFemale()
449 throws com.liferay.portal.kernel.exception.PortalException;
450
451 public boolean isMale()
452 throws com.liferay.portal.kernel.exception.PortalException;
453
454 public boolean isPasswordModified();
455
456 public boolean isReminderQueryComplete();
457
458 public boolean isSetupComplete();
459
460 public boolean isTermsOfUseComplete();
461
462 public void setPasswordModified(boolean passwordModified);
463
464 public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
465 }