|
Liferay 6.0.5 | |||||||||
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<JournalArticle> com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
public class JournalArticleModelImpl
The base model implementation for the JournalArticle service. Represents a row in the "JournalArticle" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface JournalArticleModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalArticleImpl
.
Never modify or reference this class directly. All methods that expect a journal article model instance should use the JournalArticle
interface instead.
JournalArticleImpl
,
JournalArticle
,
JournalArticleModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
Constructor Summary | |
---|---|
JournalArticleModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalArticle journalArticle)
|
boolean |
equals(Object obj)
|
String |
getArticleId()
Gets the article id of this journal article. |
long |
getCompanyId()
Gets the company id of this journal article. |
String |
getContent()
Gets the content of this journal article. |
Date |
getCreateDate()
Gets the create date of this journal article. |
String |
getDescription()
Gets the description of this journal article. |
Date |
getDisplayDate()
Gets the display date of this journal article. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getExpirationDate()
Gets the expiration date of this journal article. |
long |
getGroupId()
Gets the group id of this journal article. |
long |
getId()
Gets the id of this journal article. |
boolean |
getIndexable()
Gets the indexable of this journal article. |
Date |
getModifiedDate()
Gets the modified date of this journal article. |
String |
getOriginalArticleId()
|
long |
getOriginalGroupId()
|
String |
getOriginalUuid()
|
double |
getOriginalVersion()
|
long |
getPrimaryKey()
Gets the primary key of this journal article. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getResourcePrimKey()
Gets the resource prim key of this journal article. |
Date |
getReviewDate()
Gets the review date of this journal article. |
boolean |
getSmallImage()
Gets the small image of this journal article. |
long |
getSmallImageId()
Gets the small image id of this journal article. |
String |
getSmallImageURL()
Gets the small image u r l of this journal article. |
int |
getStatus()
Gets the status of this journal article. |
long |
getStatusByUserId()
Gets the status by user id of this journal article. |
String |
getStatusByUserName()
Gets the status by user name of this journal article. |
String |
getStatusByUserUuid()
Gets the status by user uuid of this journal article. |
Date |
getStatusDate()
Gets the status date of this journal article. |
String |
getStructureId()
Gets the structure id of this journal article. |
String |
getTemplateId()
Gets the template id of this journal article. |
String |
getTitle()
Gets the title of this journal article. |
String |
getType()
Gets the type of this journal article. |
String |
getUrlTitle()
Gets the url title of this journal article. |
long |
getUserId()
Gets the user id of this journal article. |
String |
getUserName()
Gets the user name of this journal article. |
String |
getUserUuid()
Gets the user uuid of this journal article. |
String |
getUuid()
Gets the uuid of this journal article. |
double |
getVersion()
Gets the version of this journal article. |
int |
hashCode()
|
boolean |
isApproved()
Determines whether this journal article is approved. |
boolean |
isDraft()
Determines whether this journal article is a draft. |
boolean |
isExpired()
Determines whether this journal article is expired. |
boolean |
isIndexable()
Determines whether this journal article is indexable. |
boolean |
isPending()
Determines whether this journal article is pending. |
boolean |
isSmallImage()
Determines whether this journal article is small image. |
void |
setArticleId(String articleId)
Sets the article id of this journal article. |
void |
setCompanyId(long companyId)
Sets the company id of this journal article. |
void |
setContent(String content)
Sets the content of this journal article. |
void |
setCreateDate(Date createDate)
Sets the create date of this journal article. |
void |
setDescription(String description)
Sets the description of this journal article. |
void |
setDisplayDate(Date displayDate)
Sets the display date of this journal article. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExpirationDate(Date expirationDate)
Sets the expiration date of this journal article. |
void |
setGroupId(long groupId)
Sets the group id of this journal article. |
void |
setId(long id)
Sets the id of this journal article. |
void |
setIndexable(boolean indexable)
Sets whether this {$entity.humanName} is indexable. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal article. |
void |
setPrimaryKey(long pk)
Sets the primary key of this journal article |
void |
setResourcePrimKey(long resourcePrimKey)
Sets the resource prim key of this journal article. |
void |
setReviewDate(Date reviewDate)
Sets the review date of this journal article. |
void |
setSmallImage(boolean smallImage)
Sets whether this {$entity.humanName} is small image. |
void |
setSmallImageId(long smallImageId)
Sets the small image id of this journal article. |
void |
setSmallImageURL(String smallImageURL)
Sets the small image u r l of this journal article. |
void |
setStatus(int status)
Sets the status of this journal article. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user id of this journal article. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this journal article. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this journal article. |
void |
setStatusDate(Date statusDate)
Sets the status date of this journal article. |
void |
setStructureId(String structureId)
Sets the structure id of this journal article. |
void |
setTemplateId(String templateId)
Sets the template id of this journal article. |
void |
setTitle(String title)
Sets the title of this journal article. |
void |
setType(String type)
Sets the type of this journal article. |
void |
setUrlTitle(String urlTitle)
Sets the url title of this journal article. |
void |
setUserId(long userId)
Sets the user id of this journal article. |
void |
setUserName(String userName)
Sets the user name of this journal article. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this journal article. |
void |
setUuid(String uuid)
Sets the uuid of this journal article. |
void |
setVersion(double version)
Sets the version of this journal article. |
JournalArticle |
toEscapedModel()
Gets a copy of this journal article as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static JournalArticle |
toModel(JournalArticleSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<JournalArticle> |
toModels(JournalArticleSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.journal.model.JournalArticleModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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 long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public JournalArticleModelImpl()
Method Detail |
---|
public static JournalArticle toModel(JournalArticleSoap soapModel)
soapModel
- the soap model instance to convert
public static List<JournalArticle> toModels(JournalArticleSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
JournalArticleModel
getPrimaryKey
in interface JournalArticleModel
public void setPrimaryKey(long pk)
JournalArticleModel
setPrimaryKey
in interface JournalArticleModel
pk
- the primary key of this journal articlepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalArticle>
getPrimaryKeyObj
in interface JournalArticleModel
public String getUuid()
JournalArticleModel
getUuid
in interface JournalArticleModel
public void setUuid(String uuid)
JournalArticleModel
setUuid
in interface JournalArticleModel
uuid
- the uuid of this journal articlepublic String getOriginalUuid()
public long getId()
JournalArticleModel
getId
in interface JournalArticleModel
public void setId(long id)
JournalArticleModel
setId
in interface JournalArticleModel
id
- the id of this journal articlepublic long getResourcePrimKey()
JournalArticleModel
getResourcePrimKey
in interface JournalArticleModel
public void setResourcePrimKey(long resourcePrimKey)
JournalArticleModel
setResourcePrimKey
in interface JournalArticleModel
resourcePrimKey
- the resource prim key of this journal articlepublic long getGroupId()
JournalArticleModel
getGroupId
in interface JournalArticleModel
public void setGroupId(long groupId)
JournalArticleModel
setGroupId
in interface JournalArticleModel
groupId
- the group id of this journal articlepublic long getOriginalGroupId()
public long getCompanyId()
JournalArticleModel
getCompanyId
in interface JournalArticleModel
public void setCompanyId(long companyId)
JournalArticleModel
setCompanyId
in interface JournalArticleModel
companyId
- the company id of this journal articlepublic long getUserId()
JournalArticleModel
getUserId
in interface JournalArticleModel
public void setUserId(long userId)
JournalArticleModel
setUserId
in interface JournalArticleModel
userId
- the user id of this journal articlepublic String getUserUuid() throws SystemException
JournalArticleModel
getUserUuid
in interface JournalArticleModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
JournalArticleModel
setUserUuid
in interface JournalArticleModel
userUuid
- the user uuid of this journal articlepublic String getUserName()
JournalArticleModel
getUserName
in interface JournalArticleModel
public void setUserName(String userName)
JournalArticleModel
setUserName
in interface JournalArticleModel
userName
- the user name of this journal articlepublic Date getCreateDate()
JournalArticleModel
getCreateDate
in interface JournalArticleModel
public void setCreateDate(Date createDate)
JournalArticleModel
setCreateDate
in interface JournalArticleModel
createDate
- the create date of this journal articlepublic Date getModifiedDate()
JournalArticleModel
getModifiedDate
in interface JournalArticleModel
public void setModifiedDate(Date modifiedDate)
JournalArticleModel
setModifiedDate
in interface JournalArticleModel
modifiedDate
- the modified date of this journal articlepublic String getArticleId()
JournalArticleModel
getArticleId
in interface JournalArticleModel
public void setArticleId(String articleId)
JournalArticleModel
setArticleId
in interface JournalArticleModel
articleId
- the article id of this journal articlepublic String getOriginalArticleId()
public double getVersion()
JournalArticleModel
getVersion
in interface JournalArticleModel
public void setVersion(double version)
JournalArticleModel
setVersion
in interface JournalArticleModel
version
- the version of this journal articlepublic double getOriginalVersion()
public String getTitle()
JournalArticleModel
getTitle
in interface JournalArticleModel
public void setTitle(String title)
JournalArticleModel
setTitle
in interface JournalArticleModel
title
- the title of this journal articlepublic String getUrlTitle()
JournalArticleModel
getUrlTitle
in interface JournalArticleModel
public void setUrlTitle(String urlTitle)
JournalArticleModel
setUrlTitle
in interface JournalArticleModel
urlTitle
- the url title of this journal articlepublic String getDescription()
JournalArticleModel
getDescription
in interface JournalArticleModel
public void setDescription(String description)
JournalArticleModel
setDescription
in interface JournalArticleModel
description
- the description of this journal articlepublic String getContent()
JournalArticleModel
getContent
in interface JournalArticleModel
public void setContent(String content)
JournalArticleModel
setContent
in interface JournalArticleModel
content
- the content of this journal articlepublic String getType()
JournalArticleModel
getType
in interface JournalArticleModel
public void setType(String type)
JournalArticleModel
setType
in interface JournalArticleModel
type
- the type of this journal articlepublic String getStructureId()
JournalArticleModel
getStructureId
in interface JournalArticleModel
public void setStructureId(String structureId)
JournalArticleModel
setStructureId
in interface JournalArticleModel
structureId
- the structure id of this journal articlepublic String getTemplateId()
JournalArticleModel
getTemplateId
in interface JournalArticleModel
public void setTemplateId(String templateId)
JournalArticleModel
setTemplateId
in interface JournalArticleModel
templateId
- the template id of this journal articlepublic Date getDisplayDate()
JournalArticleModel
getDisplayDate
in interface JournalArticleModel
public void setDisplayDate(Date displayDate)
JournalArticleModel
setDisplayDate
in interface JournalArticleModel
displayDate
- the display date of this journal articlepublic Date getExpirationDate()
JournalArticleModel
getExpirationDate
in interface JournalArticleModel
public void setExpirationDate(Date expirationDate)
JournalArticleModel
setExpirationDate
in interface JournalArticleModel
expirationDate
- the expiration date of this journal articlepublic Date getReviewDate()
JournalArticleModel
getReviewDate
in interface JournalArticleModel
public void setReviewDate(Date reviewDate)
JournalArticleModel
setReviewDate
in interface JournalArticleModel
reviewDate
- the review date of this journal articlepublic boolean getIndexable()
JournalArticleModel
getIndexable
in interface JournalArticleModel
public boolean isIndexable()
JournalArticleModel
isIndexable
in interface JournalArticleModel
public void setIndexable(boolean indexable)
JournalArticleModel
setIndexable
in interface JournalArticleModel
indexable
- the indexable of this journal articlepublic boolean getSmallImage()
JournalArticleModel
getSmallImage
in interface JournalArticleModel
public boolean isSmallImage()
JournalArticleModel
isSmallImage
in interface JournalArticleModel
public void setSmallImage(boolean smallImage)
JournalArticleModel
setSmallImage
in interface JournalArticleModel
smallImage
- the small image of this journal articlepublic long getSmallImageId()
JournalArticleModel
getSmallImageId
in interface JournalArticleModel
public void setSmallImageId(long smallImageId)
JournalArticleModel
setSmallImageId
in interface JournalArticleModel
smallImageId
- the small image id of this journal articlepublic String getSmallImageURL()
JournalArticleModel
getSmallImageURL
in interface JournalArticleModel
public void setSmallImageURL(String smallImageURL)
JournalArticleModel
setSmallImageURL
in interface JournalArticleModel
smallImageURL
- the small image u r l of this journal articlepublic int getStatus()
JournalArticleModel
getStatus
in interface JournalArticleModel
public void setStatus(int status)
JournalArticleModel
setStatus
in interface JournalArticleModel
status
- the status of this journal articlepublic long getStatusByUserId()
JournalArticleModel
getStatusByUserId
in interface JournalArticleModel
public void setStatusByUserId(long statusByUserId)
JournalArticleModel
setStatusByUserId
in interface JournalArticleModel
statusByUserId
- the status by user id of this journal articlepublic String getStatusByUserUuid() throws SystemException
JournalArticleModel
getStatusByUserUuid
in interface JournalArticleModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
JournalArticleModel
setStatusByUserUuid
in interface JournalArticleModel
statusByUserUuid
- the status by user uuid of this journal articlepublic String getStatusByUserName()
JournalArticleModel
getStatusByUserName
in interface JournalArticleModel
public void setStatusByUserName(String statusByUserName)
JournalArticleModel
setStatusByUserName
in interface JournalArticleModel
statusByUserName
- the status by user name of this journal articlepublic Date getStatusDate()
JournalArticleModel
getStatusDate
in interface JournalArticleModel
public void setStatusDate(Date statusDate)
JournalArticleModel
setStatusDate
in interface JournalArticleModel
statusDate
- the status date of this journal articlepublic boolean isApproved()
JournalArticleModel
isApproved
in interface JournalArticleModel
public boolean isDraft()
JournalArticleModel
isDraft
in interface JournalArticleModel
public boolean isExpired()
JournalArticleModel
isExpired
in interface JournalArticleModel
public boolean isPending()
JournalArticleModel
isPending
in interface JournalArticleModel
public JournalArticle toEscapedModel()
JournalArticleModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface JournalArticleModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalArticle>
getExpandoBridge
in interface JournalArticleModel
getExpandoBridge
in class BaseModelImpl<JournalArticle>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalArticle>
setExpandoBridgeAttributes
in interface JournalArticleModel
setExpandoBridgeAttributes
in class BaseModelImpl<JournalArticle>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<JournalArticle>
clone
in interface JournalArticleModel
clone
in class BaseModelImpl<JournalArticle>
public int compareTo(JournalArticle journalArticle)
compareTo
in interface JournalArticleModel
compareTo
in interface Comparable<JournalArticle>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface JournalArticleModel
hashCode
in class Object
public String toString()
toString
in interface JournalArticleModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalArticle>
toXmlString
in interface JournalArticleModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |