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

https://github.com/spreddy/liferay-portal · Java · 715 lines · 132 code · 111 blank · 472 comment · 0 complexity · 639298558d5e0134cc9f5164f5215175 MD5 · raw file

  1. /**
  2. * Copyright (c) 2000-2011 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. import com.liferay.portal.kernel.bean.AutoEscape;
  16. import com.liferay.portal.kernel.exception.SystemException;
  17. import com.liferay.portal.service.ServiceContext;
  18. import com.liferay.portlet.expando.model.ExpandoBridge;
  19. import java.io.Serializable;
  20. import java.util.Date;
  21. /**
  22. * The base model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of this class.
  23. *
  24. * <p>
  25. * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.UserModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.UserImpl}.
  26. * </p>
  27. *
  28. * @author Brian Wing Shun Chan
  29. * @see User
  30. * @see com.liferay.portal.model.impl.UserImpl
  31. * @see com.liferay.portal.model.impl.UserModelImpl
  32. * @generated
  33. */
  34. public interface UserModel extends BaseModel<User> {
  35. /*
  36. * NOTE FOR DEVELOPERS:
  37. *
  38. * Never modify or reference this interface directly. All methods that expect a user model instance should use the {@link User} interface instead.
  39. */
  40. /**
  41. * Returns the primary key of this user.
  42. *
  43. * @return the primary key of this user
  44. */
  45. public long getPrimaryKey();
  46. /**
  47. * Sets the primary key of this user.
  48. *
  49. * @param primaryKey the primary key of this user
  50. */
  51. public void setPrimaryKey(long primaryKey);
  52. /**
  53. * Returns the uuid of this user.
  54. *
  55. * @return the uuid of this user
  56. */
  57. @AutoEscape
  58. public String getUuid();
  59. /**
  60. * Sets the uuid of this user.
  61. *
  62. * @param uuid the uuid of this user
  63. */
  64. public void setUuid(String uuid);
  65. /**
  66. * Returns the user ID of this user.
  67. *
  68. * @return the user ID of this user
  69. */
  70. public long getUserId();
  71. /**
  72. * Sets the user ID of this user.
  73. *
  74. * @param userId the user ID of this user
  75. */
  76. public void setUserId(long userId);
  77. /**
  78. * Returns the user uuid of this user.
  79. *
  80. * @return the user uuid of this user
  81. * @throws SystemException if a system exception occurred
  82. */
  83. public String getUserUuid() throws SystemException;
  84. /**
  85. * Sets the user uuid of this user.
  86. *
  87. * @param userUuid the user uuid of this user
  88. */
  89. public void setUserUuid(String userUuid);
  90. /**
  91. * Returns the company ID of this user.
  92. *
  93. * @return the company ID of this user
  94. */
  95. public long getCompanyId();
  96. /**
  97. * Sets the company ID of this user.
  98. *
  99. * @param companyId the company ID of this user
  100. */
  101. public void setCompanyId(long companyId);
  102. /**
  103. * Returns the create date of this user.
  104. *
  105. * @return the create date of this user
  106. */
  107. public Date getCreateDate();
  108. /**
  109. * Sets the create date of this user.
  110. *
  111. * @param createDate the create date of this user
  112. */
  113. public void setCreateDate(Date createDate);
  114. /**
  115. * Returns the modified date of this user.
  116. *
  117. * @return the modified date of this user
  118. */
  119. public Date getModifiedDate();
  120. /**
  121. * Sets the modified date of this user.
  122. *
  123. * @param modifiedDate the modified date of this user
  124. */
  125. public void setModifiedDate(Date modifiedDate);
  126. /**
  127. * Returns the default user of this user.
  128. *
  129. * @return the default user of this user
  130. */
  131. public boolean getDefaultUser();
  132. /**
  133. * Returns <code>true</code> if this user is default user.
  134. *
  135. * @return <code>true</code> if this user is default user; <code>false</code> otherwise
  136. */
  137. public boolean isDefaultUser();
  138. /**
  139. * Sets whether this user is default user.
  140. *
  141. * @param defaultUser the default user of this user
  142. */
  143. public void setDefaultUser(boolean defaultUser);
  144. /**
  145. * Returns the contact ID of this user.
  146. *
  147. * @return the contact ID of this user
  148. */
  149. public long getContactId();
  150. /**
  151. * Sets the contact ID of this user.
  152. *
  153. * @param contactId the contact ID of this user
  154. */
  155. public void setContactId(long contactId);
  156. /**
  157. * Returns the password of this user.
  158. *
  159. * @return the password of this user
  160. */
  161. @AutoEscape
  162. public String getPassword();
  163. /**
  164. * Sets the password of this user.
  165. *
  166. * @param password the password of this user
  167. */
  168. public void setPassword(String password);
  169. /**
  170. * Returns the password encrypted of this user.
  171. *
  172. * @return the password encrypted of this user
  173. */
  174. public boolean getPasswordEncrypted();
  175. /**
  176. * Returns <code>true</code> if this user is password encrypted.
  177. *
  178. * @return <code>true</code> if this user is password encrypted; <code>false</code> otherwise
  179. */
  180. public boolean isPasswordEncrypted();
  181. /**
  182. * Sets whether this user is password encrypted.
  183. *
  184. * @param passwordEncrypted the password encrypted of this user
  185. */
  186. public void setPasswordEncrypted(boolean passwordEncrypted);
  187. /**
  188. * Returns the password reset of this user.
  189. *
  190. * @return the password reset of this user
  191. */
  192. public boolean getPasswordReset();
  193. /**
  194. * Returns <code>true</code> if this user is password reset.
  195. *
  196. * @return <code>true</code> if this user is password reset; <code>false</code> otherwise
  197. */
  198. public boolean isPasswordReset();
  199. /**
  200. * Sets whether this user is password reset.
  201. *
  202. * @param passwordReset the password reset of this user
  203. */
  204. public void setPasswordReset(boolean passwordReset);
  205. /**
  206. * Returns the password modified date of this user.
  207. *
  208. * @return the password modified date of this user
  209. */
  210. public Date getPasswordModifiedDate();
  211. /**
  212. * Sets the password modified date of this user.
  213. *
  214. * @param passwordModifiedDate the password modified date of this user
  215. */
  216. public void setPasswordModifiedDate(Date passwordModifiedDate);
  217. /**
  218. * Returns the digest of this user.
  219. *
  220. * @return the digest of this user
  221. */
  222. @AutoEscape
  223. public String getDigest();
  224. /**
  225. * Sets the digest of this user.
  226. *
  227. * @param digest the digest of this user
  228. */
  229. public void setDigest(String digest);
  230. /**
  231. * Returns the reminder query question of this user.
  232. *
  233. * @return the reminder query question of this user
  234. */
  235. @AutoEscape
  236. public String getReminderQueryQuestion();
  237. /**
  238. * Sets the reminder query question of this user.
  239. *
  240. * @param reminderQueryQuestion the reminder query question of this user
  241. */
  242. public void setReminderQueryQuestion(String reminderQueryQuestion);
  243. /**
  244. * Returns the reminder query answer of this user.
  245. *
  246. * @return the reminder query answer of this user
  247. */
  248. @AutoEscape
  249. public String getReminderQueryAnswer();
  250. /**
  251. * Sets the reminder query answer of this user.
  252. *
  253. * @param reminderQueryAnswer the reminder query answer of this user
  254. */
  255. public void setReminderQueryAnswer(String reminderQueryAnswer);
  256. /**
  257. * Returns the grace login count of this user.
  258. *
  259. * @return the grace login count of this user
  260. */
  261. public int getGraceLoginCount();
  262. /**
  263. * Sets the grace login count of this user.
  264. *
  265. * @param graceLoginCount the grace login count of this user
  266. */
  267. public void setGraceLoginCount(int graceLoginCount);
  268. /**
  269. * Returns the screen name of this user.
  270. *
  271. * @return the screen name of this user
  272. */
  273. @AutoEscape
  274. public String getScreenName();
  275. /**
  276. * Sets the screen name of this user.
  277. *
  278. * @param screenName the screen name of this user
  279. */
  280. public void setScreenName(String screenName);
  281. /**
  282. * Returns the email address of this user.
  283. *
  284. * @return the email address of this user
  285. */
  286. @AutoEscape
  287. public String getEmailAddress();
  288. /**
  289. * Sets the email address of this user.
  290. *
  291. * @param emailAddress the email address of this user
  292. */
  293. public void setEmailAddress(String emailAddress);
  294. /**
  295. * Returns the facebook ID of this user.
  296. *
  297. * @return the facebook ID of this user
  298. */
  299. public long getFacebookId();
  300. /**
  301. * Sets the facebook ID of this user.
  302. *
  303. * @param facebookId the facebook ID of this user
  304. */
  305. public void setFacebookId(long facebookId);
  306. /**
  307. * Returns the open ID of this user.
  308. *
  309. * @return the open ID of this user
  310. */
  311. @AutoEscape
  312. public String getOpenId();
  313. /**
  314. * Sets the open ID of this user.
  315. *
  316. * @param openId the open ID of this user
  317. */
  318. public void setOpenId(String openId);
  319. /**
  320. * Returns the portrait ID of this user.
  321. *
  322. * @return the portrait ID of this user
  323. */
  324. public long getPortraitId();
  325. /**
  326. * Sets the portrait ID of this user.
  327. *
  328. * @param portraitId the portrait ID of this user
  329. */
  330. public void setPortraitId(long portraitId);
  331. /**
  332. * Returns the language ID of this user.
  333. *
  334. * @return the language ID of this user
  335. */
  336. @AutoEscape
  337. public String getLanguageId();
  338. /**
  339. * Sets the language ID of this user.
  340. *
  341. * @param languageId the language ID of this user
  342. */
  343. public void setLanguageId(String languageId);
  344. /**
  345. * Returns the time zone ID of this user.
  346. *
  347. * @return the time zone ID of this user
  348. */
  349. @AutoEscape
  350. public String getTimeZoneId();
  351. /**
  352. * Sets the time zone ID of this user.
  353. *
  354. * @param timeZoneId the time zone ID of this user
  355. */
  356. public void setTimeZoneId(String timeZoneId);
  357. /**
  358. * Returns the greeting of this user.
  359. *
  360. * @return the greeting of this user
  361. */
  362. @AutoEscape
  363. public String getGreeting();
  364. /**
  365. * Sets the greeting of this user.
  366. *
  367. * @param greeting the greeting of this user
  368. */
  369. public void setGreeting(String greeting);
  370. /**
  371. * Returns the comments of this user.
  372. *
  373. * @return the comments of this user
  374. */
  375. @AutoEscape
  376. public String getComments();
  377. /**
  378. * Sets the comments of this user.
  379. *
  380. * @param comments the comments of this user
  381. */
  382. public void setComments(String comments);
  383. /**
  384. * Returns the first name of this user.
  385. *
  386. * @return the first name of this user
  387. */
  388. @AutoEscape
  389. public String getFirstName();
  390. /**
  391. * Sets the first name of this user.
  392. *
  393. * @param firstName the first name of this user
  394. */
  395. public void setFirstName(String firstName);
  396. /**
  397. * Returns the middle name of this user.
  398. *
  399. * @return the middle name of this user
  400. */
  401. @AutoEscape
  402. public String getMiddleName();
  403. /**
  404. * Sets the middle name of this user.
  405. *
  406. * @param middleName the middle name of this user
  407. */
  408. public void setMiddleName(String middleName);
  409. /**
  410. * Returns the last name of this user.
  411. *
  412. * @return the last name of this user
  413. */
  414. @AutoEscape
  415. public String getLastName();
  416. /**
  417. * Sets the last name of this user.
  418. *
  419. * @param lastName the last name of this user
  420. */
  421. public void setLastName(String lastName);
  422. /**
  423. * Returns the job title of this user.
  424. *
  425. * @return the job title of this user
  426. */
  427. @AutoEscape
  428. public String getJobTitle();
  429. /**
  430. * Sets the job title of this user.
  431. *
  432. * @param jobTitle the job title of this user
  433. */
  434. public void setJobTitle(String jobTitle);
  435. /**
  436. * Returns the login date of this user.
  437. *
  438. * @return the login date of this user
  439. */
  440. public Date getLoginDate();
  441. /**
  442. * Sets the login date of this user.
  443. *
  444. * @param loginDate the login date of this user
  445. */
  446. public void setLoginDate(Date loginDate);
  447. /**
  448. * Returns the login i p of this user.
  449. *
  450. * @return the login i p of this user
  451. */
  452. @AutoEscape
  453. public String getLoginIP();
  454. /**
  455. * Sets the login i p of this user.
  456. *
  457. * @param loginIP the login i p of this user
  458. */
  459. public void setLoginIP(String loginIP);
  460. /**
  461. * Returns the last login date of this user.
  462. *
  463. * @return the last login date of this user
  464. */
  465. public Date getLastLoginDate();
  466. /**
  467. * Sets the last login date of this user.
  468. *
  469. * @param lastLoginDate the last login date of this user
  470. */
  471. public void setLastLoginDate(Date lastLoginDate);
  472. /**
  473. * Returns the last login i p of this user.
  474. *
  475. * @return the last login i p of this user
  476. */
  477. @AutoEscape
  478. public String getLastLoginIP();
  479. /**
  480. * Sets the last login i p of this user.
  481. *
  482. * @param lastLoginIP the last login i p of this user
  483. */
  484. public void setLastLoginIP(String lastLoginIP);
  485. /**
  486. * Returns the last failed login date of this user.
  487. *
  488. * @return the last failed login date of this user
  489. */
  490. public Date getLastFailedLoginDate();
  491. /**
  492. * Sets the last failed login date of this user.
  493. *
  494. * @param lastFailedLoginDate the last failed login date of this user
  495. */
  496. public void setLastFailedLoginDate(Date lastFailedLoginDate);
  497. /**
  498. * Returns the failed login attempts of this user.
  499. *
  500. * @return the failed login attempts of this user
  501. */
  502. public int getFailedLoginAttempts();
  503. /**
  504. * Sets the failed login attempts of this user.
  505. *
  506. * @param failedLoginAttempts the failed login attempts of this user
  507. */
  508. public void setFailedLoginAttempts(int failedLoginAttempts);
  509. /**
  510. * Returns the lockout of this user.
  511. *
  512. * @return the lockout of this user
  513. */
  514. public boolean getLockout();
  515. /**
  516. * Returns <code>true</code> if this user is lockout.
  517. *
  518. * @return <code>true</code> if this user is lockout; <code>false</code> otherwise
  519. */
  520. public boolean isLockout();
  521. /**
  522. * Sets whether this user is lockout.
  523. *
  524. * @param lockout the lockout of this user
  525. */
  526. public void setLockout(boolean lockout);
  527. /**
  528. * Returns the lockout date of this user.
  529. *
  530. * @return the lockout date of this user
  531. */
  532. public Date getLockoutDate();
  533. /**
  534. * Sets the lockout date of this user.
  535. *
  536. * @param lockoutDate the lockout date of this user
  537. */
  538. public void setLockoutDate(Date lockoutDate);
  539. /**
  540. * Returns the agreed to terms of use of this user.
  541. *
  542. * @return the agreed to terms of use of this user
  543. */
  544. public boolean getAgreedToTermsOfUse();
  545. /**
  546. * Returns <code>true</code> if this user is agreed to terms of use.
  547. *
  548. * @return <code>true</code> if this user is agreed to terms of use; <code>false</code> otherwise
  549. */
  550. public boolean isAgreedToTermsOfUse();
  551. /**
  552. * Sets whether this user is agreed to terms of use.
  553. *
  554. * @param agreedToTermsOfUse the agreed to terms of use of this user
  555. */
  556. public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse);
  557. /**
  558. * Returns the email address verified of this user.
  559. *
  560. * @return the email address verified of this user
  561. */
  562. public boolean getEmailAddressVerified();
  563. /**
  564. * Returns <code>true</code> if this user is email address verified.
  565. *
  566. * @return <code>true</code> if this user is email address verified; <code>false</code> otherwise
  567. */
  568. public boolean isEmailAddressVerified();
  569. /**
  570. * Sets whether this user is email address verified.
  571. *
  572. * @param emailAddressVerified the email address verified of this user
  573. */
  574. public void setEmailAddressVerified(boolean emailAddressVerified);
  575. /**
  576. * Returns the status of this user.
  577. *
  578. * @return the status of this user
  579. */
  580. public int getStatus();
  581. /**
  582. * Sets the status of this user.
  583. *
  584. * @param status the status of this user
  585. */
  586. public void setStatus(int status);
  587. public boolean isNew();
  588. public void setNew(boolean n);
  589. public boolean isCachedModel();
  590. public void setCachedModel(boolean cachedModel);
  591. public boolean isEscapedModel();
  592. public void setEscapedModel(boolean escapedModel);
  593. public Serializable getPrimaryKeyObj();
  594. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  595. public ExpandoBridge getExpandoBridge();
  596. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  597. public Object clone();
  598. public int compareTo(User user);
  599. public int hashCode();
  600. public CacheModel<User> toCacheModel();
  601. public User toEscapedModel();
  602. public String toString();
  603. public String toXmlString();
  604. }