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
071 public java.util.Date getBirthday()
072 throws com.liferay.portal.kernel.exception.PortalException;
073
074
079 public java.lang.String getCompanyMx()
080 throws com.liferay.portal.kernel.exception.PortalException;
081
082
088 public com.liferay.portal.model.Contact getContact()
089 throws com.liferay.portal.kernel.exception.PortalException;
090
091
097 public java.lang.String getDigest(java.lang.String password);
098
099
106 public java.lang.String getDisplayEmailAddress();
107
108
134 @java.lang.Deprecated()
135 public java.lang.String getDisplayURL(java.lang.String portalURL,
136 java.lang.String mainPath)
137 throws com.liferay.portal.kernel.exception.PortalException;
138
139
172 @java.lang.Deprecated()
173 public java.lang.String getDisplayURL(java.lang.String portalURL,
174 java.lang.String mainPath, boolean privateLayout)
175 throws com.liferay.portal.kernel.exception.PortalException;
176
177
201 public java.lang.String getDisplayURL(
202 com.liferay.portal.theme.ThemeDisplay themeDisplay)
203 throws com.liferay.portal.kernel.exception.PortalException;
204
205
236 public java.lang.String getDisplayURL(
237 com.liferay.portal.theme.ThemeDisplay themeDisplay,
238 boolean privateLayout)
239 throws com.liferay.portal.kernel.exception.PortalException;
240
241
246 public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses();
247
248
254 public boolean getFemale()
255 throws com.liferay.portal.kernel.exception.PortalException;
256
257
262 @com.liferay.portal.kernel.bean.AutoEscape()
263 public java.lang.String getFullName();
264
265
270 @com.liferay.portal.kernel.bean.AutoEscape()
271 public java.lang.String getFullName(boolean usePrefix, boolean useSuffix);
272
273 public com.liferay.portal.model.Group getGroup();
274
275 public long getGroupId();
276
277 public long[] getGroupIds();
278
279 public java.util.List<com.liferay.portal.model.Group> getGroups();
280
281 public java.lang.String getInitials();
282
283 public java.util.Locale getLocale();
284
285 public java.lang.String getLogin()
286 throws com.liferay.portal.kernel.exception.PortalException;
287
288
294 public boolean getMale()
295 throws com.liferay.portal.kernel.exception.PortalException;
296
297 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups()
298 throws com.liferay.portal.kernel.exception.PortalException;
299
300 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
301 int max) throws com.liferay.portal.kernel.exception.PortalException;
302
303 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
304 java.lang.String[] classNames, int max)
305 throws com.liferay.portal.kernel.exception.PortalException;
306
307 public long[] getOrganizationIds()
308 throws com.liferay.portal.kernel.exception.PortalException;
309
310 public long[] getOrganizationIds(boolean includeAdministrative)
311 throws com.liferay.portal.kernel.exception.PortalException;
312
313 public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
314 throws com.liferay.portal.kernel.exception.PortalException;
315
316 public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
317 boolean includeAdministrative)
318 throws com.liferay.portal.kernel.exception.PortalException;
319
320 public java.lang.String getOriginalEmailAddress();
321
322 public boolean getPasswordModified();
323
324 public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
325 throws com.liferay.portal.kernel.exception.PortalException;
326
327 public java.lang.String getPasswordUnencrypted();
328
329 public java.util.List<com.liferay.portal.model.Phone> getPhones();
330
331 public java.lang.String getPortraitURL(
332 com.liferay.portal.theme.ThemeDisplay themeDisplay)
333 throws com.liferay.portal.kernel.exception.PortalException;
334
335 public int getPrivateLayoutsPageCount()
336 throws com.liferay.portal.kernel.exception.PortalException;
337
338 public int getPublicLayoutsPageCount()
339 throws com.liferay.portal.kernel.exception.PortalException;
340
341 public java.util.Set<java.lang.String> getReminderQueryQuestions()
342 throws com.liferay.portal.kernel.exception.PortalException;
343
344 public com.liferay.portal.kernel.util.RemotePreference getRemotePreference(
345 java.lang.String name);
346
347 public java.lang.Iterable<com.liferay.portal.kernel.util.RemotePreference> getRemotePreferences();
348
349 public long[] getRoleIds();
350
351 public java.util.List<com.liferay.portal.model.Role> getRoles();
352
353 public java.util.List<com.liferay.portal.model.Group> getSiteGroups()
354 throws com.liferay.portal.kernel.exception.PortalException;
355
356 public java.util.List<com.liferay.portal.model.Group> getSiteGroups(
357 boolean includeAdministrative)
358 throws com.liferay.portal.kernel.exception.PortalException;
359
360 public long[] getTeamIds();
361
362 public java.util.List<com.liferay.portal.model.Team> getTeams();
363
364 public java.util.TimeZone getTimeZone();
365
366 public java.util.Date getUnlockDate()
367 throws com.liferay.portal.kernel.exception.PortalException;
368
369 public java.util.Date getUnlockDate(
370 com.liferay.portal.model.PasswordPolicy passwordPolicy);
371
372 public long[] getUserGroupIds();
373
374 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups();
375
376 public java.util.List<com.liferay.portal.model.Website> getWebsites();
377
378 public boolean hasCompanyMx()
379 throws com.liferay.portal.kernel.exception.PortalException;
380
381 public boolean hasCompanyMx(java.lang.String emailAddress)
382 throws com.liferay.portal.kernel.exception.PortalException;
383
384 public boolean hasMySites()
385 throws com.liferay.portal.kernel.exception.PortalException;
386
387 public boolean hasOrganization();
388
389 public boolean hasPrivateLayouts()
390 throws com.liferay.portal.kernel.exception.PortalException;
391
392 public boolean hasPublicLayouts()
393 throws com.liferay.portal.kernel.exception.PortalException;
394
395 public boolean hasReminderQuery();
396
397 public boolean isActive();
398
399 public boolean isEmailAddressComplete();
400
401 public boolean isEmailAddressVerificationComplete();
402
403 public boolean isFemale()
404 throws com.liferay.portal.kernel.exception.PortalException;
405
406 public boolean isMale()
407 throws com.liferay.portal.kernel.exception.PortalException;
408
409 public boolean isPasswordModified();
410
411 public boolean isReminderQueryComplete();
412
413 public boolean isSetupComplete();
414
415 public boolean isTermsOfUseComplete();
416
417 public void setPasswordModified(boolean passwordModified);
418
419 public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
420 }