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

https://github.com/spreddy/liferay-portal · Java · 555 lines · 110 code · 88 blank · 357 comment · 0 complexity · e3ef715761e9d32ca0ca8de0116e62f0 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 Contact service. Represents a row in the "Contact_" 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.ContactModelImpl} 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.ContactImpl}.
  26. * </p>
  27. *
  28. * @author Brian Wing Shun Chan
  29. * @see Contact
  30. * @see com.liferay.portal.model.impl.ContactImpl
  31. * @see com.liferay.portal.model.impl.ContactModelImpl
  32. * @generated
  33. */
  34. public interface ContactModel extends AuditedModel, BaseModel<Contact> {
  35. /*
  36. * NOTE FOR DEVELOPERS:
  37. *
  38. * Never modify or reference this interface directly. All methods that expect a contact model instance should use the {@link Contact} interface instead.
  39. */
  40. /**
  41. * Returns the primary key of this contact.
  42. *
  43. * @return the primary key of this contact
  44. */
  45. public long getPrimaryKey();
  46. /**
  47. * Sets the primary key of this contact.
  48. *
  49. * @param primaryKey the primary key of this contact
  50. */
  51. public void setPrimaryKey(long primaryKey);
  52. /**
  53. * Returns the contact ID of this contact.
  54. *
  55. * @return the contact ID of this contact
  56. */
  57. public long getContactId();
  58. /**
  59. * Sets the contact ID of this contact.
  60. *
  61. * @param contactId the contact ID of this contact
  62. */
  63. public void setContactId(long contactId);
  64. /**
  65. * Returns the company ID of this contact.
  66. *
  67. * @return the company ID of this contact
  68. */
  69. public long getCompanyId();
  70. /**
  71. * Sets the company ID of this contact.
  72. *
  73. * @param companyId the company ID of this contact
  74. */
  75. public void setCompanyId(long companyId);
  76. /**
  77. * Returns the user ID of this contact.
  78. *
  79. * @return the user ID of this contact
  80. */
  81. public long getUserId();
  82. /**
  83. * Sets the user ID of this contact.
  84. *
  85. * @param userId the user ID of this contact
  86. */
  87. public void setUserId(long userId);
  88. /**
  89. * Returns the user uuid of this contact.
  90. *
  91. * @return the user uuid of this contact
  92. * @throws SystemException if a system exception occurred
  93. */
  94. public String getUserUuid() throws SystemException;
  95. /**
  96. * Sets the user uuid of this contact.
  97. *
  98. * @param userUuid the user uuid of this contact
  99. */
  100. public void setUserUuid(String userUuid);
  101. /**
  102. * Returns the user name of this contact.
  103. *
  104. * @return the user name of this contact
  105. */
  106. @AutoEscape
  107. public String getUserName();
  108. /**
  109. * Sets the user name of this contact.
  110. *
  111. * @param userName the user name of this contact
  112. */
  113. public void setUserName(String userName);
  114. /**
  115. * Returns the create date of this contact.
  116. *
  117. * @return the create date of this contact
  118. */
  119. public Date getCreateDate();
  120. /**
  121. * Sets the create date of this contact.
  122. *
  123. * @param createDate the create date of this contact
  124. */
  125. public void setCreateDate(Date createDate);
  126. /**
  127. * Returns the modified date of this contact.
  128. *
  129. * @return the modified date of this contact
  130. */
  131. public Date getModifiedDate();
  132. /**
  133. * Sets the modified date of this contact.
  134. *
  135. * @param modifiedDate the modified date of this contact
  136. */
  137. public void setModifiedDate(Date modifiedDate);
  138. /**
  139. * Returns the account ID of this contact.
  140. *
  141. * @return the account ID of this contact
  142. */
  143. public long getAccountId();
  144. /**
  145. * Sets the account ID of this contact.
  146. *
  147. * @param accountId the account ID of this contact
  148. */
  149. public void setAccountId(long accountId);
  150. /**
  151. * Returns the parent contact ID of this contact.
  152. *
  153. * @return the parent contact ID of this contact
  154. */
  155. public long getParentContactId();
  156. /**
  157. * Sets the parent contact ID of this contact.
  158. *
  159. * @param parentContactId the parent contact ID of this contact
  160. */
  161. public void setParentContactId(long parentContactId);
  162. /**
  163. * Returns the first name of this contact.
  164. *
  165. * @return the first name of this contact
  166. */
  167. @AutoEscape
  168. public String getFirstName();
  169. /**
  170. * Sets the first name of this contact.
  171. *
  172. * @param firstName the first name of this contact
  173. */
  174. public void setFirstName(String firstName);
  175. /**
  176. * Returns the middle name of this contact.
  177. *
  178. * @return the middle name of this contact
  179. */
  180. @AutoEscape
  181. public String getMiddleName();
  182. /**
  183. * Sets the middle name of this contact.
  184. *
  185. * @param middleName the middle name of this contact
  186. */
  187. public void setMiddleName(String middleName);
  188. /**
  189. * Returns the last name of this contact.
  190. *
  191. * @return the last name of this contact
  192. */
  193. @AutoEscape
  194. public String getLastName();
  195. /**
  196. * Sets the last name of this contact.
  197. *
  198. * @param lastName the last name of this contact
  199. */
  200. public void setLastName(String lastName);
  201. /**
  202. * Returns the prefix ID of this contact.
  203. *
  204. * @return the prefix ID of this contact
  205. */
  206. public int getPrefixId();
  207. /**
  208. * Sets the prefix ID of this contact.
  209. *
  210. * @param prefixId the prefix ID of this contact
  211. */
  212. public void setPrefixId(int prefixId);
  213. /**
  214. * Returns the suffix ID of this contact.
  215. *
  216. * @return the suffix ID of this contact
  217. */
  218. public int getSuffixId();
  219. /**
  220. * Sets the suffix ID of this contact.
  221. *
  222. * @param suffixId the suffix ID of this contact
  223. */
  224. public void setSuffixId(int suffixId);
  225. /**
  226. * Returns the male of this contact.
  227. *
  228. * @return the male of this contact
  229. */
  230. public boolean getMale();
  231. /**
  232. * Returns <code>true</code> if this contact is male.
  233. *
  234. * @return <code>true</code> if this contact is male; <code>false</code> otherwise
  235. */
  236. public boolean isMale();
  237. /**
  238. * Sets whether this contact is male.
  239. *
  240. * @param male the male of this contact
  241. */
  242. public void setMale(boolean male);
  243. /**
  244. * Returns the birthday of this contact.
  245. *
  246. * @return the birthday of this contact
  247. */
  248. public Date getBirthday();
  249. /**
  250. * Sets the birthday of this contact.
  251. *
  252. * @param birthday the birthday of this contact
  253. */
  254. public void setBirthday(Date birthday);
  255. /**
  256. * Returns the sms sn of this contact.
  257. *
  258. * @return the sms sn of this contact
  259. */
  260. @AutoEscape
  261. public String getSmsSn();
  262. /**
  263. * Sets the sms sn of this contact.
  264. *
  265. * @param smsSn the sms sn of this contact
  266. */
  267. public void setSmsSn(String smsSn);
  268. /**
  269. * Returns the aim sn of this contact.
  270. *
  271. * @return the aim sn of this contact
  272. */
  273. @AutoEscape
  274. public String getAimSn();
  275. /**
  276. * Sets the aim sn of this contact.
  277. *
  278. * @param aimSn the aim sn of this contact
  279. */
  280. public void setAimSn(String aimSn);
  281. /**
  282. * Returns the facebook sn of this contact.
  283. *
  284. * @return the facebook sn of this contact
  285. */
  286. @AutoEscape
  287. public String getFacebookSn();
  288. /**
  289. * Sets the facebook sn of this contact.
  290. *
  291. * @param facebookSn the facebook sn of this contact
  292. */
  293. public void setFacebookSn(String facebookSn);
  294. /**
  295. * Returns the icq sn of this contact.
  296. *
  297. * @return the icq sn of this contact
  298. */
  299. @AutoEscape
  300. public String getIcqSn();
  301. /**
  302. * Sets the icq sn of this contact.
  303. *
  304. * @param icqSn the icq sn of this contact
  305. */
  306. public void setIcqSn(String icqSn);
  307. /**
  308. * Returns the jabber sn of this contact.
  309. *
  310. * @return the jabber sn of this contact
  311. */
  312. @AutoEscape
  313. public String getJabberSn();
  314. /**
  315. * Sets the jabber sn of this contact.
  316. *
  317. * @param jabberSn the jabber sn of this contact
  318. */
  319. public void setJabberSn(String jabberSn);
  320. /**
  321. * Returns the msn sn of this contact.
  322. *
  323. * @return the msn sn of this contact
  324. */
  325. @AutoEscape
  326. public String getMsnSn();
  327. /**
  328. * Sets the msn sn of this contact.
  329. *
  330. * @param msnSn the msn sn of this contact
  331. */
  332. public void setMsnSn(String msnSn);
  333. /**
  334. * Returns the my space sn of this contact.
  335. *
  336. * @return the my space sn of this contact
  337. */
  338. @AutoEscape
  339. public String getMySpaceSn();
  340. /**
  341. * Sets the my space sn of this contact.
  342. *
  343. * @param mySpaceSn the my space sn of this contact
  344. */
  345. public void setMySpaceSn(String mySpaceSn);
  346. /**
  347. * Returns the skype sn of this contact.
  348. *
  349. * @return the skype sn of this contact
  350. */
  351. @AutoEscape
  352. public String getSkypeSn();
  353. /**
  354. * Sets the skype sn of this contact.
  355. *
  356. * @param skypeSn the skype sn of this contact
  357. */
  358. public void setSkypeSn(String skypeSn);
  359. /**
  360. * Returns the twitter sn of this contact.
  361. *
  362. * @return the twitter sn of this contact
  363. */
  364. @AutoEscape
  365. public String getTwitterSn();
  366. /**
  367. * Sets the twitter sn of this contact.
  368. *
  369. * @param twitterSn the twitter sn of this contact
  370. */
  371. public void setTwitterSn(String twitterSn);
  372. /**
  373. * Returns the ym sn of this contact.
  374. *
  375. * @return the ym sn of this contact
  376. */
  377. @AutoEscape
  378. public String getYmSn();
  379. /**
  380. * Sets the ym sn of this contact.
  381. *
  382. * @param ymSn the ym sn of this contact
  383. */
  384. public void setYmSn(String ymSn);
  385. /**
  386. * Returns the employee status ID of this contact.
  387. *
  388. * @return the employee status ID of this contact
  389. */
  390. @AutoEscape
  391. public String getEmployeeStatusId();
  392. /**
  393. * Sets the employee status ID of this contact.
  394. *
  395. * @param employeeStatusId the employee status ID of this contact
  396. */
  397. public void setEmployeeStatusId(String employeeStatusId);
  398. /**
  399. * Returns the employee number of this contact.
  400. *
  401. * @return the employee number of this contact
  402. */
  403. @AutoEscape
  404. public String getEmployeeNumber();
  405. /**
  406. * Sets the employee number of this contact.
  407. *
  408. * @param employeeNumber the employee number of this contact
  409. */
  410. public void setEmployeeNumber(String employeeNumber);
  411. /**
  412. * Returns the job title of this contact.
  413. *
  414. * @return the job title of this contact
  415. */
  416. @AutoEscape
  417. public String getJobTitle();
  418. /**
  419. * Sets the job title of this contact.
  420. *
  421. * @param jobTitle the job title of this contact
  422. */
  423. public void setJobTitle(String jobTitle);
  424. /**
  425. * Returns the job class of this contact.
  426. *
  427. * @return the job class of this contact
  428. */
  429. @AutoEscape
  430. public String getJobClass();
  431. /**
  432. * Sets the job class of this contact.
  433. *
  434. * @param jobClass the job class of this contact
  435. */
  436. public void setJobClass(String jobClass);
  437. /**
  438. * Returns the hours of operation of this contact.
  439. *
  440. * @return the hours of operation of this contact
  441. */
  442. @AutoEscape
  443. public String getHoursOfOperation();
  444. /**
  445. * Sets the hours of operation of this contact.
  446. *
  447. * @param hoursOfOperation the hours of operation of this contact
  448. */
  449. public void setHoursOfOperation(String hoursOfOperation);
  450. public boolean isNew();
  451. public void setNew(boolean n);
  452. public boolean isCachedModel();
  453. public void setCachedModel(boolean cachedModel);
  454. public boolean isEscapedModel();
  455. public void setEscapedModel(boolean escapedModel);
  456. public Serializable getPrimaryKeyObj();
  457. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  458. public ExpandoBridge getExpandoBridge();
  459. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  460. public Object clone();
  461. public int compareTo(Contact contact);
  462. public int hashCode();
  463. public CacheModel<Contact> toCacheModel();
  464. public Contact toEscapedModel();
  465. public String toString();
  466. public String toXmlString();
  467. }