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