/portal-service/src/com/liferay/portlet/documentlibrary/model/DLFileShortcutWrapper.java

https://github.com/acs/liferay-portal · Java · 501 lines · 207 code · 67 blank · 227 comment · 0 complexity · 7ba3d6e87e8ca8022b951399e1c6f787 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.portlet.documentlibrary.model;
  15. /**
  16. * <p>
  17. * This class is a wrapper for {@link DLFileShortcut}.
  18. * </p>
  19. *
  20. * @author Brian Wing Shun Chan
  21. * @see DLFileShortcut
  22. * @generated
  23. */
  24. public class DLFileShortcutWrapper implements DLFileShortcut {
  25. public DLFileShortcutWrapper(DLFileShortcut dlFileShortcut) {
  26. _dlFileShortcut = dlFileShortcut;
  27. }
  28. public Class<?> getModelClass() {
  29. return DLFileShortcut.class;
  30. }
  31. public String getModelClassName() {
  32. return DLFileShortcut.class.getName();
  33. }
  34. /**
  35. * Returns the primary key of this document library file shortcut.
  36. *
  37. * @return the primary key of this document library file shortcut
  38. */
  39. public long getPrimaryKey() {
  40. return _dlFileShortcut.getPrimaryKey();
  41. }
  42. /**
  43. * Sets the primary key of this document library file shortcut.
  44. *
  45. * @param primaryKey the primary key of this document library file shortcut
  46. */
  47. public void setPrimaryKey(long primaryKey) {
  48. _dlFileShortcut.setPrimaryKey(primaryKey);
  49. }
  50. /**
  51. * Returns the uuid of this document library file shortcut.
  52. *
  53. * @return the uuid of this document library file shortcut
  54. */
  55. public java.lang.String getUuid() {
  56. return _dlFileShortcut.getUuid();
  57. }
  58. /**
  59. * Sets the uuid of this document library file shortcut.
  60. *
  61. * @param uuid the uuid of this document library file shortcut
  62. */
  63. public void setUuid(java.lang.String uuid) {
  64. _dlFileShortcut.setUuid(uuid);
  65. }
  66. /**
  67. * Returns the file shortcut ID of this document library file shortcut.
  68. *
  69. * @return the file shortcut ID of this document library file shortcut
  70. */
  71. public long getFileShortcutId() {
  72. return _dlFileShortcut.getFileShortcutId();
  73. }
  74. /**
  75. * Sets the file shortcut ID of this document library file shortcut.
  76. *
  77. * @param fileShortcutId the file shortcut ID of this document library file shortcut
  78. */
  79. public void setFileShortcutId(long fileShortcutId) {
  80. _dlFileShortcut.setFileShortcutId(fileShortcutId);
  81. }
  82. /**
  83. * Returns the group ID of this document library file shortcut.
  84. *
  85. * @return the group ID of this document library file shortcut
  86. */
  87. public long getGroupId() {
  88. return _dlFileShortcut.getGroupId();
  89. }
  90. /**
  91. * Sets the group ID of this document library file shortcut.
  92. *
  93. * @param groupId the group ID of this document library file shortcut
  94. */
  95. public void setGroupId(long groupId) {
  96. _dlFileShortcut.setGroupId(groupId);
  97. }
  98. /**
  99. * Returns the company ID of this document library file shortcut.
  100. *
  101. * @return the company ID of this document library file shortcut
  102. */
  103. public long getCompanyId() {
  104. return _dlFileShortcut.getCompanyId();
  105. }
  106. /**
  107. * Sets the company ID of this document library file shortcut.
  108. *
  109. * @param companyId the company ID of this document library file shortcut
  110. */
  111. public void setCompanyId(long companyId) {
  112. _dlFileShortcut.setCompanyId(companyId);
  113. }
  114. /**
  115. * Returns the user ID of this document library file shortcut.
  116. *
  117. * @return the user ID of this document library file shortcut
  118. */
  119. public long getUserId() {
  120. return _dlFileShortcut.getUserId();
  121. }
  122. /**
  123. * Sets the user ID of this document library file shortcut.
  124. *
  125. * @param userId the user ID of this document library file shortcut
  126. */
  127. public void setUserId(long userId) {
  128. _dlFileShortcut.setUserId(userId);
  129. }
  130. /**
  131. * Returns the user uuid of this document library file shortcut.
  132. *
  133. * @return the user uuid of this document library file shortcut
  134. * @throws SystemException if a system exception occurred
  135. */
  136. public java.lang.String getUserUuid()
  137. throws com.liferay.portal.kernel.exception.SystemException {
  138. return _dlFileShortcut.getUserUuid();
  139. }
  140. /**
  141. * Sets the user uuid of this document library file shortcut.
  142. *
  143. * @param userUuid the user uuid of this document library file shortcut
  144. */
  145. public void setUserUuid(java.lang.String userUuid) {
  146. _dlFileShortcut.setUserUuid(userUuid);
  147. }
  148. /**
  149. * Returns the user name of this document library file shortcut.
  150. *
  151. * @return the user name of this document library file shortcut
  152. */
  153. public java.lang.String getUserName() {
  154. return _dlFileShortcut.getUserName();
  155. }
  156. /**
  157. * Sets the user name of this document library file shortcut.
  158. *
  159. * @param userName the user name of this document library file shortcut
  160. */
  161. public void setUserName(java.lang.String userName) {
  162. _dlFileShortcut.setUserName(userName);
  163. }
  164. /**
  165. * Returns the create date of this document library file shortcut.
  166. *
  167. * @return the create date of this document library file shortcut
  168. */
  169. public java.util.Date getCreateDate() {
  170. return _dlFileShortcut.getCreateDate();
  171. }
  172. /**
  173. * Sets the create date of this document library file shortcut.
  174. *
  175. * @param createDate the create date of this document library file shortcut
  176. */
  177. public void setCreateDate(java.util.Date createDate) {
  178. _dlFileShortcut.setCreateDate(createDate);
  179. }
  180. /**
  181. * Returns the modified date of this document library file shortcut.
  182. *
  183. * @return the modified date of this document library file shortcut
  184. */
  185. public java.util.Date getModifiedDate() {
  186. return _dlFileShortcut.getModifiedDate();
  187. }
  188. /**
  189. * Sets the modified date of this document library file shortcut.
  190. *
  191. * @param modifiedDate the modified date of this document library file shortcut
  192. */
  193. public void setModifiedDate(java.util.Date modifiedDate) {
  194. _dlFileShortcut.setModifiedDate(modifiedDate);
  195. }
  196. /**
  197. * Returns the repository ID of this document library file shortcut.
  198. *
  199. * @return the repository ID of this document library file shortcut
  200. */
  201. public long getRepositoryId() {
  202. return _dlFileShortcut.getRepositoryId();
  203. }
  204. /**
  205. * Sets the repository ID of this document library file shortcut.
  206. *
  207. * @param repositoryId the repository ID of this document library file shortcut
  208. */
  209. public void setRepositoryId(long repositoryId) {
  210. _dlFileShortcut.setRepositoryId(repositoryId);
  211. }
  212. /**
  213. * Returns the folder ID of this document library file shortcut.
  214. *
  215. * @return the folder ID of this document library file shortcut
  216. */
  217. public long getFolderId() {
  218. return _dlFileShortcut.getFolderId();
  219. }
  220. /**
  221. * Sets the folder ID of this document library file shortcut.
  222. *
  223. * @param folderId the folder ID of this document library file shortcut
  224. */
  225. public void setFolderId(long folderId) {
  226. _dlFileShortcut.setFolderId(folderId);
  227. }
  228. /**
  229. * Returns the to file entry ID of this document library file shortcut.
  230. *
  231. * @return the to file entry ID of this document library file shortcut
  232. */
  233. public long getToFileEntryId() {
  234. return _dlFileShortcut.getToFileEntryId();
  235. }
  236. /**
  237. * Sets the to file entry ID of this document library file shortcut.
  238. *
  239. * @param toFileEntryId the to file entry ID of this document library file shortcut
  240. */
  241. public void setToFileEntryId(long toFileEntryId) {
  242. _dlFileShortcut.setToFileEntryId(toFileEntryId);
  243. }
  244. /**
  245. * Returns the status of this document library file shortcut.
  246. *
  247. * @return the status of this document library file shortcut
  248. */
  249. public int getStatus() {
  250. return _dlFileShortcut.getStatus();
  251. }
  252. /**
  253. * Sets the status of this document library file shortcut.
  254. *
  255. * @param status the status of this document library file shortcut
  256. */
  257. public void setStatus(int status) {
  258. _dlFileShortcut.setStatus(status);
  259. }
  260. /**
  261. * Returns the status by user ID of this document library file shortcut.
  262. *
  263. * @return the status by user ID of this document library file shortcut
  264. */
  265. public long getStatusByUserId() {
  266. return _dlFileShortcut.getStatusByUserId();
  267. }
  268. /**
  269. * Sets the status by user ID of this document library file shortcut.
  270. *
  271. * @param statusByUserId the status by user ID of this document library file shortcut
  272. */
  273. public void setStatusByUserId(long statusByUserId) {
  274. _dlFileShortcut.setStatusByUserId(statusByUserId);
  275. }
  276. /**
  277. * Returns the status by user uuid of this document library file shortcut.
  278. *
  279. * @return the status by user uuid of this document library file shortcut
  280. * @throws SystemException if a system exception occurred
  281. */
  282. public java.lang.String getStatusByUserUuid()
  283. throws com.liferay.portal.kernel.exception.SystemException {
  284. return _dlFileShortcut.getStatusByUserUuid();
  285. }
  286. /**
  287. * Sets the status by user uuid of this document library file shortcut.
  288. *
  289. * @param statusByUserUuid the status by user uuid of this document library file shortcut
  290. */
  291. public void setStatusByUserUuid(java.lang.String statusByUserUuid) {
  292. _dlFileShortcut.setStatusByUserUuid(statusByUserUuid);
  293. }
  294. /**
  295. * Returns the status by user name of this document library file shortcut.
  296. *
  297. * @return the status by user name of this document library file shortcut
  298. */
  299. public java.lang.String getStatusByUserName() {
  300. return _dlFileShortcut.getStatusByUserName();
  301. }
  302. /**
  303. * Sets the status by user name of this document library file shortcut.
  304. *
  305. * @param statusByUserName the status by user name of this document library file shortcut
  306. */
  307. public void setStatusByUserName(java.lang.String statusByUserName) {
  308. _dlFileShortcut.setStatusByUserName(statusByUserName);
  309. }
  310. /**
  311. * Returns the status date of this document library file shortcut.
  312. *
  313. * @return the status date of this document library file shortcut
  314. */
  315. public java.util.Date getStatusDate() {
  316. return _dlFileShortcut.getStatusDate();
  317. }
  318. /**
  319. * Sets the status date of this document library file shortcut.
  320. *
  321. * @param statusDate the status date of this document library file shortcut
  322. */
  323. public void setStatusDate(java.util.Date statusDate) {
  324. _dlFileShortcut.setStatusDate(statusDate);
  325. }
  326. /**
  327. * @deprecated Renamed to {@link #isApproved()}
  328. */
  329. public boolean getApproved() {
  330. return _dlFileShortcut.getApproved();
  331. }
  332. /**
  333. * Returns <code>true</code> if this document library file shortcut is approved.
  334. *
  335. * @return <code>true</code> if this document library file shortcut is approved; <code>false</code> otherwise
  336. */
  337. public boolean isApproved() {
  338. return _dlFileShortcut.isApproved();
  339. }
  340. /**
  341. * Returns <code>true</code> if this document library file shortcut is a draft.
  342. *
  343. * @return <code>true</code> if this document library file shortcut is a draft; <code>false</code> otherwise
  344. */
  345. public boolean isDraft() {
  346. return _dlFileShortcut.isDraft();
  347. }
  348. /**
  349. * Returns <code>true</code> if this document library file shortcut is expired.
  350. *
  351. * @return <code>true</code> if this document library file shortcut is expired; <code>false</code> otherwise
  352. */
  353. public boolean isExpired() {
  354. return _dlFileShortcut.isExpired();
  355. }
  356. /**
  357. * Returns <code>true</code> if this document library file shortcut is pending.
  358. *
  359. * @return <code>true</code> if this document library file shortcut is pending; <code>false</code> otherwise
  360. */
  361. public boolean isPending() {
  362. return _dlFileShortcut.isPending();
  363. }
  364. public boolean isNew() {
  365. return _dlFileShortcut.isNew();
  366. }
  367. public void setNew(boolean n) {
  368. _dlFileShortcut.setNew(n);
  369. }
  370. public boolean isCachedModel() {
  371. return _dlFileShortcut.isCachedModel();
  372. }
  373. public void setCachedModel(boolean cachedModel) {
  374. _dlFileShortcut.setCachedModel(cachedModel);
  375. }
  376. public boolean isEscapedModel() {
  377. return _dlFileShortcut.isEscapedModel();
  378. }
  379. public java.io.Serializable getPrimaryKeyObj() {
  380. return _dlFileShortcut.getPrimaryKeyObj();
  381. }
  382. public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
  383. _dlFileShortcut.setPrimaryKeyObj(primaryKeyObj);
  384. }
  385. public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
  386. return _dlFileShortcut.getExpandoBridge();
  387. }
  388. public void setExpandoBridgeAttributes(
  389. com.liferay.portal.service.ServiceContext serviceContext) {
  390. _dlFileShortcut.setExpandoBridgeAttributes(serviceContext);
  391. }
  392. @Override
  393. public java.lang.Object clone() {
  394. return new DLFileShortcutWrapper((DLFileShortcut)_dlFileShortcut.clone());
  395. }
  396. public int compareTo(
  397. com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) {
  398. return _dlFileShortcut.compareTo(dlFileShortcut);
  399. }
  400. @Override
  401. public int hashCode() {
  402. return _dlFileShortcut.hashCode();
  403. }
  404. public com.liferay.portal.model.CacheModel<com.liferay.portlet.documentlibrary.model.DLFileShortcut> toCacheModel() {
  405. return _dlFileShortcut.toCacheModel();
  406. }
  407. public com.liferay.portlet.documentlibrary.model.DLFileShortcut toEscapedModel() {
  408. return new DLFileShortcutWrapper(_dlFileShortcut.toEscapedModel());
  409. }
  410. @Override
  411. public java.lang.String toString() {
  412. return _dlFileShortcut.toString();
  413. }
  414. public java.lang.String toXmlString() {
  415. return _dlFileShortcut.toXmlString();
  416. }
  417. public void persist()
  418. throws com.liferay.portal.kernel.exception.SystemException {
  419. _dlFileShortcut.persist();
  420. }
  421. public com.liferay.portal.kernel.repository.model.Folder getFolder() {
  422. return _dlFileShortcut.getFolder();
  423. }
  424. public java.lang.String getToTitle() {
  425. return _dlFileShortcut.getToTitle();
  426. }
  427. public DLFileShortcut getWrappedDLFileShortcut() {
  428. return _dlFileShortcut;
  429. }
  430. public void resetOriginalValues() {
  431. _dlFileShortcut.resetOriginalValues();
  432. }
  433. private DLFileShortcut _dlFileShortcut;
  434. }