001 /** 002 * Copyright (c) 2000-2010 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.blogs.model; 016 017 import com.liferay.portal.kernel.annotation.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.BaseModel; 020 import com.liferay.portal.service.ServiceContext; 021 022 import com.liferay.portlet.expando.model.ExpandoBridge; 023 024 import java.io.Serializable; 025 026 import java.util.Date; 027 028 /** 029 * 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. 030 * 031 * <p> 032 * 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}. 033 * </p> 034 * 035 * <p> 036 * Never modify or reference this interface directly. All methods that expect a blogs entry model instance should use the {@link BlogsEntry} interface instead. 037 * </p> 038 * 039 * @author Brian Wing Shun Chan 040 * @see BlogsEntry 041 * @see com.liferay.portlet.blogs.model.impl.BlogsEntryImpl 042 * @see com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl 043 * @generated 044 */ 045 public interface BlogsEntryModel extends BaseModel<BlogsEntry> { 046 /** 047 * Gets the primary key of this blogs entry. 048 * 049 * @return the primary key of this blogs entry 050 */ 051 public long getPrimaryKey(); 052 053 /** 054 * Sets the primary key of this blogs entry 055 * 056 * @param pk the primary key of this blogs entry 057 */ 058 public void setPrimaryKey(long pk); 059 060 /** 061 * Gets the uuid of this blogs entry. 062 * 063 * @return the uuid of this blogs entry 064 */ 065 @AutoEscape 066 public String getUuid(); 067 068 /** 069 * Sets the uuid of this blogs entry. 070 * 071 * @param uuid the uuid of this blogs entry 072 */ 073 public void setUuid(String uuid); 074 075 /** 076 * Gets the entry id of this blogs entry. 077 * 078 * @return the entry id of this blogs entry 079 */ 080 public long getEntryId(); 081 082 /** 083 * Sets the entry id of this blogs entry. 084 * 085 * @param entryId the entry id of this blogs entry 086 */ 087 public void setEntryId(long entryId); 088 089 /** 090 * Gets the group id of this blogs entry. 091 * 092 * @return the group id of this blogs entry 093 */ 094 public long getGroupId(); 095 096 /** 097 * Sets the group id of this blogs entry. 098 * 099 * @param groupId the group id of this blogs entry 100 */ 101 public void setGroupId(long groupId); 102 103 /** 104 * Gets the company id of this blogs entry. 105 * 106 * @return the company id of this blogs entry 107 */ 108 public long getCompanyId(); 109 110 /** 111 * Sets the company id of this blogs entry. 112 * 113 * @param companyId the company id of this blogs entry 114 */ 115 public void setCompanyId(long companyId); 116 117 /** 118 * Gets the user id of this blogs entry. 119 * 120 * @return the user id of this blogs entry 121 */ 122 public long getUserId(); 123 124 /** 125 * Sets the user id of this blogs entry. 126 * 127 * @param userId the user id of this blogs entry 128 */ 129 public void setUserId(long userId); 130 131 /** 132 * Gets the user uuid of this blogs entry. 133 * 134 * @return the user uuid of this blogs entry 135 * @throws SystemException if a system exception occurred 136 */ 137 public String getUserUuid() throws SystemException; 138 139 /** 140 * Sets the user uuid of this blogs entry. 141 * 142 * @param userUuid the user uuid of this blogs entry 143 */ 144 public void setUserUuid(String userUuid); 145 146 /** 147 * Gets the user name of this blogs entry. 148 * 149 * @return the user name of this blogs entry 150 */ 151 @AutoEscape 152 public String getUserName(); 153 154 /** 155 * Sets the user name of this blogs entry. 156 * 157 * @param userName the user name of this blogs entry 158 */ 159 public void setUserName(String userName); 160 161 /** 162 * Gets the create date of this blogs entry. 163 * 164 * @return the create date of this blogs entry 165 */ 166 public Date getCreateDate(); 167 168 /** 169 * Sets the create date of this blogs entry. 170 * 171 * @param createDate the create date of this blogs entry 172 */ 173 public void setCreateDate(Date createDate); 174 175 /** 176 * Gets the modified date of this blogs entry. 177 * 178 * @return the modified date of this blogs entry 179 */ 180 public Date getModifiedDate(); 181 182 /** 183 * Sets the modified date of this blogs entry. 184 * 185 * @param modifiedDate the modified date of this blogs entry 186 */ 187 public void setModifiedDate(Date modifiedDate); 188 189 /** 190 * Gets the title of this blogs entry. 191 * 192 * @return the title of this blogs entry 193 */ 194 @AutoEscape 195 public String getTitle(); 196 197 /** 198 * Sets the title of this blogs entry. 199 * 200 * @param title the title of this blogs entry 201 */ 202 public void setTitle(String title); 203 204 /** 205 * Gets the url title of this blogs entry. 206 * 207 * @return the url title of this blogs entry 208 */ 209 @AutoEscape 210 public String getUrlTitle(); 211 212 /** 213 * Sets the url title of this blogs entry. 214 * 215 * @param urlTitle the url title of this blogs entry 216 */ 217 public void setUrlTitle(String urlTitle); 218 219 /** 220 * Gets the content of this blogs entry. 221 * 222 * @return the content of this blogs entry 223 */ 224 @AutoEscape 225 public String getContent(); 226 227 /** 228 * Sets the content of this blogs entry. 229 * 230 * @param content the content of this blogs entry 231 */ 232 public void setContent(String content); 233 234 /** 235 * Gets the display date of this blogs entry. 236 * 237 * @return the display date of this blogs entry 238 */ 239 public Date getDisplayDate(); 240 241 /** 242 * Sets the display date of this blogs entry. 243 * 244 * @param displayDate the display date of this blogs entry 245 */ 246 public void setDisplayDate(Date displayDate); 247 248 /** 249 * Gets the allow pingbacks of this blogs entry. 250 * 251 * @return the allow pingbacks of this blogs entry 252 */ 253 public boolean getAllowPingbacks(); 254 255 /** 256 * Determines whether this blogs entry is allow pingbacks. 257 * 258 * @return whether this blogs entry is allow pingbacks 259 */ 260 public boolean isAllowPingbacks(); 261 262 /** 263 * Sets whether this {$entity.humanName} is allow pingbacks. 264 * 265 * @param allowPingbacks the allow pingbacks of this blogs entry 266 */ 267 public void setAllowPingbacks(boolean allowPingbacks); 268 269 /** 270 * Gets the allow trackbacks of this blogs entry. 271 * 272 * @return the allow trackbacks of this blogs entry 273 */ 274 public boolean getAllowTrackbacks(); 275 276 /** 277 * Determines whether this blogs entry is allow trackbacks. 278 * 279 * @return whether this blogs entry is allow trackbacks 280 */ 281 public boolean isAllowTrackbacks(); 282 283 /** 284 * Sets whether this {$entity.humanName} is allow trackbacks. 285 * 286 * @param allowTrackbacks the allow trackbacks of this blogs entry 287 */ 288 public void setAllowTrackbacks(boolean allowTrackbacks); 289 290 /** 291 * Gets the trackbacks of this blogs entry. 292 * 293 * @return the trackbacks of this blogs entry 294 */ 295 @AutoEscape 296 public String getTrackbacks(); 297 298 /** 299 * Sets the trackbacks of this blogs entry. 300 * 301 * @param trackbacks the trackbacks of this blogs entry 302 */ 303 public void setTrackbacks(String trackbacks); 304 305 /** 306 * Gets the status of this blogs entry. 307 * 308 * @return the status of this blogs entry 309 */ 310 public int getStatus(); 311 312 /** 313 * Sets the status of this blogs entry. 314 * 315 * @param status the status of this blogs entry 316 */ 317 public void setStatus(int status); 318 319 /** 320 * Gets the status by user id of this blogs entry. 321 * 322 * @return the status by user id of this blogs entry 323 */ 324 public long getStatusByUserId(); 325 326 /** 327 * Sets the status by user id of this blogs entry. 328 * 329 * @param statusByUserId the status by user id of this blogs entry 330 */ 331 public void setStatusByUserId(long statusByUserId); 332 333 /** 334 * Gets the status by user uuid of this blogs entry. 335 * 336 * @return the status by user uuid of this blogs entry 337 * @throws SystemException if a system exception occurred 338 */ 339 public String getStatusByUserUuid() throws SystemException; 340 341 /** 342 * Sets the status by user uuid of this blogs entry. 343 * 344 * @param statusByUserUuid the status by user uuid of this blogs entry 345 */ 346 public void setStatusByUserUuid(String statusByUserUuid); 347 348 /** 349 * Gets the status by user name of this blogs entry. 350 * 351 * @return the status by user name of this blogs entry 352 */ 353 @AutoEscape 354 public String getStatusByUserName(); 355 356 /** 357 * Sets the status by user name of this blogs entry. 358 * 359 * @param statusByUserName the status by user name of this blogs entry 360 */ 361 public void setStatusByUserName(String statusByUserName); 362 363 /** 364 * Gets the status date of this blogs entry. 365 * 366 * @return the status date of this blogs entry 367 */ 368 public Date getStatusDate(); 369 370 /** 371 * Sets the status date of this blogs entry. 372 * 373 * @param statusDate the status date of this blogs entry 374 */ 375 public void setStatusDate(Date statusDate); 376 377 /** 378 * Determines whether this blogs entry is approved. 379 * 380 * @return true if this blogs entry is approved; false otherwise 381 */ 382 public boolean isApproved(); 383 384 /** 385 * Determines whether this blogs entry is a draft. 386 * 387 * @return true if this blogs entry is a draft; false otherwise 388 */ 389 public boolean isDraft(); 390 391 /** 392 * Determines whether this blogs entry is expired. 393 * 394 * @return true if this blogs entry is expired; false otherwise 395 */ 396 public boolean isExpired(); 397 398 /** 399 * Determines whether this blogs entry is pending. 400 * 401 * @return true if this blogs entry is pending; false otherwise 402 */ 403 public boolean isPending(); 404 405 /** 406 * Gets a copy of this blogs entry as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}. 407 * 408 * @return the escaped model instance 409 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler 410 */ 411 public BlogsEntry toEscapedModel(); 412 413 public boolean isNew(); 414 415 public void setNew(boolean n); 416 417 public boolean isCachedModel(); 418 419 public void setCachedModel(boolean cachedModel); 420 421 public boolean isEscapedModel(); 422 423 public void setEscapedModel(boolean escapedModel); 424 425 public Serializable getPrimaryKeyObj(); 426 427 public ExpandoBridge getExpandoBridge(); 428 429 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 430 431 public Object clone(); 432 433 public int compareTo(BlogsEntry blogsEntry); 434 435 public int hashCode(); 436 437 public String toString(); 438 439 public String toXmlString(); 440 }