/portal-service/src/com/liferay/portlet/announcements/model/AnnouncementsEntryModel.java

https://github.com/spreddy/liferay-portal · Java · 372 lines · 77 code · 63 blank · 232 comment · 0 complexity · 9d528b5cdda2f73b5b96a5fbc794ea7c 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.announcements.model;
  15. import com.liferay.portal.kernel.bean.AutoEscape;
  16. import com.liferay.portal.kernel.exception.SystemException;
  17. import com.liferay.portal.model.AttachedModel;
  18. import com.liferay.portal.model.AuditedModel;
  19. import com.liferay.portal.model.BaseModel;
  20. import com.liferay.portal.model.CacheModel;
  21. import com.liferay.portal.service.ServiceContext;
  22. import com.liferay.portlet.expando.model.ExpandoBridge;
  23. import java.io.Serializable;
  24. import java.util.Date;
  25. /**
  26. * The base model interface for the AnnouncementsEntry service. Represents a row in the "AnnouncementsEntry" database table, with each column mapped to a property of this class.
  27. *
  28. * <p>
  29. * This interface and its corresponding implementation {@link com.liferay.portlet.announcements.model.impl.AnnouncementsEntryModelImpl} 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.announcements.model.impl.AnnouncementsEntryImpl}.
  30. * </p>
  31. *
  32. * @author Brian Wing Shun Chan
  33. * @see AnnouncementsEntry
  34. * @see com.liferay.portlet.announcements.model.impl.AnnouncementsEntryImpl
  35. * @see com.liferay.portlet.announcements.model.impl.AnnouncementsEntryModelImpl
  36. * @generated
  37. */
  38. public interface AnnouncementsEntryModel extends AttachedModel, AuditedModel,
  39. BaseModel<AnnouncementsEntry> {
  40. /*
  41. * NOTE FOR DEVELOPERS:
  42. *
  43. * Never modify or reference this interface directly. All methods that expect a announcements entry model instance should use the {@link AnnouncementsEntry} interface instead.
  44. */
  45. /**
  46. * Returns the primary key of this announcements entry.
  47. *
  48. * @return the primary key of this announcements entry
  49. */
  50. public long getPrimaryKey();
  51. /**
  52. * Sets the primary key of this announcements entry.
  53. *
  54. * @param primaryKey the primary key of this announcements entry
  55. */
  56. public void setPrimaryKey(long primaryKey);
  57. /**
  58. * Returns the uuid of this announcements entry.
  59. *
  60. * @return the uuid of this announcements entry
  61. */
  62. @AutoEscape
  63. public String getUuid();
  64. /**
  65. * Sets the uuid of this announcements entry.
  66. *
  67. * @param uuid the uuid of this announcements entry
  68. */
  69. public void setUuid(String uuid);
  70. /**
  71. * Returns the entry ID of this announcements entry.
  72. *
  73. * @return the entry ID of this announcements entry
  74. */
  75. public long getEntryId();
  76. /**
  77. * Sets the entry ID of this announcements entry.
  78. *
  79. * @param entryId the entry ID of this announcements entry
  80. */
  81. public void setEntryId(long entryId);
  82. /**
  83. * Returns the company ID of this announcements entry.
  84. *
  85. * @return the company ID of this announcements entry
  86. */
  87. public long getCompanyId();
  88. /**
  89. * Sets the company ID of this announcements entry.
  90. *
  91. * @param companyId the company ID of this announcements entry
  92. */
  93. public void setCompanyId(long companyId);
  94. /**
  95. * Returns the user ID of this announcements entry.
  96. *
  97. * @return the user ID of this announcements entry
  98. */
  99. public long getUserId();
  100. /**
  101. * Sets the user ID of this announcements entry.
  102. *
  103. * @param userId the user ID of this announcements entry
  104. */
  105. public void setUserId(long userId);
  106. /**
  107. * Returns the user uuid of this announcements entry.
  108. *
  109. * @return the user uuid of this announcements entry
  110. * @throws SystemException if a system exception occurred
  111. */
  112. public String getUserUuid() throws SystemException;
  113. /**
  114. * Sets the user uuid of this announcements entry.
  115. *
  116. * @param userUuid the user uuid of this announcements entry
  117. */
  118. public void setUserUuid(String userUuid);
  119. /**
  120. * Returns the user name of this announcements entry.
  121. *
  122. * @return the user name of this announcements entry
  123. */
  124. @AutoEscape
  125. public String getUserName();
  126. /**
  127. * Sets the user name of this announcements entry.
  128. *
  129. * @param userName the user name of this announcements entry
  130. */
  131. public void setUserName(String userName);
  132. /**
  133. * Returns the create date of this announcements entry.
  134. *
  135. * @return the create date of this announcements entry
  136. */
  137. public Date getCreateDate();
  138. /**
  139. * Sets the create date of this announcements entry.
  140. *
  141. * @param createDate the create date of this announcements entry
  142. */
  143. public void setCreateDate(Date createDate);
  144. /**
  145. * Returns the modified date of this announcements entry.
  146. *
  147. * @return the modified date of this announcements entry
  148. */
  149. public Date getModifiedDate();
  150. /**
  151. * Sets the modified date of this announcements entry.
  152. *
  153. * @param modifiedDate the modified date of this announcements entry
  154. */
  155. public void setModifiedDate(Date modifiedDate);
  156. /**
  157. * Returns the fully qualified class name of this announcements entry.
  158. *
  159. * @return the fully qualified class name of this announcements entry
  160. */
  161. public String getClassName();
  162. /**
  163. * Returns the class name ID of this announcements entry.
  164. *
  165. * @return the class name ID of this announcements entry
  166. */
  167. public long getClassNameId();
  168. /**
  169. * Sets the class name ID of this announcements entry.
  170. *
  171. * @param classNameId the class name ID of this announcements entry
  172. */
  173. public void setClassNameId(long classNameId);
  174. /**
  175. * Returns the class p k of this announcements entry.
  176. *
  177. * @return the class p k of this announcements entry
  178. */
  179. public long getClassPK();
  180. /**
  181. * Sets the class p k of this announcements entry.
  182. *
  183. * @param classPK the class p k of this announcements entry
  184. */
  185. public void setClassPK(long classPK);
  186. /**
  187. * Returns the title of this announcements entry.
  188. *
  189. * @return the title of this announcements entry
  190. */
  191. @AutoEscape
  192. public String getTitle();
  193. /**
  194. * Sets the title of this announcements entry.
  195. *
  196. * @param title the title of this announcements entry
  197. */
  198. public void setTitle(String title);
  199. /**
  200. * Returns the content of this announcements entry.
  201. *
  202. * @return the content of this announcements entry
  203. */
  204. @AutoEscape
  205. public String getContent();
  206. /**
  207. * Sets the content of this announcements entry.
  208. *
  209. * @param content the content of this announcements entry
  210. */
  211. public void setContent(String content);
  212. /**
  213. * Returns the url of this announcements entry.
  214. *
  215. * @return the url of this announcements entry
  216. */
  217. @AutoEscape
  218. public String getUrl();
  219. /**
  220. * Sets the url of this announcements entry.
  221. *
  222. * @param url the url of this announcements entry
  223. */
  224. public void setUrl(String url);
  225. /**
  226. * Returns the type of this announcements entry.
  227. *
  228. * @return the type of this announcements entry
  229. */
  230. @AutoEscape
  231. public String getType();
  232. /**
  233. * Sets the type of this announcements entry.
  234. *
  235. * @param type the type of this announcements entry
  236. */
  237. public void setType(String type);
  238. /**
  239. * Returns the display date of this announcements entry.
  240. *
  241. * @return the display date of this announcements entry
  242. */
  243. public Date getDisplayDate();
  244. /**
  245. * Sets the display date of this announcements entry.
  246. *
  247. * @param displayDate the display date of this announcements entry
  248. */
  249. public void setDisplayDate(Date displayDate);
  250. /**
  251. * Returns the expiration date of this announcements entry.
  252. *
  253. * @return the expiration date of this announcements entry
  254. */
  255. public Date getExpirationDate();
  256. /**
  257. * Sets the expiration date of this announcements entry.
  258. *
  259. * @param expirationDate the expiration date of this announcements entry
  260. */
  261. public void setExpirationDate(Date expirationDate);
  262. /**
  263. * Returns the priority of this announcements entry.
  264. *
  265. * @return the priority of this announcements entry
  266. */
  267. public int getPriority();
  268. /**
  269. * Sets the priority of this announcements entry.
  270. *
  271. * @param priority the priority of this announcements entry
  272. */
  273. public void setPriority(int priority);
  274. /**
  275. * Returns the alert of this announcements entry.
  276. *
  277. * @return the alert of this announcements entry
  278. */
  279. public boolean getAlert();
  280. /**
  281. * Returns <code>true</code> if this announcements entry is alert.
  282. *
  283. * @return <code>true</code> if this announcements entry is alert; <code>false</code> otherwise
  284. */
  285. public boolean isAlert();
  286. /**
  287. * Sets whether this announcements entry is alert.
  288. *
  289. * @param alert the alert of this announcements entry
  290. */
  291. public void setAlert(boolean alert);
  292. public boolean isNew();
  293. public void setNew(boolean n);
  294. public boolean isCachedModel();
  295. public void setCachedModel(boolean cachedModel);
  296. public boolean isEscapedModel();
  297. public void setEscapedModel(boolean escapedModel);
  298. public Serializable getPrimaryKeyObj();
  299. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  300. public ExpandoBridge getExpandoBridge();
  301. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  302. public Object clone();
  303. public int compareTo(AnnouncementsEntry announcementsEntry);
  304. public int hashCode();
  305. public CacheModel<AnnouncementsEntry> toCacheModel();
  306. public AnnouncementsEntry toEscapedModel();
  307. public String toString();
  308. public String toXmlString();
  309. }