|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<BlogsEntry> com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl
@JSON(strict=true) public class BlogsEntryModelImpl
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
.
BlogsEntryImpl
,
BlogsEntry
,
BlogsEntryModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_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. 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. |
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. |
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 |
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()
|
BlogsEntry |
toUnescapedModel()
|
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, setNew |
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, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long DISPLAYDATE_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long URLTITLE_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public BlogsEntryModelImpl()
Method Detail |
---|
public static BlogsEntry toModel(BlogsEntrySoap soapModel)
soapModel
- the soap model instance to convert
public static List<BlogsEntry> toModels(BlogsEntrySoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
BlogsEntryModel
getPrimaryKey
in interface BlogsEntryModel
public void setPrimaryKey(long primaryKey)
BlogsEntryModel
setPrimaryKey
in interface BlogsEntryModel
primaryKey
- the primary key of this blogs entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<BlogsEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface BlogsEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<BlogsEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface BlogsEntryModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<BlogsEntry>
getModelAttributes
in class BaseModelImpl<BlogsEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<BlogsEntry>
setModelAttributes
in class BaseModelImpl<BlogsEntry>
@JSON public String getUuid()
BlogsEntryModel
getUuid
in interface BlogsEntryModel
public void setUuid(String uuid)
BlogsEntryModel
setUuid
in interface BlogsEntryModel
uuid
- the uuid of this blogs entrypublic String getOriginalUuid()
@JSON public long getEntryId()
BlogsEntryModel
getEntryId
in interface BlogsEntryModel
public void setEntryId(long entryId)
BlogsEntryModel
setEntryId
in interface BlogsEntryModel
entryId
- the entry ID of this blogs entry@JSON public long getGroupId()
BlogsEntryModel
getGroupId
in interface GroupedModel
getGroupId
in interface BlogsEntryModel
public void setGroupId(long groupId)
BlogsEntryModel
setGroupId
in interface GroupedModel
setGroupId
in interface BlogsEntryModel
groupId
- the group ID of this blogs entrypublic long getOriginalGroupId()
@JSON public long getCompanyId()
BlogsEntryModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface BlogsEntryModel
public void setCompanyId(long companyId)
BlogsEntryModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface BlogsEntryModel
companyId
- the company ID of this blogs entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
BlogsEntryModel
getUserId
in interface AuditedModel
getUserId
in interface BlogsEntryModel
public void setUserId(long userId)
BlogsEntryModel
setUserId
in interface AuditedModel
setUserId
in interface BlogsEntryModel
userId
- the user ID of this blogs entrypublic String getUserUuid() throws SystemException
BlogsEntryModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface BlogsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
BlogsEntryModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface BlogsEntryModel
userUuid
- the user uuid of this blogs entrypublic long getOriginalUserId()
@JSON public String getUserName()
BlogsEntryModel
getUserName
in interface AuditedModel
getUserName
in interface BlogsEntryModel
public void setUserName(String userName)
BlogsEntryModel
setUserName
in interface AuditedModel
setUserName
in interface BlogsEntryModel
userName
- the user name of this blogs entry@JSON public Date getCreateDate()
BlogsEntryModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface BlogsEntryModel
public void setCreateDate(Date createDate)
BlogsEntryModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface BlogsEntryModel
createDate
- the create date of this blogs entry@JSON public Date getModifiedDate()
BlogsEntryModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface BlogsEntryModel
public void setModifiedDate(Date modifiedDate)
BlogsEntryModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface BlogsEntryModel
modifiedDate
- the modified date of this blogs entry@JSON public String getTitle()
BlogsEntryModel
getTitle
in interface BlogsEntryModel
public void setTitle(String title)
BlogsEntryModel
setTitle
in interface BlogsEntryModel
title
- the title of this blogs entry@JSON public String getUrlTitle()
BlogsEntryModel
getUrlTitle
in interface BlogsEntryModel
public void setUrlTitle(String urlTitle)
BlogsEntryModel
setUrlTitle
in interface BlogsEntryModel
urlTitle
- the url title of this blogs entrypublic String getOriginalUrlTitle()
@JSON public String getDescription()
BlogsEntryModel
getDescription
in interface BlogsEntryModel
public void setDescription(String description)
BlogsEntryModel
setDescription
in interface BlogsEntryModel
description
- the description of this blogs entry@JSON public String getContent()
BlogsEntryModel
getContent
in interface BlogsEntryModel
public void setContent(String content)
BlogsEntryModel
setContent
in interface BlogsEntryModel
content
- the content of this blogs entry@JSON public Date getDisplayDate()
BlogsEntryModel
getDisplayDate
in interface BlogsEntryModel
public void setDisplayDate(Date displayDate)
BlogsEntryModel
setDisplayDate
in interface BlogsEntryModel
displayDate
- the display date of this blogs entrypublic Date getOriginalDisplayDate()
@JSON public boolean getAllowPingbacks()
BlogsEntryModel
getAllowPingbacks
in interface BlogsEntryModel
public boolean isAllowPingbacks()
BlogsEntryModel
true
if this blogs entry is allow pingbacks.
isAllowPingbacks
in interface BlogsEntryModel
true
if this blogs entry is allow pingbacks; false
otherwisepublic void setAllowPingbacks(boolean allowPingbacks)
BlogsEntryModel
setAllowPingbacks
in interface BlogsEntryModel
allowPingbacks
- the allow pingbacks of this blogs entry@JSON public boolean getAllowTrackbacks()
BlogsEntryModel
getAllowTrackbacks
in interface BlogsEntryModel
public boolean isAllowTrackbacks()
BlogsEntryModel
true
if this blogs entry is allow trackbacks.
isAllowTrackbacks
in interface BlogsEntryModel
true
if this blogs entry is allow trackbacks; false
otherwisepublic void setAllowTrackbacks(boolean allowTrackbacks)
BlogsEntryModel
setAllowTrackbacks
in interface BlogsEntryModel
allowTrackbacks
- the allow trackbacks of this blogs entry@JSON public String getTrackbacks()
BlogsEntryModel
getTrackbacks
in interface BlogsEntryModel
public void setTrackbacks(String trackbacks)
BlogsEntryModel
setTrackbacks
in interface BlogsEntryModel
trackbacks
- the trackbacks of this blogs entry@JSON public boolean getSmallImage()
BlogsEntryModel
getSmallImage
in interface BlogsEntryModel
public boolean isSmallImage()
BlogsEntryModel
true
if this blogs entry is small image.
isSmallImage
in interface BlogsEntryModel
true
if this blogs entry is small image; false
otherwisepublic void setSmallImage(boolean smallImage)
BlogsEntryModel
setSmallImage
in interface BlogsEntryModel
smallImage
- the small image of this blogs entry@JSON public long getSmallImageId()
BlogsEntryModel
getSmallImageId
in interface BlogsEntryModel
public void setSmallImageId(long smallImageId)
BlogsEntryModel
setSmallImageId
in interface BlogsEntryModel
smallImageId
- the small image ID of this blogs entry@JSON public String getSmallImageURL()
BlogsEntryModel
getSmallImageURL
in interface BlogsEntryModel
public void setSmallImageURL(String smallImageURL)
BlogsEntryModel
setSmallImageURL
in interface BlogsEntryModel
smallImageURL
- the small image u r l of this blogs entry@JSON public int getStatus()
BlogsEntryModel
getStatus
in interface WorkflowedModel
getStatus
in interface BlogsEntryModel
public void setStatus(int status)
BlogsEntryModel
setStatus
in interface WorkflowedModel
setStatus
in interface BlogsEntryModel
status
- the status of this blogs entrypublic int getOriginalStatus()
@JSON public long getStatusByUserId()
BlogsEntryModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface BlogsEntryModel
public void setStatusByUserId(long statusByUserId)
BlogsEntryModel
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface BlogsEntryModel
statusByUserId
- the status by user ID of this blogs entrypublic String getStatusByUserUuid() throws SystemException
BlogsEntryModel
getStatusByUserUuid
in interface BlogsEntryModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
BlogsEntryModel
setStatusByUserUuid
in interface BlogsEntryModel
statusByUserUuid
- the status by user uuid of this blogs entry@JSON public String getStatusByUserName()
BlogsEntryModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface BlogsEntryModel
public void setStatusByUserName(String statusByUserName)
BlogsEntryModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface BlogsEntryModel
statusByUserName
- the status by user name of this blogs entry@JSON public Date getStatusDate()
BlogsEntryModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface BlogsEntryModel
public void setStatusDate(Date statusDate)
BlogsEntryModel
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface BlogsEntryModel
statusDate
- the status date of this blogs entrypublic boolean getApproved()
isApproved()
getApproved
in interface BlogsEntryModel
public boolean isApproved()
BlogsEntryModel
true
if this blogs entry is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface BlogsEntryModel
true
if this blogs entry is approved; false
otherwisepublic boolean isDenied()
BlogsEntryModel
true
if this blogs entry is denied.
isDenied
in interface BlogsEntryModel
true
if this blogs entry is denied; false
otherwisepublic boolean isDraft()
BlogsEntryModel
true
if this blogs entry is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface BlogsEntryModel
true
if this blogs entry is a draft; false
otherwisepublic boolean isExpired()
BlogsEntryModel
true
if this blogs entry is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface BlogsEntryModel
true
if this blogs entry is expired; false
otherwisepublic boolean isInactive()
BlogsEntryModel
true
if this blogs entry is inactive.
isInactive
in interface BlogsEntryModel
true
if this blogs entry is inactive; false
otherwisepublic boolean isIncomplete()
BlogsEntryModel
true
if this blogs entry is incomplete.
isIncomplete
in interface BlogsEntryModel
true
if this blogs entry is incomplete; false
otherwisepublic boolean isPending()
BlogsEntryModel
true
if this blogs entry is pending.
isPending
in interface WorkflowedModel
isPending
in interface BlogsEntryModel
true
if this blogs entry is pending; false
otherwisepublic boolean isScheduled()
BlogsEntryModel
true
if this blogs entry is scheduled.
isScheduled
in interface BlogsEntryModel
true
if this blogs entry is scheduled; false
otherwisepublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<BlogsEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface BlogsEntryModel
getExpandoBridge
in class BaseModelImpl<BlogsEntry>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<BlogsEntry>
setExpandoBridgeAttributes
in interface BlogsEntryModel
setExpandoBridgeAttributes
in class BaseModelImpl<BlogsEntry>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public BlogsEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<BlogsEntry>
toEscapedModel
in interface BlogsEntryModel
toEscapedModel
in class BaseModelImpl<BlogsEntry>
AutoEscapeBeanHandler
public BlogsEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<BlogsEntry>
toUnescapedModel
in interface BlogsEntryModel
toUnescapedModel
in class BaseModelImpl<BlogsEntry>
public Object clone()
BaseModel
clone
in interface BaseModel<BlogsEntry>
clone
in interface BlogsEntryModel
clone
in class BaseModelImpl<BlogsEntry>
public int compareTo(BlogsEntry blogsEntry)
compareTo
in interface BlogsEntryModel
compareTo
in interface Comparable<BlogsEntry>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface BlogsEntryModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<BlogsEntry>
resetOriginalValues
in class BaseModelImpl<BlogsEntry>
public CacheModel<BlogsEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<BlogsEntry>
toCacheModel
in interface BlogsEntryModel
toCacheModel
in class BaseModelImpl<BlogsEntry>
public String toString()
toString
in interface BlogsEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<BlogsEntry>
toXmlString
in interface BlogsEntryModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |