001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.journal.model; 016 017 import com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.model.CacheModel; 021 import com.liferay.portal.model.StagedGroupedModel; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.expando.model.ExpandoBridge; 025 026 import java.io.Serializable; 027 028 import java.util.Date; 029 030 /** 031 * The base model interface for the JournalFeed service. Represents a row in the "JournalFeed" database table, with each column mapped to a property of this class. 032 * 033 * <p> 034 * This interface and its corresponding implementation {@link com.liferay.portlet.journal.model.impl.JournalFeedModelImpl} 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.journal.model.impl.JournalFeedImpl}. 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see JournalFeed 039 * @see com.liferay.portlet.journal.model.impl.JournalFeedImpl 040 * @see com.liferay.portlet.journal.model.impl.JournalFeedModelImpl 041 * @generated 042 */ 043 public interface JournalFeedModel extends BaseModel<JournalFeed>, 044 StagedGroupedModel { 045 /* 046 * NOTE FOR DEVELOPERS: 047 * 048 * Never modify or reference this interface directly. All methods that expect a journal feed model instance should use the {@link JournalFeed} interface instead. 049 */ 050 051 /** 052 * Returns the primary key of this journal feed. 053 * 054 * @return the primary key of this journal feed 055 */ 056 public long getPrimaryKey(); 057 058 /** 059 * Sets the primary key of this journal feed. 060 * 061 * @param primaryKey the primary key of this journal feed 062 */ 063 public void setPrimaryKey(long primaryKey); 064 065 /** 066 * Returns the uuid of this journal feed. 067 * 068 * @return the uuid of this journal feed 069 */ 070 @AutoEscape 071 @Override 072 public String getUuid(); 073 074 /** 075 * Sets the uuid of this journal feed. 076 * 077 * @param uuid the uuid of this journal feed 078 */ 079 @Override 080 public void setUuid(String uuid); 081 082 /** 083 * Returns the ID of this journal feed. 084 * 085 * @return the ID of this journal feed 086 */ 087 public long getId(); 088 089 /** 090 * Sets the ID of this journal feed. 091 * 092 * @param id the ID of this journal feed 093 */ 094 public void setId(long id); 095 096 /** 097 * Returns the group ID of this journal feed. 098 * 099 * @return the group ID of this journal feed 100 */ 101 @Override 102 public long getGroupId(); 103 104 /** 105 * Sets the group ID of this journal feed. 106 * 107 * @param groupId the group ID of this journal feed 108 */ 109 @Override 110 public void setGroupId(long groupId); 111 112 /** 113 * Returns the company ID of this journal feed. 114 * 115 * @return the company ID of this journal feed 116 */ 117 @Override 118 public long getCompanyId(); 119 120 /** 121 * Sets the company ID of this journal feed. 122 * 123 * @param companyId the company ID of this journal feed 124 */ 125 @Override 126 public void setCompanyId(long companyId); 127 128 /** 129 * Returns the user ID of this journal feed. 130 * 131 * @return the user ID of this journal feed 132 */ 133 @Override 134 public long getUserId(); 135 136 /** 137 * Sets the user ID of this journal feed. 138 * 139 * @param userId the user ID of this journal feed 140 */ 141 @Override 142 public void setUserId(long userId); 143 144 /** 145 * Returns the user uuid of this journal feed. 146 * 147 * @return the user uuid of this journal feed 148 * @throws SystemException if a system exception occurred 149 */ 150 @Override 151 public String getUserUuid() throws SystemException; 152 153 /** 154 * Sets the user uuid of this journal feed. 155 * 156 * @param userUuid the user uuid of this journal feed 157 */ 158 @Override 159 public void setUserUuid(String userUuid); 160 161 /** 162 * Returns the user name of this journal feed. 163 * 164 * @return the user name of this journal feed 165 */ 166 @AutoEscape 167 @Override 168 public String getUserName(); 169 170 /** 171 * Sets the user name of this journal feed. 172 * 173 * @param userName the user name of this journal feed 174 */ 175 @Override 176 public void setUserName(String userName); 177 178 /** 179 * Returns the create date of this journal feed. 180 * 181 * @return the create date of this journal feed 182 */ 183 @Override 184 public Date getCreateDate(); 185 186 /** 187 * Sets the create date of this journal feed. 188 * 189 * @param createDate the create date of this journal feed 190 */ 191 @Override 192 public void setCreateDate(Date createDate); 193 194 /** 195 * Returns the modified date of this journal feed. 196 * 197 * @return the modified date of this journal feed 198 */ 199 @Override 200 public Date getModifiedDate(); 201 202 /** 203 * Sets the modified date of this journal feed. 204 * 205 * @param modifiedDate the modified date of this journal feed 206 */ 207 @Override 208 public void setModifiedDate(Date modifiedDate); 209 210 /** 211 * Returns the feed ID of this journal feed. 212 * 213 * @return the feed ID of this journal feed 214 */ 215 public String getFeedId(); 216 217 /** 218 * Sets the feed ID of this journal feed. 219 * 220 * @param feedId the feed ID of this journal feed 221 */ 222 public void setFeedId(String feedId); 223 224 /** 225 * Returns the name of this journal feed. 226 * 227 * @return the name of this journal feed 228 */ 229 @AutoEscape 230 public String getName(); 231 232 /** 233 * Sets the name of this journal feed. 234 * 235 * @param name the name of this journal feed 236 */ 237 public void setName(String name); 238 239 /** 240 * Returns the description of this journal feed. 241 * 242 * @return the description of this journal feed 243 */ 244 @AutoEscape 245 public String getDescription(); 246 247 /** 248 * Sets the description of this journal feed. 249 * 250 * @param description the description of this journal feed 251 */ 252 public void setDescription(String description); 253 254 /** 255 * Returns the type of this journal feed. 256 * 257 * @return the type of this journal feed 258 */ 259 @AutoEscape 260 public String getType(); 261 262 /** 263 * Sets the type of this journal feed. 264 * 265 * @param type the type of this journal feed 266 */ 267 public void setType(String type); 268 269 /** 270 * Returns the structure ID of this journal feed. 271 * 272 * @return the structure ID of this journal feed 273 */ 274 public String getStructureId(); 275 276 /** 277 * Sets the structure ID of this journal feed. 278 * 279 * @param structureId the structure ID of this journal feed 280 */ 281 public void setStructureId(String structureId); 282 283 /** 284 * Returns the template ID of this journal feed. 285 * 286 * @return the template ID of this journal feed 287 */ 288 public String getTemplateId(); 289 290 /** 291 * Sets the template ID of this journal feed. 292 * 293 * @param templateId the template ID of this journal feed 294 */ 295 public void setTemplateId(String templateId); 296 297 /** 298 * Returns the renderer template ID of this journal feed. 299 * 300 * @return the renderer template ID of this journal feed 301 */ 302 @AutoEscape 303 public String getRendererTemplateId(); 304 305 /** 306 * Sets the renderer template ID of this journal feed. 307 * 308 * @param rendererTemplateId the renderer template ID of this journal feed 309 */ 310 public void setRendererTemplateId(String rendererTemplateId); 311 312 /** 313 * Returns the delta of this journal feed. 314 * 315 * @return the delta of this journal feed 316 */ 317 public int getDelta(); 318 319 /** 320 * Sets the delta of this journal feed. 321 * 322 * @param delta the delta of this journal feed 323 */ 324 public void setDelta(int delta); 325 326 /** 327 * Returns the order by col of this journal feed. 328 * 329 * @return the order by col of this journal feed 330 */ 331 @AutoEscape 332 public String getOrderByCol(); 333 334 /** 335 * Sets the order by col of this journal feed. 336 * 337 * @param orderByCol the order by col of this journal feed 338 */ 339 public void setOrderByCol(String orderByCol); 340 341 /** 342 * Returns the order by type of this journal feed. 343 * 344 * @return the order by type of this journal feed 345 */ 346 @AutoEscape 347 public String getOrderByType(); 348 349 /** 350 * Sets the order by type of this journal feed. 351 * 352 * @param orderByType the order by type of this journal feed 353 */ 354 public void setOrderByType(String orderByType); 355 356 /** 357 * Returns the target layout friendly url of this journal feed. 358 * 359 * @return the target layout friendly url of this journal feed 360 */ 361 @AutoEscape 362 public String getTargetLayoutFriendlyUrl(); 363 364 /** 365 * Sets the target layout friendly url of this journal feed. 366 * 367 * @param targetLayoutFriendlyUrl the target layout friendly url of this journal feed 368 */ 369 public void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl); 370 371 /** 372 * Returns the target portlet ID of this journal feed. 373 * 374 * @return the target portlet ID of this journal feed 375 */ 376 @AutoEscape 377 public String getTargetPortletId(); 378 379 /** 380 * Sets the target portlet ID of this journal feed. 381 * 382 * @param targetPortletId the target portlet ID of this journal feed 383 */ 384 public void setTargetPortletId(String targetPortletId); 385 386 /** 387 * Returns the content field of this journal feed. 388 * 389 * @return the content field of this journal feed 390 */ 391 @AutoEscape 392 public String getContentField(); 393 394 /** 395 * Sets the content field of this journal feed. 396 * 397 * @param contentField the content field of this journal feed 398 */ 399 public void setContentField(String contentField); 400 401 /** 402 * Returns the feed format of this journal feed. 403 * 404 * @return the feed format of this journal feed 405 */ 406 @AutoEscape 407 public String getFeedFormat(); 408 409 /** 410 * Sets the feed format of this journal feed. 411 * 412 * @param feedFormat the feed format of this journal feed 413 */ 414 public void setFeedFormat(String feedFormat); 415 416 /** 417 * Returns the feed version of this journal feed. 418 * 419 * @return the feed version of this journal feed 420 */ 421 public double getFeedVersion(); 422 423 /** 424 * Sets the feed version of this journal feed. 425 * 426 * @param feedVersion the feed version of this journal feed 427 */ 428 public void setFeedVersion(double feedVersion); 429 430 @Override 431 public boolean isNew(); 432 433 @Override 434 public void setNew(boolean n); 435 436 @Override 437 public boolean isCachedModel(); 438 439 @Override 440 public void setCachedModel(boolean cachedModel); 441 442 @Override 443 public boolean isEscapedModel(); 444 445 @Override 446 public Serializable getPrimaryKeyObj(); 447 448 @Override 449 public void setPrimaryKeyObj(Serializable primaryKeyObj); 450 451 @Override 452 public ExpandoBridge getExpandoBridge(); 453 454 @Override 455 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 456 457 @Override 458 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 459 460 @Override 461 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 462 463 @Override 464 public Object clone(); 465 466 @Override 467 public int compareTo(JournalFeed journalFeed); 468 469 @Override 470 public int hashCode(); 471 472 @Override 473 public CacheModel<JournalFeed> toCacheModel(); 474 475 @Override 476 public JournalFeed toEscapedModel(); 477 478 @Override 479 public JournalFeed toUnescapedModel(); 480 481 @Override 482 public String toString(); 483 484 @Override 485 public String toXmlString(); 486 }