PageRenderTime 24ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/modules/apps/mail-reader/mail-reader-api/src/main/java/com/liferay/mail/reader/model/AccountModel.java

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