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
043 public java.util.List<com.liferay.portal.model.Address> getAddresses();
044
045
051 public java.util.Date getBirthday()
052 throws com.liferay.portal.kernel.exception.PortalException;
053
054
060 public java.lang.String getCompanyMx()
061 throws com.liferay.portal.kernel.exception.PortalException;
062
063
070 public com.liferay.portal.model.Contact getContact()
071 throws com.liferay.portal.kernel.exception.PortalException;
072
073
079 public java.lang.String getDigest(java.lang.String password);
080
081
088 public java.lang.String getDisplayEmailAddress();
089
090
117 @java.lang.Deprecated()
118 public java.lang.String getDisplayURL(java.lang.String portalURL,
119 java.lang.String mainPath)
120 throws com.liferay.portal.kernel.exception.PortalException;
121
122
155 @java.lang.Deprecated()
156 public java.lang.String getDisplayURL(java.lang.String portalURL,
157 java.lang.String mainPath, boolean privateLayout)
158 throws com.liferay.portal.kernel.exception.PortalException;
159
160
185 public java.lang.String getDisplayURL(
186 com.liferay.portal.theme.ThemeDisplay themeDisplay)
187 throws com.liferay.portal.kernel.exception.PortalException;
188
189
220 public java.lang.String getDisplayURL(
221 com.liferay.portal.theme.ThemeDisplay themeDisplay,
222 boolean privateLayout)
223 throws com.liferay.portal.kernel.exception.PortalException;
224
225
230 public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses();
231
232
239 public boolean getFemale()
240 throws com.liferay.portal.kernel.exception.PortalException;
241
242
247 @com.liferay.portal.kernel.bean.AutoEscape()
248 public java.lang.String getFullName();
249
250 public com.liferay.portal.model.Group getGroup()
251 throws com.liferay.portal.kernel.exception.PortalException;
252
253 public long getGroupId()
254 throws com.liferay.portal.kernel.exception.PortalException;
255
256 public long[] getGroupIds();
257
258 public java.util.List<com.liferay.portal.model.Group> getGroups();
259
260 public java.util.Locale getLocale();
261
262 public java.lang.String getLogin()
263 throws com.liferay.portal.kernel.exception.PortalException;
264
265
272 public boolean getMale()
273 throws com.liferay.portal.kernel.exception.PortalException;
274
275 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups()
276 throws com.liferay.portal.kernel.exception.PortalException;
277
278 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
279 boolean includeControlPanel, int max)
280 throws com.liferay.portal.kernel.exception.PortalException;
281
282 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
283 int max) throws com.liferay.portal.kernel.exception.PortalException;
284
285 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
286 java.lang.String[] classNames, boolean includeControlPanel, int max)
287 throws com.liferay.portal.kernel.exception.PortalException;
288
289 public java.util.List<com.liferay.portal.model.Group> getMySiteGroups(
290 java.lang.String[] classNames, int max)
291 throws com.liferay.portal.kernel.exception.PortalException;
292
293
296 @java.lang.Deprecated()
297 public java.util.List<com.liferay.portal.model.Group> getMySites()
298 throws com.liferay.portal.kernel.exception.PortalException;
299
300
304 @java.lang.Deprecated()
305 public java.util.List<com.liferay.portal.model.Group> getMySites(
306 boolean includeControlPanel, int max)
307 throws com.liferay.portal.kernel.exception.PortalException;
308
309
312 @java.lang.Deprecated()
313 public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
314 throws com.liferay.portal.kernel.exception.PortalException;
315
316
320 @java.lang.Deprecated()
321 public java.util.List<com.liferay.portal.model.Group> getMySites(
322 java.lang.String[] classNames, boolean includeControlPanel, int max)
323 throws com.liferay.portal.kernel.exception.PortalException;
324
325
329 @java.lang.Deprecated()
330 public java.util.List<com.liferay.portal.model.Group> getMySites(
331 java.lang.String[] classNames, int max)
332 throws com.liferay.portal.kernel.exception.PortalException;
333
334 public long[] getOrganizationIds()
335 throws com.liferay.portal.kernel.exception.PortalException;
336
337 public long[] getOrganizationIds(boolean includeAdministrative)
338 throws com.liferay.portal.kernel.exception.PortalException;
339
340 public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
341 throws com.liferay.portal.kernel.exception.PortalException;
342
343 public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
344 boolean includeAdministrative)
345 throws com.liferay.portal.kernel.exception.PortalException;
346
347 public boolean getPasswordModified();
348
349 public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
350 throws com.liferay.portal.kernel.exception.PortalException;
351
352 public java.lang.String getPasswordUnencrypted();
353
354 public java.util.List<com.liferay.portal.model.Phone> getPhones();
355
356 public java.lang.String getPortraitURL(
357 com.liferay.portal.theme.ThemeDisplay themeDisplay)
358 throws com.liferay.portal.kernel.exception.PortalException;
359
360 public int getPrivateLayoutsPageCount()
361 throws com.liferay.portal.kernel.exception.PortalException;
362
363 public int getPublicLayoutsPageCount()
364 throws com.liferay.portal.kernel.exception.PortalException;
365
366 public java.util.Set<java.lang.String> getReminderQueryQuestions()
367 throws com.liferay.portal.kernel.exception.PortalException;
368
369 public com.liferay.portal.kernel.util.RemotePreference getRemotePreference(
370 java.lang.String name);
371
372 public java.lang.Iterable<com.liferay.portal.kernel.util.RemotePreference> getRemotePreferences();
373
374 public long[] getRoleIds();
375
376 public java.util.List<com.liferay.portal.model.Role> getRoles();
377
378 public java.util.List<com.liferay.portal.model.Group> getSiteGroups()
379 throws com.liferay.portal.kernel.exception.PortalException;
380
381 public java.util.List<com.liferay.portal.model.Group> getSiteGroups(
382 boolean includeAdministrative)
383 throws com.liferay.portal.kernel.exception.PortalException;
384
385 public long[] getTeamIds();
386
387 public java.util.List<com.liferay.portal.model.Team> getTeams();
388
389 public java.util.TimeZone getTimeZone();
390
391 public long[] getUserGroupIds();
392
393 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups();
394
395 public java.util.List<com.liferay.portal.model.Website> getWebsites();
396
397 public boolean hasCompanyMx()
398 throws com.liferay.portal.kernel.exception.PortalException;
399
400 public boolean hasCompanyMx(java.lang.String emailAddress)
401 throws com.liferay.portal.kernel.exception.PortalException;
402
403 public boolean hasMySites()
404 throws com.liferay.portal.kernel.exception.PortalException;
405
406 public boolean hasOrganization();
407
408 public boolean hasPrivateLayouts()
409 throws com.liferay.portal.kernel.exception.PortalException;
410
411 public boolean hasPublicLayouts()
412 throws com.liferay.portal.kernel.exception.PortalException;
413
414 public boolean hasReminderQuery();
415
416 public boolean isActive();
417
418 public boolean isEmailAddressComplete();
419
420 public boolean isEmailAddressVerificationComplete();
421
422 public boolean isFemale()
423 throws com.liferay.portal.kernel.exception.PortalException;
424
425 public boolean isMale()
426 throws com.liferay.portal.kernel.exception.PortalException;
427
428 public boolean isPasswordModified();
429
430 public boolean isReminderQueryComplete();
431
432 public boolean isSetupComplete();
433
434 public boolean isTermsOfUseComplete();
435
436 public void setPasswordModified(boolean passwordModified);
437
438 public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
439 }