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 public String getUuid(); 072 073 /** 074 * Sets the uuid of this journal feed. 075 * 076 * @param uuid the uuid of this journal feed 077 */ 078 public void setUuid(String uuid); 079 080 /** 081 * Returns the ID of this journal feed. 082 * 083 * @return the ID of this journal feed 084 */ 085 public long getId(); 086 087 /** 088 * Sets the ID of this journal feed. 089 * 090 * @param id the ID of this journal feed 091 */ 092 public void setId(long id); 093 094 /** 095 * Returns the group ID of this journal feed. 096 * 097 * @return the group ID of this journal feed 098 */ 099 public long getGroupId(); 100 101 /** 102 * Sets the group ID of this journal feed. 103 * 104 * @param groupId the group ID of this journal feed 105 */ 106 public void setGroupId(long groupId); 107 108 /** 109 * Returns the company ID of this journal feed. 110 * 111 * @return the company ID of this journal feed 112 */ 113 public long getCompanyId(); 114 115 /** 116 * Sets the company ID of this journal feed. 117 * 118 * @param companyId the company ID of this journal feed 119 */ 120 public void setCompanyId(long companyId); 121 122 /** 123 * Returns the user ID of this journal feed. 124 * 125 * @return the user ID of this journal feed 126 */ 127 public long getUserId(); 128 129 /** 130 * Sets the user ID of this journal feed. 131 * 132 * @param userId the user ID of this journal feed 133 */ 134 public void setUserId(long userId); 135 136 /** 137 * Returns the user uuid of this journal feed. 138 * 139 * @return the user uuid of this journal feed 140 * @throws SystemException if a system exception occurred 141 */ 142 public String getUserUuid() throws SystemException; 143 144 /** 145 * Sets the user uuid of this journal feed. 146 * 147 * @param userUuid the user uuid of this journal feed 148 */ 149 public void setUserUuid(String userUuid); 150 151 /** 152 * Returns the user name of this journal feed. 153 * 154 * @return the user name of this journal feed 155 */ 156 @AutoEscape 157 public String getUserName(); 158 159 /** 160 * Sets the user name of this journal feed. 161 * 162 * @param userName the user name of this journal feed 163 */ 164 public void setUserName(String userName); 165 166 /** 167 * Returns the create date of this journal feed. 168 * 169 * @return the create date of this journal feed 170 */ 171 public Date getCreateDate(); 172 173 /** 174 * Sets the create date of this journal feed. 175 * 176 * @param createDate the create date of this journal feed 177 */ 178 public void setCreateDate(Date createDate); 179 180 /** 181 * Returns the modified date of this journal feed. 182 * 183 * @return the modified date of this journal feed 184 */ 185 public Date getModifiedDate(); 186 187 /** 188 * Sets the modified date of this journal feed. 189 * 190 * @param modifiedDate the modified date of this journal feed 191 */ 192 public void setModifiedDate(Date modifiedDate); 193 194 /** 195 * Returns the feed ID of this journal feed. 196 * 197 * @return the feed ID of this journal feed 198 */ 199 public String getFeedId(); 200 201 /** 202 * Sets the feed ID of this journal feed. 203 * 204 * @param feedId the feed ID of this journal feed 205 */ 206 public void setFeedId(String feedId); 207 208 /** 209 * Returns the name of this journal feed. 210 * 211 * @return the name of this journal feed 212 */ 213 @AutoEscape 214 public String getName(); 215 216 /** 217 * Sets the name of this journal feed. 218 * 219 * @param name the name of this journal feed 220 */ 221 public void setName(String name); 222 223 /** 224 * Returns the description of this journal feed. 225 * 226 * @return the description of this journal feed 227 */ 228 @AutoEscape 229 public String getDescription(); 230 231 /** 232 * Sets the description of this journal feed. 233 * 234 * @param description the description of this journal feed 235 */ 236 public void setDescription(String description); 237 238 /** 239 * Returns the type of this journal feed. 240 * 241 * @return the type of this journal feed 242 */ 243 @AutoEscape 244 public String getType(); 245 246 /** 247 * Sets the type of this journal feed. 248 * 249 * @param type the type of this journal feed 250 */ 251 public void setType(String type); 252 253 /** 254 * Returns the structure ID of this journal feed. 255 * 256 * @return the structure ID of this journal feed 257 */ 258 public String getStructureId(); 259 260 /** 261 * Sets the structure ID of this journal feed. 262 * 263 * @param structureId the structure ID of this journal feed 264 */ 265 public void setStructureId(String structureId); 266 267 /** 268 * Returns the template ID of this journal feed. 269 * 270 * @return the template ID of this journal feed 271 */ 272 public String getTemplateId(); 273 274 /** 275 * Sets the template ID of this journal feed. 276 * 277 * @param templateId the template ID of this journal feed 278 */ 279 public void setTemplateId(String templateId); 280 281 /** 282 * Returns the renderer template ID of this journal feed. 283 * 284 * @return the renderer template ID of this journal feed 285 */ 286 @AutoEscape 287 public String getRendererTemplateId(); 288 289 /** 290 * Sets the renderer template ID of this journal feed. 291 * 292 * @param rendererTemplateId the renderer template ID of this journal feed 293 */ 294 public void setRendererTemplateId(String rendererTemplateId); 295 296 /** 297 * Returns the delta of this journal feed. 298 * 299 * @return the delta of this journal feed 300 */ 301 public int getDelta(); 302 303 /** 304 * Sets the delta of this journal feed. 305 * 306 * @param delta the delta of this journal feed 307 */ 308 public void setDelta(int delta); 309 310 /** 311 * Returns the order by col of this journal feed. 312 * 313 * @return the order by col of this journal feed 314 */ 315 @AutoEscape 316 public String getOrderByCol(); 317 318 /** 319 * Sets the order by col of this journal feed. 320 * 321 * @param orderByCol the order by col of this journal feed 322 */ 323 public void setOrderByCol(String orderByCol); 324 325 /** 326 * Returns the order by type of this journal feed. 327 * 328 * @return the order by type of this journal feed 329 */ 330 @AutoEscape 331 public String getOrderByType(); 332 333 /** 334 * Sets the order by type of this journal feed. 335 * 336 * @param orderByType the order by type of this journal feed 337 */ 338 public void setOrderByType(String orderByType); 339 340 /** 341 * Returns the target layout friendly url of this journal feed. 342 * 343 * @return the target layout friendly url of this journal feed 344 */ 345 @AutoEscape 346 public String getTargetLayoutFriendlyUrl(); 347 348 /** 349 * Sets the target layout friendly url of this journal feed. 350 * 351 * @param targetLayoutFriendlyUrl the target layout friendly url of this journal feed 352 */ 353 public void setTargetLayoutFriendlyUrl(String targetLayoutFriendlyUrl); 354 355 /** 356 * Returns the target portlet ID of this journal feed. 357 * 358 * @return the target portlet ID of this journal feed 359 */ 360 @AutoEscape 361 public String getTargetPortletId(); 362 363 /** 364 * Sets the target portlet ID of this journal feed. 365 * 366 * @param targetPortletId the target portlet ID of this journal feed 367 */ 368 public void setTargetPortletId(String targetPortletId); 369 370 /** 371 * Returns the content field of this journal feed. 372 * 373 * @return the content field of this journal feed 374 */ 375 @AutoEscape 376 public String getContentField(); 377 378 /** 379 * Sets the content field of this journal feed. 380 * 381 * @param contentField the content field of this journal feed 382 */ 383 public void setContentField(String contentField); 384 385 /** 386 * Returns the feed format of this journal feed. 387 * 388 * @return the feed format of this journal feed 389 */ 390 @AutoEscape 391 public String getFeedFormat(); 392 393 /** 394 * Sets the feed format of this journal feed. 395 * 396 * @param feedFormat the feed format of this journal feed 397 */ 398 public void setFeedFormat(String feedFormat); 399 400 /** 401 * Returns the feed version of this journal feed. 402 * 403 * @return the feed version of this journal feed 404 */ 405 public double getFeedVersion(); 406 407 /** 408 * Sets the feed version of this journal feed. 409 * 410 * @param feedVersion the feed version of this journal feed 411 */ 412 public void setFeedVersion(double feedVersion); 413 414 public boolean isNew(); 415 416 public void setNew(boolean n); 417 418 public boolean isCachedModel(); 419 420 public void setCachedModel(boolean cachedModel); 421 422 public boolean isEscapedModel(); 423 424 public Serializable getPrimaryKeyObj(); 425 426 public void setPrimaryKeyObj(Serializable primaryKeyObj); 427 428 public ExpandoBridge getExpandoBridge(); 429 430 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 431 432 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 433 434 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 435 436 public Object clone(); 437 438 public int compareTo(JournalFeed journalFeed); 439 440 public int hashCode(); 441 442 public CacheModel<JournalFeed> toCacheModel(); 443 444 public JournalFeed toEscapedModel(); 445 446 public JournalFeed toUnescapedModel(); 447 448 public String toString(); 449 450 public String toXmlString(); 451 }