/webs/kaleo-web/docroot/WEB-INF/service/com/liferay/portal/workflow/kaleo/model/KaleoInstanceWrapper.java

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