/portal-service/src/com/liferay/portlet/dynamicdatalists/model/DDLRecordVersionModel.java

https://github.com/spreddy/liferay-portal · Java · 374 lines · 74 code · 64 blank · 236 comment · 0 complexity · 10219550bf0f080be76861357f63f360 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.dynamicdatalists.model;
  15. import com.liferay.portal.kernel.bean.AutoEscape;
  16. import com.liferay.portal.kernel.exception.SystemException;
  17. import com.liferay.portal.model.BaseModel;
  18. import com.liferay.portal.model.CacheModel;
  19. import com.liferay.portal.model.WorkflowedModel;
  20. import com.liferay.portal.service.ServiceContext;
  21. import com.liferay.portlet.expando.model.ExpandoBridge;
  22. import java.io.Serializable;
  23. import java.util.Date;
  24. /**
  25. * The base model interface for the DDLRecordVersion service. Represents a row in the "DDLRecordVersion" database table, with each column mapped to a property of this class.
  26. *
  27. * <p>
  28. * This interface and its corresponding implementation {@link com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionModelImpl} 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.portlet.dynamicdatalists.model.impl.DDLRecordVersionImpl}.
  29. * </p>
  30. *
  31. * @author Brian Wing Shun Chan
  32. * @see DDLRecordVersion
  33. * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionImpl
  34. * @see com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionModelImpl
  35. * @generated
  36. */
  37. public interface DDLRecordVersionModel extends BaseModel<DDLRecordVersion>,
  38. WorkflowedModel {
  39. /*
  40. * NOTE FOR DEVELOPERS:
  41. *
  42. * Never modify or reference this interface directly. All methods that expect a d d l record version model instance should use the {@link DDLRecordVersion} interface instead.
  43. */
  44. /**
  45. * Returns the primary key of this d d l record version.
  46. *
  47. * @return the primary key of this d d l record version
  48. */
  49. public long getPrimaryKey();
  50. /**
  51. * Sets the primary key of this d d l record version.
  52. *
  53. * @param primaryKey the primary key of this d d l record version
  54. */
  55. public void setPrimaryKey(long primaryKey);
  56. /**
  57. * Returns the record version ID of this d d l record version.
  58. *
  59. * @return the record version ID of this d d l record version
  60. */
  61. public long getRecordVersionId();
  62. /**
  63. * Sets the record version ID of this d d l record version.
  64. *
  65. * @param recordVersionId the record version ID of this d d l record version
  66. */
  67. public void setRecordVersionId(long recordVersionId);
  68. /**
  69. * Returns the group ID of this d d l record version.
  70. *
  71. * @return the group ID of this d d l record version
  72. */
  73. public long getGroupId();
  74. /**
  75. * Sets the group ID of this d d l record version.
  76. *
  77. * @param groupId the group ID of this d d l record version
  78. */
  79. public void setGroupId(long groupId);
  80. /**
  81. * Returns the company ID of this d d l record version.
  82. *
  83. * @return the company ID of this d d l record version
  84. */
  85. public long getCompanyId();
  86. /**
  87. * Sets the company ID of this d d l record version.
  88. *
  89. * @param companyId the company ID of this d d l record version
  90. */
  91. public void setCompanyId(long companyId);
  92. /**
  93. * Returns the user ID of this d d l record version.
  94. *
  95. * @return the user ID of this d d l record version
  96. */
  97. public long getUserId();
  98. /**
  99. * Sets the user ID of this d d l record version.
  100. *
  101. * @param userId the user ID of this d d l record version
  102. */
  103. public void setUserId(long userId);
  104. /**
  105. * Returns the user uuid of this d d l record version.
  106. *
  107. * @return the user uuid of this d d l record version
  108. * @throws SystemException if a system exception occurred
  109. */
  110. public String getUserUuid() throws SystemException;
  111. /**
  112. * Sets the user uuid of this d d l record version.
  113. *
  114. * @param userUuid the user uuid of this d d l record version
  115. */
  116. public void setUserUuid(String userUuid);
  117. /**
  118. * Returns the user name of this d d l record version.
  119. *
  120. * @return the user name of this d d l record version
  121. */
  122. @AutoEscape
  123. public String getUserName();
  124. /**
  125. * Sets the user name of this d d l record version.
  126. *
  127. * @param userName the user name of this d d l record version
  128. */
  129. public void setUserName(String userName);
  130. /**
  131. * Returns the create date of this d d l record version.
  132. *
  133. * @return the create date of this d d l record version
  134. */
  135. public Date getCreateDate();
  136. /**
  137. * Sets the create date of this d d l record version.
  138. *
  139. * @param createDate the create date of this d d l record version
  140. */
  141. public void setCreateDate(Date createDate);
  142. /**
  143. * Returns the d d m storage ID of this d d l record version.
  144. *
  145. * @return the d d m storage ID of this d d l record version
  146. */
  147. public long getDDMStorageId();
  148. /**
  149. * Sets the d d m storage ID of this d d l record version.
  150. *
  151. * @param DDMStorageId the d d m storage ID of this d d l record version
  152. */
  153. public void setDDMStorageId(long DDMStorageId);
  154. /**
  155. * Returns the record set ID of this d d l record version.
  156. *
  157. * @return the record set ID of this d d l record version
  158. */
  159. public long getRecordSetId();
  160. /**
  161. * Sets the record set ID of this d d l record version.
  162. *
  163. * @param recordSetId the record set ID of this d d l record version
  164. */
  165. public void setRecordSetId(long recordSetId);
  166. /**
  167. * Returns the record ID of this d d l record version.
  168. *
  169. * @return the record ID of this d d l record version
  170. */
  171. public long getRecordId();
  172. /**
  173. * Sets the record ID of this d d l record version.
  174. *
  175. * @param recordId the record ID of this d d l record version
  176. */
  177. public void setRecordId(long recordId);
  178. /**
  179. * Returns the version of this d d l record version.
  180. *
  181. * @return the version of this d d l record version
  182. */
  183. @AutoEscape
  184. public String getVersion();
  185. /**
  186. * Sets the version of this d d l record version.
  187. *
  188. * @param version the version of this d d l record version
  189. */
  190. public void setVersion(String version);
  191. /**
  192. * Returns the display index of this d d l record version.
  193. *
  194. * @return the display index of this d d l record version
  195. */
  196. public int getDisplayIndex();
  197. /**
  198. * Sets the display index of this d d l record version.
  199. *
  200. * @param displayIndex the display index of this d d l record version
  201. */
  202. public void setDisplayIndex(int displayIndex);
  203. /**
  204. * Returns the status of this d d l record version.
  205. *
  206. * @return the status of this d d l record version
  207. */
  208. public int getStatus();
  209. /**
  210. * Sets the status of this d d l record version.
  211. *
  212. * @param status the status of this d d l record version
  213. */
  214. public void setStatus(int status);
  215. /**
  216. * Returns the status by user ID of this d d l record version.
  217. *
  218. * @return the status by user ID of this d d l record version
  219. */
  220. public long getStatusByUserId();
  221. /**
  222. * Sets the status by user ID of this d d l record version.
  223. *
  224. * @param statusByUserId the status by user ID of this d d l record version
  225. */
  226. public void setStatusByUserId(long statusByUserId);
  227. /**
  228. * Returns the status by user uuid of this d d l record version.
  229. *
  230. * @return the status by user uuid of this d d l record version
  231. * @throws SystemException if a system exception occurred
  232. */
  233. public String getStatusByUserUuid() throws SystemException;
  234. /**
  235. * Sets the status by user uuid of this d d l record version.
  236. *
  237. * @param statusByUserUuid the status by user uuid of this d d l record version
  238. */
  239. public void setStatusByUserUuid(String statusByUserUuid);
  240. /**
  241. * Returns the status by user name of this d d l record version.
  242. *
  243. * @return the status by user name of this d d l record version
  244. */
  245. @AutoEscape
  246. public String getStatusByUserName();
  247. /**
  248. * Sets the status by user name of this d d l record version.
  249. *
  250. * @param statusByUserName the status by user name of this d d l record version
  251. */
  252. public void setStatusByUserName(String statusByUserName);
  253. /**
  254. * Returns the status date of this d d l record version.
  255. *
  256. * @return the status date of this d d l record version
  257. */
  258. public Date getStatusDate();
  259. /**
  260. * Sets the status date of this d d l record version.
  261. *
  262. * @param statusDate the status date of this d d l record version
  263. */
  264. public void setStatusDate(Date statusDate);
  265. /**
  266. * @deprecated Renamed to {@link #isApproved()}
  267. */
  268. public boolean getApproved();
  269. /**
  270. * Returns <code>true</code> if this d d l record version is approved.
  271. *
  272. * @return <code>true</code> if this d d l record version is approved; <code>false</code> otherwise
  273. */
  274. public boolean isApproved();
  275. /**
  276. * Returns <code>true</code> if this d d l record version is a draft.
  277. *
  278. * @return <code>true</code> if this d d l record version is a draft; <code>false</code> otherwise
  279. */
  280. public boolean isDraft();
  281. /**
  282. * Returns <code>true</code> if this d d l record version is expired.
  283. *
  284. * @return <code>true</code> if this d d l record version is expired; <code>false</code> otherwise
  285. */
  286. public boolean isExpired();
  287. /**
  288. * Returns <code>true</code> if this d d l record version is pending.
  289. *
  290. * @return <code>true</code> if this d d l record version is pending; <code>false</code> otherwise
  291. */
  292. public boolean isPending();
  293. public boolean isNew();
  294. public void setNew(boolean n);
  295. public boolean isCachedModel();
  296. public void setCachedModel(boolean cachedModel);
  297. public boolean isEscapedModel();
  298. public void setEscapedModel(boolean escapedModel);
  299. public Serializable getPrimaryKeyObj();
  300. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  301. public ExpandoBridge getExpandoBridge();
  302. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  303. public Object clone();
  304. public int compareTo(DDLRecordVersion ddlRecordVersion);
  305. public int hashCode();
  306. public CacheModel<DDLRecordVersion> toCacheModel();
  307. public DDLRecordVersion toEscapedModel();
  308. public String toString();
  309. public String toXmlString();
  310. }