PageRenderTime 37ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/apps/web-experience/journal/journal-api/src/main/java/com/liferay/journal/model/JournalFolderModel.java

http://github.com/liferay/liferay-portal
Java | 596 lines | 176 code | 89 blank | 331 comment | 0 complexity | 7a5aa73e415b588da7b4e6801b2ebb60 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.journal.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.exception.PortalException;
  19. import com.liferay.portal.kernel.model.BaseModel;
  20. import com.liferay.portal.kernel.model.CacheModel;
  21. import com.liferay.portal.kernel.model.ContainerModel;
  22. import com.liferay.portal.kernel.model.ShardedModel;
  23. import com.liferay.portal.kernel.model.StagedGroupedModel;
  24. import com.liferay.portal.kernel.model.TrashedModel;
  25. import com.liferay.portal.kernel.model.WorkflowedModel;
  26. import com.liferay.portal.kernel.service.ServiceContext;
  27. import com.liferay.portal.kernel.trash.TrashHandler;
  28. import com.liferay.trash.kernel.model.TrashEntry;
  29. import java.io.Serializable;
  30. import java.util.Date;
  31. /**
  32. * The base model interface for the JournalFolder service. Represents a row in the "JournalFolder" database table, with each column mapped to a property of this class.
  33. *
  34. * <p>
  35. * This interface and its corresponding implementation {@link com.liferay.journal.model.impl.JournalFolderModelImpl} 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.journal.model.impl.JournalFolderImpl}.
  36. * </p>
  37. *
  38. * @author Brian Wing Shun Chan
  39. * @see JournalFolder
  40. * @see com.liferay.journal.model.impl.JournalFolderImpl
  41. * @see com.liferay.journal.model.impl.JournalFolderModelImpl
  42. * @generated
  43. */
  44. @ProviderType
  45. public interface JournalFolderModel extends BaseModel<JournalFolder>,
  46. ContainerModel, ShardedModel, StagedGroupedModel, TrashedModel,
  47. WorkflowedModel {
  48. /*
  49. * NOTE FOR DEVELOPERS:
  50. *
  51. * Never modify or reference this interface directly. All methods that expect a journal folder model instance should use the {@link JournalFolder} interface instead.
  52. */
  53. /**
  54. * Returns the primary key of this journal folder.
  55. *
  56. * @return the primary key of this journal folder
  57. */
  58. public long getPrimaryKey();
  59. /**
  60. * Sets the primary key of this journal folder.
  61. *
  62. * @param primaryKey the primary key of this journal folder
  63. */
  64. public void setPrimaryKey(long primaryKey);
  65. /**
  66. * Returns the uuid of this journal folder.
  67. *
  68. * @return the uuid of this journal folder
  69. */
  70. @AutoEscape
  71. @Override
  72. public String getUuid();
  73. /**
  74. * Sets the uuid of this journal folder.
  75. *
  76. * @param uuid the uuid of this journal folder
  77. */
  78. @Override
  79. public void setUuid(String uuid);
  80. /**
  81. * Returns the folder ID of this journal folder.
  82. *
  83. * @return the folder ID of this journal folder
  84. */
  85. public long getFolderId();
  86. /**
  87. * Sets the folder ID of this journal folder.
  88. *
  89. * @param folderId the folder ID of this journal folder
  90. */
  91. public void setFolderId(long folderId);
  92. /**
  93. * Returns the group ID of this journal folder.
  94. *
  95. * @return the group ID of this journal folder
  96. */
  97. @Override
  98. public long getGroupId();
  99. /**
  100. * Sets the group ID of this journal folder.
  101. *
  102. * @param groupId the group ID of this journal folder
  103. */
  104. @Override
  105. public void setGroupId(long groupId);
  106. /**
  107. * Returns the company ID of this journal folder.
  108. *
  109. * @return the company ID of this journal folder
  110. */
  111. @Override
  112. public long getCompanyId();
  113. /**
  114. * Sets the company ID of this journal folder.
  115. *
  116. * @param companyId the company ID of this journal folder
  117. */
  118. @Override
  119. public void setCompanyId(long companyId);
  120. /**
  121. * Returns the user ID of this journal folder.
  122. *
  123. * @return the user ID of this journal folder
  124. */
  125. @Override
  126. public long getUserId();
  127. /**
  128. * Sets the user ID of this journal folder.
  129. *
  130. * @param userId the user ID of this journal folder
  131. */
  132. @Override
  133. public void setUserId(long userId);
  134. /**
  135. * Returns the user uuid of this journal folder.
  136. *
  137. * @return the user uuid of this journal folder
  138. */
  139. @Override
  140. public String getUserUuid();
  141. /**
  142. * Sets the user uuid of this journal folder.
  143. *
  144. * @param userUuid the user uuid of this journal folder
  145. */
  146. @Override
  147. public void setUserUuid(String userUuid);
  148. /**
  149. * Returns the user name of this journal folder.
  150. *
  151. * @return the user name of this journal folder
  152. */
  153. @AutoEscape
  154. @Override
  155. public String getUserName();
  156. /**
  157. * Sets the user name of this journal folder.
  158. *
  159. * @param userName the user name of this journal folder
  160. */
  161. @Override
  162. public void setUserName(String userName);
  163. /**
  164. * Returns the create date of this journal folder.
  165. *
  166. * @return the create date of this journal folder
  167. */
  168. @Override
  169. public Date getCreateDate();
  170. /**
  171. * Sets the create date of this journal folder.
  172. *
  173. * @param createDate the create date of this journal folder
  174. */
  175. @Override
  176. public void setCreateDate(Date createDate);
  177. /**
  178. * Returns the modified date of this journal folder.
  179. *
  180. * @return the modified date of this journal folder
  181. */
  182. @Override
  183. public Date getModifiedDate();
  184. /**
  185. * Sets the modified date of this journal folder.
  186. *
  187. * @param modifiedDate the modified date of this journal folder
  188. */
  189. @Override
  190. public void setModifiedDate(Date modifiedDate);
  191. /**
  192. * Returns the parent folder ID of this journal folder.
  193. *
  194. * @return the parent folder ID of this journal folder
  195. */
  196. public long getParentFolderId();
  197. /**
  198. * Sets the parent folder ID of this journal folder.
  199. *
  200. * @param parentFolderId the parent folder ID of this journal folder
  201. */
  202. public void setParentFolderId(long parentFolderId);
  203. /**
  204. * Returns the tree path of this journal folder.
  205. *
  206. * @return the tree path of this journal folder
  207. */
  208. @AutoEscape
  209. public String getTreePath();
  210. /**
  211. * Sets the tree path of this journal folder.
  212. *
  213. * @param treePath the tree path of this journal folder
  214. */
  215. public void setTreePath(String treePath);
  216. /**
  217. * Returns the name of this journal folder.
  218. *
  219. * @return the name of this journal folder
  220. */
  221. @AutoEscape
  222. public String getName();
  223. /**
  224. * Sets the name of this journal folder.
  225. *
  226. * @param name the name of this journal folder
  227. */
  228. public void setName(String name);
  229. /**
  230. * Returns the description of this journal folder.
  231. *
  232. * @return the description of this journal folder
  233. */
  234. @AutoEscape
  235. public String getDescription();
  236. /**
  237. * Sets the description of this journal folder.
  238. *
  239. * @param description the description of this journal folder
  240. */
  241. public void setDescription(String description);
  242. /**
  243. * Returns the restriction type of this journal folder.
  244. *
  245. * @return the restriction type of this journal folder
  246. */
  247. public int getRestrictionType();
  248. /**
  249. * Sets the restriction type of this journal folder.
  250. *
  251. * @param restrictionType the restriction type of this journal folder
  252. */
  253. public void setRestrictionType(int restrictionType);
  254. /**
  255. * Returns the last publish date of this journal folder.
  256. *
  257. * @return the last publish date of this journal folder
  258. */
  259. @Override
  260. public Date getLastPublishDate();
  261. /**
  262. * Sets the last publish date of this journal folder.
  263. *
  264. * @param lastPublishDate the last publish date of this journal folder
  265. */
  266. @Override
  267. public void setLastPublishDate(Date lastPublishDate);
  268. /**
  269. * Returns the status of this journal folder.
  270. *
  271. * @return the status of this journal folder
  272. */
  273. @Override
  274. public int getStatus();
  275. /**
  276. * Sets the status of this journal folder.
  277. *
  278. * @param status the status of this journal folder
  279. */
  280. @Override
  281. public void setStatus(int status);
  282. /**
  283. * Returns the status by user ID of this journal folder.
  284. *
  285. * @return the status by user ID of this journal folder
  286. */
  287. @Override
  288. public long getStatusByUserId();
  289. /**
  290. * Sets the status by user ID of this journal folder.
  291. *
  292. * @param statusByUserId the status by user ID of this journal folder
  293. */
  294. @Override
  295. public void setStatusByUserId(long statusByUserId);
  296. /**
  297. * Returns the status by user uuid of this journal folder.
  298. *
  299. * @return the status by user uuid of this journal folder
  300. */
  301. @Override
  302. public String getStatusByUserUuid();
  303. /**
  304. * Sets the status by user uuid of this journal folder.
  305. *
  306. * @param statusByUserUuid the status by user uuid of this journal folder
  307. */
  308. @Override
  309. public void setStatusByUserUuid(String statusByUserUuid);
  310. /**
  311. * Returns the status by user name of this journal folder.
  312. *
  313. * @return the status by user name of this journal folder
  314. */
  315. @AutoEscape
  316. @Override
  317. public String getStatusByUserName();
  318. /**
  319. * Sets the status by user name of this journal folder.
  320. *
  321. * @param statusByUserName the status by user name of this journal folder
  322. */
  323. @Override
  324. public void setStatusByUserName(String statusByUserName);
  325. /**
  326. * Returns the status date of this journal folder.
  327. *
  328. * @return the status date of this journal folder
  329. */
  330. @Override
  331. public Date getStatusDate();
  332. /**
  333. * Sets the status date of this journal folder.
  334. *
  335. * @param statusDate the status date of this journal folder
  336. */
  337. @Override
  338. public void setStatusDate(Date statusDate);
  339. /**
  340. * Returns the trash entry created when this journal folder was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this journal folder.
  341. *
  342. * @return the trash entry created when this journal folder was moved to the Recycle Bin
  343. */
  344. @Override
  345. public TrashEntry getTrashEntry() throws PortalException;
  346. /**
  347. * Returns the class primary key of the trash entry for this journal folder.
  348. *
  349. * @return the class primary key of the trash entry for this journal folder
  350. */
  351. @Override
  352. public long getTrashEntryClassPK();
  353. /**
  354. * Returns the trash handler for this journal folder.
  355. *
  356. * @return the trash handler for this journal folder
  357. */
  358. @Override
  359. public TrashHandler getTrashHandler();
  360. /**
  361. * Returns <code>true</code> if this journal folder is in the Recycle Bin.
  362. *
  363. * @return <code>true</code> if this journal folder is in the Recycle Bin; <code>false</code> otherwise
  364. */
  365. @Override
  366. public boolean isInTrash();
  367. /**
  368. * Returns <code>true</code> if the parent of this journal folder is in the Recycle Bin.
  369. *
  370. * @return <code>true</code> if the parent of this journal folder is in the Recycle Bin; <code>false</code> otherwise
  371. */
  372. @Override
  373. public boolean isInTrashContainer();
  374. @Override
  375. public boolean isInTrashExplicitly();
  376. @Override
  377. public boolean isInTrashImplicitly();
  378. /**
  379. * Returns <code>true</code> if this journal folder is approved.
  380. *
  381. * @return <code>true</code> if this journal folder is approved; <code>false</code> otherwise
  382. */
  383. @Override
  384. public boolean isApproved();
  385. /**
  386. * Returns <code>true</code> if this journal folder is denied.
  387. *
  388. * @return <code>true</code> if this journal folder is denied; <code>false</code> otherwise
  389. */
  390. @Override
  391. public boolean isDenied();
  392. /**
  393. * Returns <code>true</code> if this journal folder is a draft.
  394. *
  395. * @return <code>true</code> if this journal folder is a draft; <code>false</code> otherwise
  396. */
  397. @Override
  398. public boolean isDraft();
  399. /**
  400. * Returns <code>true</code> if this journal folder is expired.
  401. *
  402. * @return <code>true</code> if this journal folder is expired; <code>false</code> otherwise
  403. */
  404. @Override
  405. public boolean isExpired();
  406. /**
  407. * Returns <code>true</code> if this journal folder is inactive.
  408. *
  409. * @return <code>true</code> if this journal folder is inactive; <code>false</code> otherwise
  410. */
  411. @Override
  412. public boolean isInactive();
  413. /**
  414. * Returns <code>true</code> if this journal folder is incomplete.
  415. *
  416. * @return <code>true</code> if this journal folder is incomplete; <code>false</code> otherwise
  417. */
  418. @Override
  419. public boolean isIncomplete();
  420. /**
  421. * Returns <code>true</code> if this journal folder is pending.
  422. *
  423. * @return <code>true</code> if this journal folder is pending; <code>false</code> otherwise
  424. */
  425. @Override
  426. public boolean isPending();
  427. /**
  428. * Returns <code>true</code> if this journal folder is scheduled.
  429. *
  430. * @return <code>true</code> if this journal folder is scheduled; <code>false</code> otherwise
  431. */
  432. @Override
  433. public boolean isScheduled();
  434. /**
  435. * Returns the container model ID of this journal folder.
  436. *
  437. * @return the container model ID of this journal folder
  438. */
  439. @Override
  440. public long getContainerModelId();
  441. /**
  442. * Sets the container model ID of this journal folder.
  443. *
  444. * @param containerModelId the container model ID of this journal folder
  445. */
  446. @Override
  447. public void setContainerModelId(long containerModelId);
  448. /**
  449. * Returns the container name of this journal folder.
  450. *
  451. * @return the container name of this journal folder
  452. */
  453. @Override
  454. public String getContainerModelName();
  455. /**
  456. * Returns the parent container model ID of this journal folder.
  457. *
  458. * @return the parent container model ID of this journal folder
  459. */
  460. @Override
  461. public long getParentContainerModelId();
  462. /**
  463. * Sets the parent container model ID of this journal folder.
  464. *
  465. * @param parentContainerModelId the parent container model ID of this journal folder
  466. */
  467. @Override
  468. public void setParentContainerModelId(long parentContainerModelId);
  469. @Override
  470. public boolean isNew();
  471. @Override
  472. public void setNew(boolean n);
  473. @Override
  474. public boolean isCachedModel();
  475. @Override
  476. public void setCachedModel(boolean cachedModel);
  477. @Override
  478. public boolean isEscapedModel();
  479. @Override
  480. public Serializable getPrimaryKeyObj();
  481. @Override
  482. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  483. @Override
  484. public ExpandoBridge getExpandoBridge();
  485. @Override
  486. public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
  487. @Override
  488. public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
  489. @Override
  490. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  491. @Override
  492. public Object clone();
  493. @Override
  494. public int compareTo(JournalFolder journalFolder);
  495. @Override
  496. public int hashCode();
  497. @Override
  498. public CacheModel<JournalFolder> toCacheModel();
  499. @Override
  500. public JournalFolder toEscapedModel();
  501. @Override
  502. public JournalFolder toUnescapedModel();
  503. @Override
  504. public String toString();
  505. @Override
  506. public String toXmlString();
  507. }