|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Form| Field 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 JournalArticleModelpublic void setPrimaryKey(long pk)
JournalArticleModel
setPrimaryKey in interface JournalArticleModelpk - the primary key of this journal articlepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalArticle>getPrimaryKeyObj in interface JournalArticleModelpublic String getUuid()
JournalArticleModel
getUuid in interface JournalArticleModelpublic void setUuid(String uuid)
JournalArticleModel
setUuid in interface JournalArticleModeluuid - the uuid of this journal articlepublic String getOriginalUuid()
public long getId()
JournalArticleModel
getId in interface JournalArticleModelpublic void setId(long id)
JournalArticleModel
setId in interface JournalArticleModelid - the id of this journal articlepublic long getResourcePrimKey()
JournalArticleModel
getResourcePrimKey in interface JournalArticleModelpublic void setResourcePrimKey(long resourcePrimKey)
JournalArticleModel
setResourcePrimKey in interface JournalArticleModelresourcePrimKey - the resource prim key of this journal articlepublic long getGroupId()
JournalArticleModel
getGroupId in interface JournalArticleModelpublic void setGroupId(long groupId)
JournalArticleModel
setGroupId in interface JournalArticleModelgroupId - the group id of this journal articlepublic long getOriginalGroupId()
public long getCompanyId()
JournalArticleModel
getCompanyId in interface JournalArticleModelpublic void setCompanyId(long companyId)
JournalArticleModel
setCompanyId in interface JournalArticleModelcompanyId - the company id of this journal articlepublic long getUserId()
JournalArticleModel
getUserId in interface JournalArticleModelpublic void setUserId(long userId)
JournalArticleModel
setUserId in interface JournalArticleModeluserId - the user id of this journal article
public String getUserUuid()
throws SystemException
JournalArticleModel
getUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
JournalArticleModel
setUserUuid in interface JournalArticleModeluserUuid - the user uuid of this journal articlepublic String getUserName()
JournalArticleModel
getUserName in interface JournalArticleModelpublic void setUserName(String userName)
JournalArticleModel
setUserName in interface JournalArticleModeluserName - the user name of this journal articlepublic Date getCreateDate()
JournalArticleModel
getCreateDate in interface JournalArticleModelpublic void setCreateDate(Date createDate)
JournalArticleModel
setCreateDate in interface JournalArticleModelcreateDate - the create date of this journal articlepublic Date getModifiedDate()
JournalArticleModel
getModifiedDate in interface JournalArticleModelpublic void setModifiedDate(Date modifiedDate)
JournalArticleModel
setModifiedDate in interface JournalArticleModelmodifiedDate - the modified date of this journal articlepublic String getArticleId()
JournalArticleModel
getArticleId in interface JournalArticleModelpublic void setArticleId(String articleId)
JournalArticleModel
setArticleId in interface JournalArticleModelarticleId - the article id of this journal articlepublic String getOriginalArticleId()
public double getVersion()
JournalArticleModel
getVersion in interface JournalArticleModelpublic void setVersion(double version)
JournalArticleModel
setVersion in interface JournalArticleModelversion - the version of this journal articlepublic double getOriginalVersion()
public String getTitle()
JournalArticleModel
getTitle in interface JournalArticleModelpublic void setTitle(String title)
JournalArticleModel
setTitle in interface JournalArticleModeltitle - the title of this journal articlepublic String getUrlTitle()
JournalArticleModel
getUrlTitle in interface JournalArticleModelpublic void setUrlTitle(String urlTitle)
JournalArticleModel
setUrlTitle in interface JournalArticleModelurlTitle - the url title of this journal articlepublic String getDescription()
JournalArticleModel
getDescription in interface JournalArticleModelpublic void setDescription(String description)
JournalArticleModel
setDescription in interface JournalArticleModeldescription - the description of this journal articlepublic String getContent()
JournalArticleModel
getContent in interface JournalArticleModelpublic void setContent(String content)
JournalArticleModel
setContent in interface JournalArticleModelcontent - the content of this journal articlepublic String getType()
JournalArticleModel
getType in interface JournalArticleModelpublic void setType(String type)
JournalArticleModel
setType in interface JournalArticleModeltype - the type of this journal articlepublic String getStructureId()
JournalArticleModel
getStructureId in interface JournalArticleModelpublic void setStructureId(String structureId)
JournalArticleModel
setStructureId in interface JournalArticleModelstructureId - the structure id of this journal articlepublic String getTemplateId()
JournalArticleModel
getTemplateId in interface JournalArticleModelpublic void setTemplateId(String templateId)
JournalArticleModel
setTemplateId in interface JournalArticleModeltemplateId - the template id of this journal articlepublic Date getDisplayDate()
JournalArticleModel
getDisplayDate in interface JournalArticleModelpublic void setDisplayDate(Date displayDate)
JournalArticleModel
setDisplayDate in interface JournalArticleModeldisplayDate - the display date of this journal articlepublic Date getExpirationDate()
JournalArticleModel
getExpirationDate in interface JournalArticleModelpublic void setExpirationDate(Date expirationDate)
JournalArticleModel
setExpirationDate in interface JournalArticleModelexpirationDate - the expiration date of this journal articlepublic Date getReviewDate()
JournalArticleModel
getReviewDate in interface JournalArticleModelpublic void setReviewDate(Date reviewDate)
JournalArticleModel
setReviewDate in interface JournalArticleModelreviewDate - the review date of this journal articlepublic boolean getIndexable()
JournalArticleModel
getIndexable in interface JournalArticleModelpublic boolean isIndexable()
JournalArticleModel
isIndexable in interface JournalArticleModelpublic void setIndexable(boolean indexable)
JournalArticleModel
setIndexable in interface JournalArticleModelindexable - the indexable of this journal articlepublic boolean getSmallImage()
JournalArticleModel
getSmallImage in interface JournalArticleModelpublic boolean isSmallImage()
JournalArticleModel
isSmallImage in interface JournalArticleModelpublic void setSmallImage(boolean smallImage)
JournalArticleModel
setSmallImage in interface JournalArticleModelsmallImage - the small image of this journal articlepublic long getSmallImageId()
JournalArticleModel
getSmallImageId in interface JournalArticleModelpublic void setSmallImageId(long smallImageId)
JournalArticleModel
setSmallImageId in interface JournalArticleModelsmallImageId - the small image id of this journal articlepublic String getSmallImageURL()
JournalArticleModel
getSmallImageURL in interface JournalArticleModelpublic void setSmallImageURL(String smallImageURL)
JournalArticleModel
setSmallImageURL in interface JournalArticleModelsmallImageURL - the small image u r l of this journal articlepublic int getStatus()
JournalArticleModel
getStatus in interface JournalArticleModelpublic void setStatus(int status)
JournalArticleModel
setStatus in interface JournalArticleModelstatus - the status of this journal articlepublic long getStatusByUserId()
JournalArticleModel
getStatusByUserId in interface JournalArticleModelpublic void setStatusByUserId(long statusByUserId)
JournalArticleModel
setStatusByUserId in interface JournalArticleModelstatusByUserId - the status by user id of this journal article
public String getStatusByUserUuid()
throws SystemException
JournalArticleModel
getStatusByUserUuid in interface JournalArticleModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
JournalArticleModel
setStatusByUserUuid in interface JournalArticleModelstatusByUserUuid - the status by user uuid of this journal articlepublic String getStatusByUserName()
JournalArticleModel
getStatusByUserName in interface JournalArticleModelpublic void setStatusByUserName(String statusByUserName)
JournalArticleModel
setStatusByUserName in interface JournalArticleModelstatusByUserName - the status by user name of this journal articlepublic Date getStatusDate()
JournalArticleModel
getStatusDate in interface JournalArticleModelpublic void setStatusDate(Date statusDate)
JournalArticleModel
setStatusDate in interface JournalArticleModelstatusDate - the status date of this journal articlepublic boolean isApproved()
JournalArticleModel
isApproved in interface JournalArticleModelpublic boolean isDraft()
JournalArticleModel
isDraft in interface JournalArticleModelpublic boolean isExpired()
JournalArticleModel
isExpired in interface JournalArticleModelpublic boolean isPending()
JournalArticleModel
isPending in interface JournalArticleModelpublic JournalArticle toEscapedModel()
JournalArticleModelAutoEscapeBeanHandler.
toEscapedModel in interface JournalArticleModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalArticle>getExpandoBridge in interface JournalArticleModelgetExpandoBridge in class BaseModelImpl<JournalArticle>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalArticle>setExpandoBridgeAttributes in interface JournalArticleModelsetExpandoBridgeAttributes 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 JournalArticleModelclone in class BaseModelImpl<JournalArticle>public int compareTo(JournalArticle journalArticle)
compareTo in interface JournalArticleModelcompareTo in interface Comparable<JournalArticle>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface JournalArticleModelhashCode in class Objectpublic String toString()
toString in interface JournalArticleModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalArticle>toXmlString in interface JournalArticleModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||