Liferay 6.2-ce-ga5

com.liferay.portlet.blogs.model.impl
Class BlogsEntryModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<BlogsEntry>
      extended by com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<BlogsEntry>, ClassedModel, GroupedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel, BlogsEntryModel, Serializable, Cloneable, Comparable<BlogsEntry>
Direct Known Subclasses:
BlogsEntryBaseImpl

@JSON(strict=true)
public class BlogsEntryModelImpl
extends BaseModelImpl<BlogsEntry>
implements BlogsEntryModel

The base model implementation for the BlogsEntry service. Represents a row in the "BlogsEntry" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface BlogsEntryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in BlogsEntryImpl.

See Also:
BlogsEntryImpl, BlogsEntry, BlogsEntryModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static long CREATEDATE_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static long DISPLAYDATE_COLUMN_BITMASK
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static long STATUS_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long URLTITLE_COLUMN_BITMASK
           
static long USERID_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
BlogsEntryModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(BlogsEntry blogsEntry)
           
 boolean equals(Object obj)
           
 boolean getAllowPingbacks()
          Returns the allow pingbacks of this blogs entry.
 boolean getAllowTrackbacks()
          Returns the allow trackbacks of this blogs entry.
 boolean getApproved()
          Deprecated. As of 6.1.0, replaced by isApproved()
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this blogs entry.
 String getContent()
          Returns the content of this blogs entry.
 Date getCreateDate()
          Returns the create date of this blogs entry.
 String getDescription()
          Returns the description of this blogs entry.
 Date getDisplayDate()
          Returns the display date of this blogs entry.
 long getEntryId()
          Returns the entry ID of this blogs entry.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this blogs entry.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this blogs entry.
 long getOriginalCompanyId()
           
 Date getOriginalDisplayDate()
           
 long getOriginalGroupId()
           
 int getOriginalStatus()
           
 String getOriginalUrlTitle()
           
 long getOriginalUserId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this blogs entry.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getSmallImage()
          Returns the small image of this blogs entry.
 long getSmallImageId()
          Returns the small image ID of this blogs entry.
 String getSmallImageURL()
          Returns the small image u r l of this blogs entry.
 StagedModelType getStagedModelType()
           
 int getStatus()
          Returns the status of this blogs entry.
 long getStatusByUserId()
          Returns the status by user ID of this blogs entry.
 String getStatusByUserName()
          Returns the status by user name of this blogs entry.
 String getStatusByUserUuid()
          Returns the status by user uuid of this blogs entry.
 Date getStatusDate()
          Returns the status date of this blogs entry.
 String getTitle()
          Returns the title of this blogs entry.
 String getTrackbacks()
          Returns the trackbacks of this blogs entry.
 TrashEntry getTrashEntry()
          Returns the trash entry created when this blogs entry was moved to the Recycle Bin.
 long getTrashEntryClassPK()
          Returns the class primary key of the trash entry for this blogs entry.
 TrashHandler getTrashHandler()
          Returns the trash handler for this blogs entry.
 String getUrlTitle()
          Returns the url title of this blogs entry.
 long getUserId()
          Returns the user ID of this blogs entry.
 String getUserName()
          Returns the user name of this blogs entry.
 String getUserUuid()
          Returns the user uuid of this blogs entry.
 String getUuid()
          Returns the uuid of this blogs entry.
 int hashCode()
           
 boolean isAllowPingbacks()
          Returns true if this blogs entry is allow pingbacks.
 boolean isAllowTrackbacks()
          Returns true if this blogs entry is allow trackbacks.
 boolean isApproved()
          Returns true if this blogs entry is approved.
 boolean isDenied()
          Returns true if this blogs entry is denied.
 boolean isDraft()
          Returns true if this blogs entry is a draft.
 boolean isExpired()
          Returns true if this blogs entry is expired.
 boolean isInactive()
          Returns true if this blogs entry is inactive.
 boolean isIncomplete()
          Returns true if this blogs entry is incomplete.
 boolean isInTrash()
          Returns true if this blogs entry is in the Recycle Bin.
 boolean isInTrashContainer()
          Returns true if the parent of this blogs entry is in the Recycle Bin.
 boolean isPending()
          Returns true if this blogs entry is pending.
 boolean isScheduled()
          Returns true if this blogs entry is scheduled.
 boolean isSmallImage()
          Returns true if this blogs entry is small image.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAllowPingbacks(boolean allowPingbacks)
          Sets whether this blogs entry is allow pingbacks.
 void setAllowTrackbacks(boolean allowTrackbacks)
          Sets whether this blogs entry is allow trackbacks.
 void setCompanyId(long companyId)
          Sets the company ID of this blogs entry.
 void setContent(String content)
          Sets the content of this blogs entry.
 void setCreateDate(Date createDate)
          Sets the create date of this blogs entry.
 void setDescription(String description)
          Sets the description of this blogs entry.
 void setDisplayDate(Date displayDate)
          Sets the display date of this blogs entry.
 void setEntryId(long entryId)
          Sets the entry ID of this blogs entry.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this blogs entry.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this blogs entry.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this blogs entry.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setSmallImage(boolean smallImage)
          Sets whether this blogs entry is small image.
 void setSmallImageId(long smallImageId)
          Sets the small image ID of this blogs entry.
 void setSmallImageURL(String smallImageURL)
          Sets the small image u r l of this blogs entry.
 void setStatus(int status)
          Sets the status of this blogs entry.
 void setStatusByUserId(long statusByUserId)
          Sets the status by user ID of this blogs entry.
 void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this blogs entry.
 void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this blogs entry.
 void setStatusDate(Date statusDate)
          Sets the status date of this blogs entry.
 void setTitle(String title)
          Sets the title of this blogs entry.
 void setTrackbacks(String trackbacks)
          Sets the trackbacks of this blogs entry.
 void setUrlTitle(String urlTitle)
          Sets the url title of this blogs entry.
 void setUserId(long userId)
          Sets the user ID of this blogs entry.
 void setUserName(String userName)
          Sets the user name of this blogs entry.
 void setUserUuid(String userUuid)
          Sets the user uuid of this blogs entry.
 void setUuid(String uuid)
          Sets the uuid of this blogs entry.
 CacheModel<BlogsEntry> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 BlogsEntry toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static BlogsEntry toModel(BlogsEntrySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<BlogsEntry> toModels(BlogsEntrySoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.blogs.model.BlogsEntryModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

DISPLAYDATE_COLUMN_BITMASK

public static long DISPLAYDATE_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

STATUS_COLUMN_BITMASK

public static long STATUS_COLUMN_BITMASK

URLTITLE_COLUMN_BITMASK

public static long URLTITLE_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

CREATEDATE_COLUMN_BITMASK

public static long CREATEDATE_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

BlogsEntryModelImpl

public BlogsEntryModelImpl()
Method Detail

toModel

public static BlogsEntry toModel(BlogsEntrySoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<BlogsEntry> toModels(BlogsEntrySoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: BlogsEntryModel
Returns the primary key of this blogs entry.

Specified by:
getPrimaryKey in interface BlogsEntryModel
Returns:
the primary key of this blogs entry

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: BlogsEntryModel
Sets the primary key of this blogs entry.

Specified by:
setPrimaryKey in interface BlogsEntryModel
Parameters:
primaryKey - the primary key of this blogs entry

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<BlogsEntry>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface BlogsEntryModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<BlogsEntry>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface BlogsEntryModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<BlogsEntry>
Overrides:
getModelAttributes in class BaseModelImpl<BlogsEntry>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<BlogsEntry>
Overrides:
setModelAttributes in class BaseModelImpl<BlogsEntry>

getUuid

@JSON
public String getUuid()
Description copied from interface: BlogsEntryModel
Returns the uuid of this blogs entry.

Specified by:
getUuid in interface StagedModel
Specified by:
getUuid in interface BlogsEntryModel
Returns:
the uuid of this blogs entry

setUuid

public void setUuid(String uuid)
Description copied from interface: BlogsEntryModel
Sets the uuid of this blogs entry.

Specified by:
setUuid in interface StagedModel
Specified by:
setUuid in interface BlogsEntryModel
Parameters:
uuid - the uuid of this blogs entry

getOriginalUuid

public String getOriginalUuid()

getEntryId

@JSON
public long getEntryId()
Description copied from interface: BlogsEntryModel
Returns the entry ID of this blogs entry.

Specified by:
getEntryId in interface BlogsEntryModel
Returns:
the entry ID of this blogs entry

setEntryId

public void setEntryId(long entryId)
Description copied from interface: BlogsEntryModel
Sets the entry ID of this blogs entry.

Specified by:
setEntryId in interface BlogsEntryModel
Parameters:
entryId - the entry ID of this blogs entry

getGroupId

@JSON
public long getGroupId()
Description copied from interface: BlogsEntryModel
Returns the group ID of this blogs entry.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface BlogsEntryModel
Returns:
the group ID of this blogs entry

setGroupId

public void setGroupId(long groupId)
Description copied from interface: BlogsEntryModel
Sets the group ID of this blogs entry.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface BlogsEntryModel
Parameters:
groupId - the group ID of this blogs entry

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: BlogsEntryModel
Returns the company ID of this blogs entry.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface StagedModel
Specified by:
getCompanyId in interface BlogsEntryModel
Returns:
the company ID of this blogs entry

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: BlogsEntryModel
Sets the company ID of this blogs entry.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface StagedModel
Specified by:
setCompanyId in interface BlogsEntryModel
Parameters:
companyId - the company ID of this blogs entry

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: BlogsEntryModel
Returns the user ID of this blogs entry.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface BlogsEntryModel
Returns:
the user ID of this blogs entry

setUserId

public void setUserId(long userId)
Description copied from interface: BlogsEntryModel
Sets the user ID of this blogs entry.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface BlogsEntryModel
Parameters:
userId - the user ID of this blogs entry

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: BlogsEntryModel
Returns the user uuid of this blogs entry.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface BlogsEntryModel
Returns:
the user uuid of this blogs entry
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: BlogsEntryModel
Sets the user uuid of this blogs entry.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface BlogsEntryModel
Parameters:
userUuid - the user uuid of this blogs entry

getOriginalUserId

public long getOriginalUserId()

getUserName

@JSON
public String getUserName()
Description copied from interface: BlogsEntryModel
Returns the user name of this blogs entry.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface BlogsEntryModel
Returns:
the user name of this blogs entry

setUserName

public void setUserName(String userName)
Description copied from interface: BlogsEntryModel
Sets the user name of this blogs entry.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface BlogsEntryModel
Parameters:
userName - the user name of this blogs entry

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: BlogsEntryModel
Returns the create date of this blogs entry.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface StagedModel
Specified by:
getCreateDate in interface BlogsEntryModel
Returns:
the create date of this blogs entry

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: BlogsEntryModel
Sets the create date of this blogs entry.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface StagedModel
Specified by:
setCreateDate in interface BlogsEntryModel
Parameters:
createDate - the create date of this blogs entry

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: BlogsEntryModel
Returns the modified date of this blogs entry.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface StagedModel
Specified by:
getModifiedDate in interface BlogsEntryModel
Returns:
the modified date of this blogs entry

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: BlogsEntryModel
Sets the modified date of this blogs entry.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface StagedModel
Specified by:
setModifiedDate in interface BlogsEntryModel
Parameters:
modifiedDate - the modified date of this blogs entry

getTitle

@JSON
public String getTitle()
Description copied from interface: BlogsEntryModel
Returns the title of this blogs entry.

Specified by:
getTitle in interface BlogsEntryModel
Returns:
the title of this blogs entry

setTitle

public void setTitle(String title)
Description copied from interface: BlogsEntryModel
Sets the title of this blogs entry.

Specified by:
setTitle in interface BlogsEntryModel
Parameters:
title - the title of this blogs entry

getUrlTitle

@JSON
public String getUrlTitle()
Description copied from interface: BlogsEntryModel
Returns the url title of this blogs entry.

Specified by:
getUrlTitle in interface BlogsEntryModel
Returns:
the url title of this blogs entry

setUrlTitle

public void setUrlTitle(String urlTitle)
Description copied from interface: BlogsEntryModel
Sets the url title of this blogs entry.

Specified by:
setUrlTitle in interface BlogsEntryModel
Parameters:
urlTitle - the url title of this blogs entry

getOriginalUrlTitle

public String getOriginalUrlTitle()

getDescription

@JSON
public String getDescription()
Description copied from interface: BlogsEntryModel
Returns the description of this blogs entry.

Specified by:
getDescription in interface BlogsEntryModel
Returns:
the description of this blogs entry

setDescription

public void setDescription(String description)
Description copied from interface: BlogsEntryModel
Sets the description of this blogs entry.

Specified by:
setDescription in interface BlogsEntryModel
Parameters:
description - the description of this blogs entry

getContent

@JSON
public String getContent()
Description copied from interface: BlogsEntryModel
Returns the content of this blogs entry.

Specified by:
getContent in interface BlogsEntryModel
Returns:
the content of this blogs entry

setContent

public void setContent(String content)
Description copied from interface: BlogsEntryModel
Sets the content of this blogs entry.

Specified by:
setContent in interface BlogsEntryModel
Parameters:
content - the content of this blogs entry

getDisplayDate

@JSON
public Date getDisplayDate()
Description copied from interface: BlogsEntryModel
Returns the display date of this blogs entry.

Specified by:
getDisplayDate in interface BlogsEntryModel
Returns:
the display date of this blogs entry

setDisplayDate

public void setDisplayDate(Date displayDate)
Description copied from interface: BlogsEntryModel
Sets the display date of this blogs entry.

Specified by:
setDisplayDate in interface BlogsEntryModel
Parameters:
displayDate - the display date of this blogs entry

getOriginalDisplayDate

public Date getOriginalDisplayDate()

getAllowPingbacks

@JSON
public boolean getAllowPingbacks()
Description copied from interface: BlogsEntryModel
Returns the allow pingbacks of this blogs entry.

Specified by:
getAllowPingbacks in interface BlogsEntryModel
Returns:
the allow pingbacks of this blogs entry

isAllowPingbacks

public boolean isAllowPingbacks()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is allow pingbacks.

Specified by:
isAllowPingbacks in interface BlogsEntryModel
Returns:
true if this blogs entry is allow pingbacks; false otherwise

setAllowPingbacks

public void setAllowPingbacks(boolean allowPingbacks)
Description copied from interface: BlogsEntryModel
Sets whether this blogs entry is allow pingbacks.

Specified by:
setAllowPingbacks in interface BlogsEntryModel
Parameters:
allowPingbacks - the allow pingbacks of this blogs entry

getAllowTrackbacks

@JSON
public boolean getAllowTrackbacks()
Description copied from interface: BlogsEntryModel
Returns the allow trackbacks of this blogs entry.

Specified by:
getAllowTrackbacks in interface BlogsEntryModel
Returns:
the allow trackbacks of this blogs entry

isAllowTrackbacks

public boolean isAllowTrackbacks()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is allow trackbacks.

Specified by:
isAllowTrackbacks in interface BlogsEntryModel
Returns:
true if this blogs entry is allow trackbacks; false otherwise

setAllowTrackbacks

public void setAllowTrackbacks(boolean allowTrackbacks)
Description copied from interface: BlogsEntryModel
Sets whether this blogs entry is allow trackbacks.

Specified by:
setAllowTrackbacks in interface BlogsEntryModel
Parameters:
allowTrackbacks - the allow trackbacks of this blogs entry

getTrackbacks

@JSON
public String getTrackbacks()
Description copied from interface: BlogsEntryModel
Returns the trackbacks of this blogs entry.

Specified by:
getTrackbacks in interface BlogsEntryModel
Returns:
the trackbacks of this blogs entry

setTrackbacks

public void setTrackbacks(String trackbacks)
Description copied from interface: BlogsEntryModel
Sets the trackbacks of this blogs entry.

Specified by:
setTrackbacks in interface BlogsEntryModel
Parameters:
trackbacks - the trackbacks of this blogs entry

getSmallImage

@JSON
public boolean getSmallImage()
Description copied from interface: BlogsEntryModel
Returns the small image of this blogs entry.

Specified by:
getSmallImage in interface BlogsEntryModel
Returns:
the small image of this blogs entry

isSmallImage

public boolean isSmallImage()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is small image.

Specified by:
isSmallImage in interface BlogsEntryModel
Returns:
true if this blogs entry is small image; false otherwise

setSmallImage

public void setSmallImage(boolean smallImage)
Description copied from interface: BlogsEntryModel
Sets whether this blogs entry is small image.

Specified by:
setSmallImage in interface BlogsEntryModel
Parameters:
smallImage - the small image of this blogs entry

getSmallImageId

@JSON
public long getSmallImageId()
Description copied from interface: BlogsEntryModel
Returns the small image ID of this blogs entry.

Specified by:
getSmallImageId in interface BlogsEntryModel
Returns:
the small image ID of this blogs entry

setSmallImageId

public void setSmallImageId(long smallImageId)
Description copied from interface: BlogsEntryModel
Sets the small image ID of this blogs entry.

Specified by:
setSmallImageId in interface BlogsEntryModel
Parameters:
smallImageId - the small image ID of this blogs entry

getSmallImageURL

@JSON
public String getSmallImageURL()
Description copied from interface: BlogsEntryModel
Returns the small image u r l of this blogs entry.

Specified by:
getSmallImageURL in interface BlogsEntryModel
Returns:
the small image u r l of this blogs entry

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Description copied from interface: BlogsEntryModel
Sets the small image u r l of this blogs entry.

Specified by:
setSmallImageURL in interface BlogsEntryModel
Parameters:
smallImageURL - the small image u r l of this blogs entry

getStatus

@JSON
public int getStatus()
Description copied from interface: BlogsEntryModel
Returns the status of this blogs entry.

Specified by:
getStatus in interface TrashedModel
Specified by:
getStatus in interface WorkflowedModel
Specified by:
getStatus in interface BlogsEntryModel
Returns:
the status of this blogs entry

setStatus

public void setStatus(int status)
Description copied from interface: BlogsEntryModel
Sets the status of this blogs entry.

Specified by:
setStatus in interface WorkflowedModel
Specified by:
setStatus in interface BlogsEntryModel
Parameters:
status - the status of this blogs entry

getOriginalStatus

public int getOriginalStatus()

getStatusByUserId

@JSON
public long getStatusByUserId()
Description copied from interface: BlogsEntryModel
Returns the status by user ID of this blogs entry.

Specified by:
getStatusByUserId in interface WorkflowedModel
Specified by:
getStatusByUserId in interface BlogsEntryModel
Returns:
the status by user ID of this blogs entry

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Description copied from interface: BlogsEntryModel
Sets the status by user ID of this blogs entry.

Specified by:
setStatusByUserId in interface WorkflowedModel
Specified by:
setStatusByUserId in interface BlogsEntryModel
Parameters:
statusByUserId - the status by user ID of this blogs entry

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Description copied from interface: BlogsEntryModel
Returns the status by user uuid of this blogs entry.

Specified by:
getStatusByUserUuid in interface WorkflowedModel
Specified by:
getStatusByUserUuid in interface BlogsEntryModel
Returns:
the status by user uuid of this blogs entry
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Description copied from interface: BlogsEntryModel
Sets the status by user uuid of this blogs entry.

Specified by:
setStatusByUserUuid in interface WorkflowedModel
Specified by:
setStatusByUserUuid in interface BlogsEntryModel
Parameters:
statusByUserUuid - the status by user uuid of this blogs entry

getStatusByUserName

@JSON
public String getStatusByUserName()
Description copied from interface: BlogsEntryModel
Returns the status by user name of this blogs entry.

Specified by:
getStatusByUserName in interface WorkflowedModel
Specified by:
getStatusByUserName in interface BlogsEntryModel
Returns:
the status by user name of this blogs entry

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Description copied from interface: BlogsEntryModel
Sets the status by user name of this blogs entry.

Specified by:
setStatusByUserName in interface WorkflowedModel
Specified by:
setStatusByUserName in interface BlogsEntryModel
Parameters:
statusByUserName - the status by user name of this blogs entry

getStatusDate

@JSON
public Date getStatusDate()
Description copied from interface: BlogsEntryModel
Returns the status date of this blogs entry.

Specified by:
getStatusDate in interface WorkflowedModel
Specified by:
getStatusDate in interface BlogsEntryModel
Returns:
the status date of this blogs entry

setStatusDate

public void setStatusDate(Date statusDate)
Description copied from interface: BlogsEntryModel
Sets the status date of this blogs entry.

Specified by:
setStatusDate in interface WorkflowedModel
Specified by:
setStatusDate in interface BlogsEntryModel
Parameters:
statusDate - the status date of this blogs entry

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

getTrashEntry

public TrashEntry getTrashEntry()
                         throws PortalException,
                                SystemException
Description copied from interface: BlogsEntryModel
Returns the trash entry created when this blogs entry was moved to the Recycle Bin. The trash entry may belong to one of the ancestors of this blogs entry.

Specified by:
getTrashEntry in interface TrashedModel
Specified by:
getTrashEntry in interface BlogsEntryModel
Returns:
the trash entry created when this blogs entry was moved to the Recycle Bin
Throws:
SystemException - if a system exception occurred
PortalException

getTrashEntryClassPK

public long getTrashEntryClassPK()
Description copied from interface: BlogsEntryModel
Returns the class primary key of the trash entry for this blogs entry.

Specified by:
getTrashEntryClassPK in interface TrashedModel
Specified by:
getTrashEntryClassPK in interface BlogsEntryModel
Returns:
the class primary key of the trash entry for this blogs entry

getTrashHandler

public TrashHandler getTrashHandler()
Description copied from interface: BlogsEntryModel
Returns the trash handler for this blogs entry.

Specified by:
getTrashHandler in interface TrashedModel
Specified by:
getTrashHandler in interface BlogsEntryModel
Returns:
the trash handler for this blogs entry

isInTrash

public boolean isInTrash()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is in the Recycle Bin.

Specified by:
isInTrash in interface TrashedModel
Specified by:
isInTrash in interface BlogsEntryModel
Returns:
true if this blogs entry is in the Recycle Bin; false otherwise

isInTrashContainer

public boolean isInTrashContainer()
Description copied from interface: BlogsEntryModel
Returns true if the parent of this blogs entry is in the Recycle Bin.

Specified by:
isInTrashContainer in interface TrashedModel
Specified by:
isInTrashContainer in interface BlogsEntryModel
Returns:
true if the parent of this blogs entry is in the Recycle Bin; false otherwise

getApproved

public boolean getApproved()
Deprecated. As of 6.1.0, replaced by isApproved()

Specified by:
getApproved in interface WorkflowedModel
Specified by:
getApproved in interface BlogsEntryModel

isApproved

public boolean isApproved()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is approved.

Specified by:
isApproved in interface WorkflowedModel
Specified by:
isApproved in interface BlogsEntryModel
Returns:
true if this blogs entry is approved; false otherwise

isDenied

public boolean isDenied()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is denied.

Specified by:
isDenied in interface WorkflowedModel
Specified by:
isDenied in interface BlogsEntryModel
Returns:
true if this blogs entry is denied; false otherwise

isDraft

public boolean isDraft()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is a draft.

Specified by:
isDraft in interface WorkflowedModel
Specified by:
isDraft in interface BlogsEntryModel
Returns:
true if this blogs entry is a draft; false otherwise

isExpired

public boolean isExpired()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is expired.

Specified by:
isExpired in interface WorkflowedModel
Specified by:
isExpired in interface BlogsEntryModel
Returns:
true if this blogs entry is expired; false otherwise

isInactive

public boolean isInactive()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is inactive.

Specified by:
isInactive in interface WorkflowedModel
Specified by:
isInactive in interface BlogsEntryModel
Returns:
true if this blogs entry is inactive; false otherwise

isIncomplete

public boolean isIncomplete()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is incomplete.

Specified by:
isIncomplete in interface WorkflowedModel
Specified by:
isIncomplete in interface BlogsEntryModel
Returns:
true if this blogs entry is incomplete; false otherwise

isPending

public boolean isPending()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is pending.

Specified by:
isPending in interface WorkflowedModel
Specified by:
isPending in interface BlogsEntryModel
Returns:
true if this blogs entry is pending; false otherwise

isScheduled

public boolean isScheduled()
Description copied from interface: BlogsEntryModel
Returns true if this blogs entry is scheduled.

Specified by:
isScheduled in interface WorkflowedModel
Specified by:
isScheduled in interface BlogsEntryModel
Returns:
true if this blogs entry is scheduled; false otherwise

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<BlogsEntry>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface BlogsEntryModel
Overrides:
getExpandoBridge in class BaseModelImpl<BlogsEntry>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<BlogsEntry>
Specified by:
setExpandoBridgeAttributes in interface BlogsEntryModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<BlogsEntry>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public BlogsEntry toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<BlogsEntry>
Specified by:
toEscapedModel in interface BlogsEntryModel
Overrides:
toEscapedModel in class BaseModelImpl<BlogsEntry>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<BlogsEntry>
Specified by:
clone in interface StagedModel
Specified by:
clone in interface BlogsEntryModel
Specified by:
clone in class BaseModelImpl<BlogsEntry>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(BlogsEntry blogsEntry)
Specified by:
compareTo in interface BlogsEntryModel
Specified by:
compareTo in interface Comparable<BlogsEntry>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface BlogsEntryModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<BlogsEntry>
Overrides:
resetOriginalValues in class BaseModelImpl<BlogsEntry>

toCacheModel

public CacheModel<BlogsEntry> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<BlogsEntry>
Specified by:
toCacheModel in interface BlogsEntryModel
Overrides:
toCacheModel in class BaseModelImpl<BlogsEntry>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface BlogsEntryModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<BlogsEntry>
Specified by:
toXmlString in interface BlogsEntryModel
Returns:
the XML representation of this model instance

Liferay 6.2-ce-ga5