/portal-service/src/com/liferay/portal/model/User.java

https://github.com/christine-huang/liferay-portal · Java · 244 lines · 155 code · 62 blank · 27 comment · 0 complexity · efae3a6a573c363b4da8a108be7b6042 MD5 · raw file

  1. /**
  2. * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
  3. *
  4. * This library is free software; you can redistribute it and/or modify it under
  5. * the terms of the GNU Lesser General Public License as published by the Free
  6. * Software Foundation; either version 2.1 of the License, or (at your option)
  7. * any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  12. * details.
  13. */
  14. package com.liferay.portal.model;
  15. /**
  16. * The extended model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of this class.
  17. *
  18. * @author Brian Wing Shun Chan
  19. * @see UserModel
  20. * @see com.liferay.portal.model.impl.UserImpl
  21. * @see com.liferay.portal.model.impl.UserModelImpl
  22. * @generated
  23. */
  24. public interface User extends UserModel, PersistedModel {
  25. /*
  26. * NOTE FOR DEVELOPERS:
  27. *
  28. * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.UserImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
  29. */
  30. public java.util.List<com.liferay.portal.model.Address> getAddresses()
  31. throws com.liferay.portal.kernel.exception.SystemException;
  32. public java.util.Date getBirthday()
  33. throws com.liferay.portal.kernel.exception.PortalException,
  34. com.liferay.portal.kernel.exception.SystemException;
  35. public java.lang.String getCompanyMx()
  36. throws com.liferay.portal.kernel.exception.PortalException,
  37. com.liferay.portal.kernel.exception.SystemException;
  38. public com.liferay.portal.model.Contact getContact()
  39. throws com.liferay.portal.kernel.exception.PortalException,
  40. com.liferay.portal.kernel.exception.SystemException;
  41. public java.lang.String getDigest();
  42. public java.lang.String getDigest(java.lang.String password);
  43. public java.lang.String getDisplayEmailAddress();
  44. public java.lang.String getDisplayURL(java.lang.String portalURL,
  45. java.lang.String mainPath)
  46. throws com.liferay.portal.kernel.exception.PortalException,
  47. com.liferay.portal.kernel.exception.SystemException;
  48. public java.lang.String getDisplayURL(java.lang.String portalURL,
  49. java.lang.String mainPath, boolean privateLayout)
  50. throws com.liferay.portal.kernel.exception.PortalException,
  51. com.liferay.portal.kernel.exception.SystemException;
  52. public java.lang.String getDisplayURL(
  53. com.liferay.portal.theme.ThemeDisplay themeDisplay)
  54. throws com.liferay.portal.kernel.exception.PortalException,
  55. com.liferay.portal.kernel.exception.SystemException;
  56. public java.lang.String getDisplayURL(
  57. com.liferay.portal.theme.ThemeDisplay themeDisplay,
  58. boolean privateLayout)
  59. throws com.liferay.portal.kernel.exception.PortalException,
  60. com.liferay.portal.kernel.exception.SystemException;
  61. public java.util.List<com.liferay.portal.model.EmailAddress> getEmailAddresses()
  62. throws com.liferay.portal.kernel.exception.SystemException;
  63. public boolean getFemale()
  64. throws com.liferay.portal.kernel.exception.PortalException,
  65. com.liferay.portal.kernel.exception.SystemException;
  66. @com.liferay.portal.kernel.bean.AutoEscape()
  67. public java.lang.String getFullName();
  68. public com.liferay.portal.model.Group getGroup()
  69. throws com.liferay.portal.kernel.exception.PortalException,
  70. com.liferay.portal.kernel.exception.SystemException;
  71. public long getGroupId()
  72. throws com.liferay.portal.kernel.exception.PortalException,
  73. com.liferay.portal.kernel.exception.SystemException;
  74. public long[] getGroupIds()
  75. throws com.liferay.portal.kernel.exception.SystemException;
  76. public java.util.List<com.liferay.portal.model.Group> getGroups()
  77. throws com.liferay.portal.kernel.exception.SystemException;
  78. public java.util.Locale getLocale();
  79. public java.lang.String getLogin()
  80. throws com.liferay.portal.kernel.exception.PortalException,
  81. com.liferay.portal.kernel.exception.SystemException;
  82. public boolean getMale()
  83. throws com.liferay.portal.kernel.exception.PortalException,
  84. com.liferay.portal.kernel.exception.SystemException;
  85. public java.util.List<com.liferay.portal.model.Group> getMySites()
  86. throws com.liferay.portal.kernel.exception.PortalException,
  87. com.liferay.portal.kernel.exception.SystemException;
  88. public java.util.List<com.liferay.portal.model.Group> getMySites(
  89. boolean includeControlPanel, int max)
  90. throws com.liferay.portal.kernel.exception.PortalException,
  91. com.liferay.portal.kernel.exception.SystemException;
  92. public java.util.List<com.liferay.portal.model.Group> getMySites(int max)
  93. throws com.liferay.portal.kernel.exception.PortalException,
  94. com.liferay.portal.kernel.exception.SystemException;
  95. public java.util.List<com.liferay.portal.model.Group> getMySites(
  96. java.lang.String[] classNames, boolean includeControlPanel, int max)
  97. throws com.liferay.portal.kernel.exception.PortalException,
  98. com.liferay.portal.kernel.exception.SystemException;
  99. public java.util.List<com.liferay.portal.model.Group> getMySites(
  100. java.lang.String[] classNames, int max)
  101. throws com.liferay.portal.kernel.exception.PortalException,
  102. com.liferay.portal.kernel.exception.SystemException;
  103. public long[] getOrganizationIds()
  104. throws com.liferay.portal.kernel.exception.PortalException,
  105. com.liferay.portal.kernel.exception.SystemException;
  106. public long[] getOrganizationIds(boolean includeAdministrative)
  107. throws com.liferay.portal.kernel.exception.PortalException,
  108. com.liferay.portal.kernel.exception.SystemException;
  109. public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
  110. throws com.liferay.portal.kernel.exception.PortalException,
  111. com.liferay.portal.kernel.exception.SystemException;
  112. public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
  113. boolean includeAdministrative)
  114. throws com.liferay.portal.kernel.exception.PortalException,
  115. com.liferay.portal.kernel.exception.SystemException;
  116. public boolean getPasswordModified();
  117. public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
  118. throws com.liferay.portal.kernel.exception.PortalException,
  119. com.liferay.portal.kernel.exception.SystemException;
  120. public java.lang.String getPasswordUnencrypted();
  121. public java.util.List<com.liferay.portal.model.Phone> getPhones()
  122. throws com.liferay.portal.kernel.exception.SystemException;
  123. public java.lang.String getPortraitURL(
  124. com.liferay.portal.theme.ThemeDisplay themeDisplay)
  125. throws com.liferay.portal.kernel.exception.PortalException,
  126. com.liferay.portal.kernel.exception.SystemException;
  127. public int getPrivateLayoutsPageCount()
  128. throws com.liferay.portal.kernel.exception.PortalException,
  129. com.liferay.portal.kernel.exception.SystemException;
  130. public int getPublicLayoutsPageCount()
  131. throws com.liferay.portal.kernel.exception.PortalException,
  132. com.liferay.portal.kernel.exception.SystemException;
  133. public java.util.Set<java.lang.String> getReminderQueryQuestions()
  134. throws com.liferay.portal.kernel.exception.PortalException,
  135. com.liferay.portal.kernel.exception.SystemException;
  136. public long[] getRoleIds()
  137. throws com.liferay.portal.kernel.exception.SystemException;
  138. public java.util.List<com.liferay.portal.model.Role> getRoles()
  139. throws com.liferay.portal.kernel.exception.SystemException;
  140. public long[] getTeamIds()
  141. throws com.liferay.portal.kernel.exception.SystemException;
  142. public java.util.List<com.liferay.portal.model.Team> getTeams()
  143. throws com.liferay.portal.kernel.exception.SystemException;
  144. public java.util.TimeZone getTimeZone();
  145. public long[] getUserGroupIds()
  146. throws com.liferay.portal.kernel.exception.SystemException;
  147. public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
  148. throws com.liferay.portal.kernel.exception.SystemException;
  149. public java.util.List<com.liferay.portal.model.Website> getWebsites()
  150. throws com.liferay.portal.kernel.exception.SystemException;
  151. public boolean hasCompanyMx()
  152. throws com.liferay.portal.kernel.exception.PortalException,
  153. com.liferay.portal.kernel.exception.SystemException;
  154. public boolean hasCompanyMx(java.lang.String emailAddress)
  155. throws com.liferay.portal.kernel.exception.PortalException,
  156. com.liferay.portal.kernel.exception.SystemException;
  157. public boolean hasMySites()
  158. throws com.liferay.portal.kernel.exception.PortalException,
  159. com.liferay.portal.kernel.exception.SystemException;
  160. public boolean hasOrganization()
  161. throws com.liferay.portal.kernel.exception.PortalException,
  162. com.liferay.portal.kernel.exception.SystemException;
  163. public boolean hasPrivateLayouts()
  164. throws com.liferay.portal.kernel.exception.PortalException,
  165. com.liferay.portal.kernel.exception.SystemException;
  166. public boolean hasPublicLayouts()
  167. throws com.liferay.portal.kernel.exception.PortalException,
  168. com.liferay.portal.kernel.exception.SystemException;
  169. public boolean hasReminderQuery();
  170. public boolean isActive();
  171. public boolean isFemale()
  172. throws com.liferay.portal.kernel.exception.PortalException,
  173. com.liferay.portal.kernel.exception.SystemException;
  174. public boolean isMale()
  175. throws com.liferay.portal.kernel.exception.PortalException,
  176. com.liferay.portal.kernel.exception.SystemException;
  177. public boolean isPasswordModified();
  178. public void setLanguageId(java.lang.String languageId);
  179. public void setPasswordModified(boolean passwordModified);
  180. public void setPasswordUnencrypted(java.lang.String passwordUnencrypted);
  181. public void setTimeZoneId(java.lang.String timeZoneId);
  182. }