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