PageRenderTime 99ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/portlets/mail-portlet/docroot/WEB-INF/service/com/liferay/mail/model/AccountModel.java

https://github.com/stevenjiancao/liferay-plugins
Java | 521 lines | 100 code | 84 blank | 337 comment | 0 complexity | dee9e9c69bc240f8650d0ccfc68f75af 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.mail.model;
  15. import com.liferay.portal.kernel.bean.AutoEscape;
  16. import com.liferay.portal.kernel.exception.SystemException;
  17. import com.liferay.portal.model.AuditedModel;
  18. import com.liferay.portal.model.BaseModel;
  19. import com.liferay.portal.model.CacheModel;
  20. import com.liferay.portal.service.ServiceContext;
  21. import com.liferay.portlet.expando.model.ExpandoBridge;
  22. import java.io.Serializable;
  23. import java.util.Date;
  24. /**
  25. * The base model interface for the Account service. Represents a row in the "Mail_Account" database table, with each column mapped to a property of this class.
  26. *
  27. * <p>
  28. * This interface and its corresponding implementation {@link com.liferay.mail.model.impl.AccountModelImpl} 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.mail.model.impl.AccountImpl}.
  29. * </p>
  30. *
  31. * @author Brian Wing Shun Chan
  32. * @see Account
  33. * @see com.liferay.mail.model.impl.AccountImpl
  34. * @see com.liferay.mail.model.impl.AccountModelImpl
  35. * @generated
  36. */
  37. public interface AccountModel extends AuditedModel, BaseModel<Account> {
  38. /*
  39. * NOTE FOR DEVELOPERS:
  40. *
  41. * Never modify or reference this interface directly. All methods that expect a account model instance should use the {@link Account} interface instead.
  42. */
  43. /**
  44. * Returns the primary key of this account.
  45. *
  46. * @return the primary key of this account
  47. */
  48. public long getPrimaryKey();
  49. /**
  50. * Sets the primary key of this account.
  51. *
  52. * @param primaryKey the primary key of this account
  53. */
  54. public void setPrimaryKey(long primaryKey);
  55. /**
  56. * Returns the account ID of this account.
  57. *
  58. * @return the account ID of this account
  59. */
  60. public long getAccountId();
  61. /**
  62. * Sets the account ID of this account.
  63. *
  64. * @param accountId the account ID of this account
  65. */
  66. public void setAccountId(long accountId);
  67. /**
  68. * Returns the company ID of this account.
  69. *
  70. * @return the company ID of this account
  71. */
  72. public long getCompanyId();
  73. /**
  74. * Sets the company ID of this account.
  75. *
  76. * @param companyId the company ID of this account
  77. */
  78. public void setCompanyId(long companyId);
  79. /**
  80. * Returns the user ID of this account.
  81. *
  82. * @return the user ID of this account
  83. */
  84. public long getUserId();
  85. /**
  86. * Sets the user ID of this account.
  87. *
  88. * @param userId the user ID of this account
  89. */
  90. public void setUserId(long userId);
  91. /**
  92. * Returns the user uuid of this account.
  93. *
  94. * @return the user uuid of this account
  95. * @throws SystemException if a system exception occurred
  96. */
  97. public String getUserUuid() throws SystemException;
  98. /**
  99. * Sets the user uuid of this account.
  100. *
  101. * @param userUuid the user uuid of this account
  102. */
  103. public void setUserUuid(String userUuid);
  104. /**
  105. * Returns the user name of this account.
  106. *
  107. * @return the user name of this account
  108. */
  109. @AutoEscape
  110. public String getUserName();
  111. /**
  112. * Sets the user name of this account.
  113. *
  114. * @param userName the user name of this account
  115. */
  116. public void setUserName(String userName);
  117. /**
  118. * Returns the create date of this account.
  119. *
  120. * @return the create date of this account
  121. */
  122. public Date getCreateDate();
  123. /**
  124. * Sets the create date of this account.
  125. *
  126. * @param createDate the create date of this account
  127. */
  128. public void setCreateDate(Date createDate);
  129. /**
  130. * Returns the modified date of this account.
  131. *
  132. * @return the modified date of this account
  133. */
  134. public Date getModifiedDate();
  135. /**
  136. * Sets the modified date of this account.
  137. *
  138. * @param modifiedDate the modified date of this account
  139. */
  140. public void setModifiedDate(Date modifiedDate);
  141. /**
  142. * Returns the address of this account.
  143. *
  144. * @return the address of this account
  145. */
  146. @AutoEscape
  147. public String getAddress();
  148. /**
  149. * Sets the address of this account.
  150. *
  151. * @param address the address of this account
  152. */
  153. public void setAddress(String address);
  154. /**
  155. * Returns the personal name of this account.
  156. *
  157. * @return the personal name of this account
  158. */
  159. @AutoEscape
  160. public String getPersonalName();
  161. /**
  162. * Sets the personal name of this account.
  163. *
  164. * @param personalName the personal name of this account
  165. */
  166. public void setPersonalName(String personalName);
  167. /**
  168. * Returns the protocol of this account.
  169. *
  170. * @return the protocol of this account
  171. */
  172. @AutoEscape
  173. public String getProtocol();
  174. /**
  175. * Sets the protocol of this account.
  176. *
  177. * @param protocol the protocol of this account
  178. */
  179. public void setProtocol(String protocol);
  180. /**
  181. * Returns the incoming host name of this account.
  182. *
  183. * @return the incoming host name of this account
  184. */
  185. @AutoEscape
  186. public String getIncomingHostName();
  187. /**
  188. * Sets the incoming host name of this account.
  189. *
  190. * @param incomingHostName the incoming host name of this account
  191. */
  192. public void setIncomingHostName(String incomingHostName);
  193. /**
  194. * Returns the incoming port of this account.
  195. *
  196. * @return the incoming port of this account
  197. */
  198. public int getIncomingPort();
  199. /**
  200. * Sets the incoming port of this account.
  201. *
  202. * @param incomingPort the incoming port of this account
  203. */
  204. public void setIncomingPort(int incomingPort);
  205. /**
  206. * Returns the incoming secure of this account.
  207. *
  208. * @return the incoming secure of this account
  209. */
  210. public boolean getIncomingSecure();
  211. /**
  212. * Returns <code>true</code> if this account is incoming secure.
  213. *
  214. * @return <code>true</code> if this account is incoming secure; <code>false</code> otherwise
  215. */
  216. public boolean isIncomingSecure();
  217. /**
  218. * Sets whether this account is incoming secure.
  219. *
  220. * @param incomingSecure the incoming secure of this account
  221. */
  222. public void setIncomingSecure(boolean incomingSecure);
  223. /**
  224. * Returns the outgoing host name of this account.
  225. *
  226. * @return the outgoing host name of this account
  227. */
  228. @AutoEscape
  229. public String getOutgoingHostName();
  230. /**
  231. * Sets the outgoing host name of this account.
  232. *
  233. * @param outgoingHostName the outgoing host name of this account
  234. */
  235. public void setOutgoingHostName(String outgoingHostName);
  236. /**
  237. * Returns the outgoing port of this account.
  238. *
  239. * @return the outgoing port of this account
  240. */
  241. public int getOutgoingPort();
  242. /**
  243. * Sets the outgoing port of this account.
  244. *
  245. * @param outgoingPort the outgoing port of this account
  246. */
  247. public void setOutgoingPort(int outgoingPort);
  248. /**
  249. * Returns the outgoing secure of this account.
  250. *
  251. * @return the outgoing secure of this account
  252. */
  253. public boolean getOutgoingSecure();
  254. /**
  255. * Returns <code>true</code> if this account is outgoing secure.
  256. *
  257. * @return <code>true</code> if this account is outgoing secure; <code>false</code> otherwise
  258. */
  259. public boolean isOutgoingSecure();
  260. /**
  261. * Sets whether this account is outgoing secure.
  262. *
  263. * @param outgoingSecure the outgoing secure of this account
  264. */
  265. public void setOutgoingSecure(boolean outgoingSecure);
  266. /**
  267. * Returns the login of this account.
  268. *
  269. * @return the login of this account
  270. */
  271. @AutoEscape
  272. public String getLogin();
  273. /**
  274. * Sets the login of this account.
  275. *
  276. * @param login the login of this account
  277. */
  278. public void setLogin(String login);
  279. /**
  280. * Returns the password of this account.
  281. *
  282. * @return the password of this account
  283. */
  284. @AutoEscape
  285. public String getPassword();
  286. /**
  287. * Sets the password of this account.
  288. *
  289. * @param password the password of this account
  290. */
  291. public void setPassword(String password);
  292. /**
  293. * Returns the save password of this account.
  294. *
  295. * @return the save password of this account
  296. */
  297. public boolean getSavePassword();
  298. /**
  299. * Returns <code>true</code> if this account is save password.
  300. *
  301. * @return <code>true</code> if this account is save password; <code>false</code> otherwise
  302. */
  303. public boolean isSavePassword();
  304. /**
  305. * Sets whether this account is save password.
  306. *
  307. * @param savePassword the save password of this account
  308. */
  309. public void setSavePassword(boolean savePassword);
  310. /**
  311. * Returns the signature of this account.
  312. *
  313. * @return the signature of this account
  314. */
  315. @AutoEscape
  316. public String getSignature();
  317. /**
  318. * Sets the signature of this account.
  319. *
  320. * @param signature the signature of this account
  321. */
  322. public void setSignature(String signature);
  323. /**
  324. * Returns the use signature of this account.
  325. *
  326. * @return the use signature of this account
  327. */
  328. public boolean getUseSignature();
  329. /**
  330. * Returns <code>true</code> if this account is use signature.
  331. *
  332. * @return <code>true</code> if this account is use signature; <code>false</code> otherwise
  333. */
  334. public boolean isUseSignature();
  335. /**
  336. * Sets whether this account is use signature.
  337. *
  338. * @param useSignature the use signature of this account
  339. */
  340. public void setUseSignature(boolean useSignature);
  341. /**
  342. * Returns the folder prefix of this account.
  343. *
  344. * @return the folder prefix of this account
  345. */
  346. @AutoEscape
  347. public String getFolderPrefix();
  348. /**
  349. * Sets the folder prefix of this account.
  350. *
  351. * @param folderPrefix the folder prefix of this account
  352. */
  353. public void setFolderPrefix(String folderPrefix);
  354. /**
  355. * Returns the inbox folder ID of this account.
  356. *
  357. * @return the inbox folder ID of this account
  358. */
  359. public long getInboxFolderId();
  360. /**
  361. * Sets the inbox folder ID of this account.
  362. *
  363. * @param inboxFolderId the inbox folder ID of this account
  364. */
  365. public void setInboxFolderId(long inboxFolderId);
  366. /**
  367. * Returns the draft folder ID of this account.
  368. *
  369. * @return the draft folder ID of this account
  370. */
  371. public long getDraftFolderId();
  372. /**
  373. * Sets the draft folder ID of this account.
  374. *
  375. * @param draftFolderId the draft folder ID of this account
  376. */
  377. public void setDraftFolderId(long draftFolderId);
  378. /**
  379. * Returns the sent folder ID of this account.
  380. *
  381. * @return the sent folder ID of this account
  382. */
  383. public long getSentFolderId();
  384. /**
  385. * Sets the sent folder ID of this account.
  386. *
  387. * @param sentFolderId the sent folder ID of this account
  388. */
  389. public void setSentFolderId(long sentFolderId);
  390. /**
  391. * Returns the trash folder ID of this account.
  392. *
  393. * @return the trash folder ID of this account
  394. */
  395. public long getTrashFolderId();
  396. /**
  397. * Sets the trash folder ID of this account.
  398. *
  399. * @param trashFolderId the trash folder ID of this account
  400. */
  401. public void setTrashFolderId(long trashFolderId);
  402. /**
  403. * Returns the default sender of this account.
  404. *
  405. * @return the default sender of this account
  406. */
  407. public boolean getDefaultSender();
  408. /**
  409. * Returns <code>true</code> if this account is default sender.
  410. *
  411. * @return <code>true</code> if this account is default sender; <code>false</code> otherwise
  412. */
  413. public boolean isDefaultSender();
  414. /**
  415. * Sets whether this account is default sender.
  416. *
  417. * @param defaultSender the default sender of this account
  418. */
  419. public void setDefaultSender(boolean defaultSender);
  420. public boolean isNew();
  421. public void setNew(boolean n);
  422. public boolean isCachedModel();
  423. public void setCachedModel(boolean cachedModel);
  424. public boolean isEscapedModel();
  425. public void setEscapedModel(boolean escapedModel);
  426. public Serializable getPrimaryKeyObj();
  427. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  428. public ExpandoBridge getExpandoBridge();
  429. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  430. public Object clone();
  431. public int compareTo(Account account);
  432. public int hashCode();
  433. public CacheModel<Account> toCacheModel();
  434. public Account toEscapedModel();
  435. public String toString();
  436. public String toXmlString();
  437. }