/modules/apps/bookmarks/bookmarks-api/src/main/java/com/liferay/bookmarks/model/BookmarksFolderModel.java

https://github.com/danielreuther/liferay-portal · Java · 529 lines · 136 code · 69 blank · 324 comment · 0 complexity · 00daf0475f88c0f55552785837c3e97d MD5 · raw file

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