/portal-service/src/com/liferay/portlet/blogs/model/BlogsEntryModel.java

https://github.com/portalcollc/liferay-portal · Java · 512 lines · 99 code · 82 blank · 331 comment · 0 complexity · db55cd833b1b88a05b776571d369310c 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.blogs.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.GroupedModel;
  20. import com.liferay.portal.model.WorkflowedModel;
  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 BlogsEntry service. Represents a row in the "BlogsEntry" 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.blogs.model.impl.BlogsEntryModelImpl} 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.blogs.model.impl.BlogsEntryImpl}.
  30. * </p>
  31. *
  32. * @author Brian Wing Shun Chan
  33. * @see BlogsEntry
  34. * @see com.liferay.portlet.blogs.model.impl.BlogsEntryImpl
  35. * @see com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl
  36. * @generated
  37. */
  38. public interface BlogsEntryModel extends BaseModel<BlogsEntry>, GroupedModel,
  39. WorkflowedModel {
  40. /*
  41. * NOTE FOR DEVELOPERS:
  42. *
  43. * Never modify or reference this interface directly. All methods that expect a blogs entry model instance should use the {@link BlogsEntry} interface instead.
  44. */
  45. /**
  46. * Returns the primary key of this blogs entry.
  47. *
  48. * @return the primary key of this blogs entry
  49. */
  50. public long getPrimaryKey();
  51. /**
  52. * Sets the primary key of this blogs entry.
  53. *
  54. * @param primaryKey the primary key of this blogs entry
  55. */
  56. public void setPrimaryKey(long primaryKey);
  57. /**
  58. * Returns the uuid of this blogs entry.
  59. *
  60. * @return the uuid of this blogs entry
  61. */
  62. @AutoEscape
  63. public String getUuid();
  64. /**
  65. * Sets the uuid of this blogs entry.
  66. *
  67. * @param uuid the uuid of this blogs entry
  68. */
  69. public void setUuid(String uuid);
  70. /**
  71. * Returns the entry ID of this blogs entry.
  72. *
  73. * @return the entry ID of this blogs entry
  74. */
  75. public long getEntryId();
  76. /**
  77. * Sets the entry ID of this blogs entry.
  78. *
  79. * @param entryId the entry ID of this blogs entry
  80. */
  81. public void setEntryId(long entryId);
  82. /**
  83. * Returns the group ID of this blogs entry.
  84. *
  85. * @return the group ID of this blogs entry
  86. */
  87. public long getGroupId();
  88. /**
  89. * Sets the group ID of this blogs entry.
  90. *
  91. * @param groupId the group ID of this blogs entry
  92. */
  93. public void setGroupId(long groupId);
  94. /**
  95. * Returns the company ID of this blogs entry.
  96. *
  97. * @return the company ID of this blogs entry
  98. */
  99. public long getCompanyId();
  100. /**
  101. * Sets the company ID of this blogs entry.
  102. *
  103. * @param companyId the company ID of this blogs entry
  104. */
  105. public void setCompanyId(long companyId);
  106. /**
  107. * Returns the user ID of this blogs entry.
  108. *
  109. * @return the user ID of this blogs entry
  110. */
  111. public long getUserId();
  112. /**
  113. * Sets the user ID of this blogs entry.
  114. *
  115. * @param userId the user ID of this blogs entry
  116. */
  117. public void setUserId(long userId);
  118. /**
  119. * Returns the user uuid of this blogs entry.
  120. *
  121. * @return the user uuid of this blogs entry
  122. * @throws SystemException if a system exception occurred
  123. */
  124. public String getUserUuid() throws SystemException;
  125. /**
  126. * Sets the user uuid of this blogs entry.
  127. *
  128. * @param userUuid the user uuid of this blogs entry
  129. */
  130. public void setUserUuid(String userUuid);
  131. /**
  132. * Returns the user name of this blogs entry.
  133. *
  134. * @return the user name of this blogs entry
  135. */
  136. @AutoEscape
  137. public String getUserName();
  138. /**
  139. * Sets the user name of this blogs entry.
  140. *
  141. * @param userName the user name of this blogs entry
  142. */
  143. public void setUserName(String userName);
  144. /**
  145. * Returns the create date of this blogs entry.
  146. *
  147. * @return the create date of this blogs entry
  148. */
  149. public Date getCreateDate();
  150. /**
  151. * Sets the create date of this blogs entry.
  152. *
  153. * @param createDate the create date of this blogs entry
  154. */
  155. public void setCreateDate(Date createDate);
  156. /**
  157. * Returns the modified date of this blogs entry.
  158. *
  159. * @return the modified date of this blogs entry
  160. */
  161. public Date getModifiedDate();
  162. /**
  163. * Sets the modified date of this blogs entry.
  164. *
  165. * @param modifiedDate the modified date of this blogs entry
  166. */
  167. public void setModifiedDate(Date modifiedDate);
  168. /**
  169. * Returns the title of this blogs entry.
  170. *
  171. * @return the title of this blogs entry
  172. */
  173. @AutoEscape
  174. public String getTitle();
  175. /**
  176. * Sets the title of this blogs entry.
  177. *
  178. * @param title the title of this blogs entry
  179. */
  180. public void setTitle(String title);
  181. /**
  182. * Returns the url title of this blogs entry.
  183. *
  184. * @return the url title of this blogs entry
  185. */
  186. @AutoEscape
  187. public String getUrlTitle();
  188. /**
  189. * Sets the url title of this blogs entry.
  190. *
  191. * @param urlTitle the url title of this blogs entry
  192. */
  193. public void setUrlTitle(String urlTitle);
  194. /**
  195. * Returns the description of this blogs entry.
  196. *
  197. * @return the description of this blogs entry
  198. */
  199. @AutoEscape
  200. public String getDescription();
  201. /**
  202. * Sets the description of this blogs entry.
  203. *
  204. * @param description the description of this blogs entry
  205. */
  206. public void setDescription(String description);
  207. /**
  208. * Returns the content of this blogs entry.
  209. *
  210. * @return the content of this blogs entry
  211. */
  212. @AutoEscape
  213. public String getContent();
  214. /**
  215. * Sets the content of this blogs entry.
  216. *
  217. * @param content the content of this blogs entry
  218. */
  219. public void setContent(String content);
  220. /**
  221. * Returns the display date of this blogs entry.
  222. *
  223. * @return the display date of this blogs entry
  224. */
  225. public Date getDisplayDate();
  226. /**
  227. * Sets the display date of this blogs entry.
  228. *
  229. * @param displayDate the display date of this blogs entry
  230. */
  231. public void setDisplayDate(Date displayDate);
  232. /**
  233. * Returns the allow pingbacks of this blogs entry.
  234. *
  235. * @return the allow pingbacks of this blogs entry
  236. */
  237. public boolean getAllowPingbacks();
  238. /**
  239. * Returns <code>true</code> if this blogs entry is allow pingbacks.
  240. *
  241. * @return <code>true</code> if this blogs entry is allow pingbacks; <code>false</code> otherwise
  242. */
  243. public boolean isAllowPingbacks();
  244. /**
  245. * Sets whether this blogs entry is allow pingbacks.
  246. *
  247. * @param allowPingbacks the allow pingbacks of this blogs entry
  248. */
  249. public void setAllowPingbacks(boolean allowPingbacks);
  250. /**
  251. * Returns the allow trackbacks of this blogs entry.
  252. *
  253. * @return the allow trackbacks of this blogs entry
  254. */
  255. public boolean getAllowTrackbacks();
  256. /**
  257. * Returns <code>true</code> if this blogs entry is allow trackbacks.
  258. *
  259. * @return <code>true</code> if this blogs entry is allow trackbacks; <code>false</code> otherwise
  260. */
  261. public boolean isAllowTrackbacks();
  262. /**
  263. * Sets whether this blogs entry is allow trackbacks.
  264. *
  265. * @param allowTrackbacks the allow trackbacks of this blogs entry
  266. */
  267. public void setAllowTrackbacks(boolean allowTrackbacks);
  268. /**
  269. * Returns the trackbacks of this blogs entry.
  270. *
  271. * @return the trackbacks of this blogs entry
  272. */
  273. @AutoEscape
  274. public String getTrackbacks();
  275. /**
  276. * Sets the trackbacks of this blogs entry.
  277. *
  278. * @param trackbacks the trackbacks of this blogs entry
  279. */
  280. public void setTrackbacks(String trackbacks);
  281. /**
  282. * Returns the small image of this blogs entry.
  283. *
  284. * @return the small image of this blogs entry
  285. */
  286. public boolean getSmallImage();
  287. /**
  288. * Returns <code>true</code> if this blogs entry is small image.
  289. *
  290. * @return <code>true</code> if this blogs entry is small image; <code>false</code> otherwise
  291. */
  292. public boolean isSmallImage();
  293. /**
  294. * Sets whether this blogs entry is small image.
  295. *
  296. * @param smallImage the small image of this blogs entry
  297. */
  298. public void setSmallImage(boolean smallImage);
  299. /**
  300. * Returns the small image ID of this blogs entry.
  301. *
  302. * @return the small image ID of this blogs entry
  303. */
  304. public long getSmallImageId();
  305. /**
  306. * Sets the small image ID of this blogs entry.
  307. *
  308. * @param smallImageId the small image ID of this blogs entry
  309. */
  310. public void setSmallImageId(long smallImageId);
  311. /**
  312. * Returns the small image u r l of this blogs entry.
  313. *
  314. * @return the small image u r l of this blogs entry
  315. */
  316. @AutoEscape
  317. public String getSmallImageURL();
  318. /**
  319. * Sets the small image u r l of this blogs entry.
  320. *
  321. * @param smallImageURL the small image u r l of this blogs entry
  322. */
  323. public void setSmallImageURL(String smallImageURL);
  324. /**
  325. * Returns the status of this blogs entry.
  326. *
  327. * @return the status of this blogs entry
  328. */
  329. public int getStatus();
  330. /**
  331. * Sets the status of this blogs entry.
  332. *
  333. * @param status the status of this blogs entry
  334. */
  335. public void setStatus(int status);
  336. /**
  337. * Returns the status by user ID of this blogs entry.
  338. *
  339. * @return the status by user ID of this blogs entry
  340. */
  341. public long getStatusByUserId();
  342. /**
  343. * Sets the status by user ID of this blogs entry.
  344. *
  345. * @param statusByUserId the status by user ID of this blogs entry
  346. */
  347. public void setStatusByUserId(long statusByUserId);
  348. /**
  349. * Returns the status by user uuid of this blogs entry.
  350. *
  351. * @return the status by user uuid of this blogs entry
  352. * @throws SystemException if a system exception occurred
  353. */
  354. public String getStatusByUserUuid() throws SystemException;
  355. /**
  356. * Sets the status by user uuid of this blogs entry.
  357. *
  358. * @param statusByUserUuid the status by user uuid of this blogs entry
  359. */
  360. public void setStatusByUserUuid(String statusByUserUuid);
  361. /**
  362. * Returns the status by user name of this blogs entry.
  363. *
  364. * @return the status by user name of this blogs entry
  365. */
  366. @AutoEscape
  367. public String getStatusByUserName();
  368. /**
  369. * Sets the status by user name of this blogs entry.
  370. *
  371. * @param statusByUserName the status by user name of this blogs entry
  372. */
  373. public void setStatusByUserName(String statusByUserName);
  374. /**
  375. * Returns the status date of this blogs entry.
  376. *
  377. * @return the status date of this blogs entry
  378. */
  379. public Date getStatusDate();
  380. /**
  381. * Sets the status date of this blogs entry.
  382. *
  383. * @param statusDate the status date of this blogs entry
  384. */
  385. public void setStatusDate(Date statusDate);
  386. /**
  387. * @deprecated Renamed to {@link #isApproved()}
  388. */
  389. public boolean getApproved();
  390. /**
  391. * Returns <code>true</code> if this blogs entry is approved.
  392. *
  393. * @return <code>true</code> if this blogs entry is approved; <code>false</code> otherwise
  394. */
  395. public boolean isApproved();
  396. /**
  397. * Returns <code>true</code> if this blogs entry is a draft.
  398. *
  399. * @return <code>true</code> if this blogs entry is a draft; <code>false</code> otherwise
  400. */
  401. public boolean isDraft();
  402. /**
  403. * Returns <code>true</code> if this blogs entry is expired.
  404. *
  405. * @return <code>true</code> if this blogs entry is expired; <code>false</code> otherwise
  406. */
  407. public boolean isExpired();
  408. /**
  409. * Returns <code>true</code> if this blogs entry is pending.
  410. *
  411. * @return <code>true</code> if this blogs entry is pending; <code>false</code> otherwise
  412. */
  413. public boolean isPending();
  414. public boolean isNew();
  415. public void setNew(boolean n);
  416. public boolean isCachedModel();
  417. public void setCachedModel(boolean cachedModel);
  418. public boolean isEscapedModel();
  419. public Serializable getPrimaryKeyObj();
  420. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  421. public ExpandoBridge getExpandoBridge();
  422. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  423. public Object clone();
  424. public int compareTo(BlogsEntry blogsEntry);
  425. public int hashCode();
  426. public CacheModel<BlogsEntry> toCacheModel();
  427. public BlogsEntry toEscapedModel();
  428. public String toString();
  429. public String toXmlString();
  430. }