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