com.liferay.portlet.journal.model.impl
Class JournalArticleModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<JournalArticle>
com.liferay.portlet.journal.model.impl.JournalArticleModelImpl
- All Implemented Interfaces:
- BaseModel<JournalArticle>, JournalArticleModel, Serializable, Cloneable, Comparable<JournalArticle>
- Direct Known Subclasses:
- JournalArticleImpl
public class JournalArticleModelImpl
- extends BaseModelImpl<JournalArticle>
- implements JournalArticleModel
This interface is a model that represents the JournalArticle table in the
database.
- See Also:
JournalArticleImpl,
JournalArticle,
JournalArticleModel,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
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
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
JournalArticleModelImpl
public JournalArticleModelImpl()
toModel
public static JournalArticle toModel(JournalArticleSoap soapModel)
toModels
public static List<JournalArticle> toModels(JournalArticleSoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface JournalArticleModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface JournalArticleModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Description copied from interface:
BaseModel
- Gets the primary key for this model instance.
- Specified by:
getPrimaryKeyObj in interface BaseModel<JournalArticle>- Specified by:
getPrimaryKeyObj in interface JournalArticleModel
- Returns:
- the primary key
getUuid
public String getUuid()
- Specified by:
getUuid in interface JournalArticleModel
setUuid
public void setUuid(String uuid)
- Specified by:
setUuid in interface JournalArticleModel
getOriginalUuid
public String getOriginalUuid()
getId
public long getId()
- Specified by:
getId in interface JournalArticleModel
setId
public void setId(long id)
- Specified by:
setId in interface JournalArticleModel
getResourcePrimKey
public long getResourcePrimKey()
- Specified by:
getResourcePrimKey in interface JournalArticleModel
setResourcePrimKey
public void setResourcePrimKey(long resourcePrimKey)
- Specified by:
setResourcePrimKey in interface JournalArticleModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId in interface JournalArticleModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface JournalArticleModel
getOriginalGroupId
public long getOriginalGroupId()
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface JournalArticleModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface JournalArticleModel
getUserId
public long getUserId()
- Specified by:
getUserId in interface JournalArticleModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface JournalArticleModel
getUserUuid
public String getUserUuid()
throws SystemException
- Specified by:
getUserUuid in interface JournalArticleModel
- Throws:
SystemException
setUserUuid
public void setUserUuid(String userUuid)
- Specified by:
setUserUuid in interface JournalArticleModel
getUserName
public String getUserName()
- Specified by:
getUserName in interface JournalArticleModel
setUserName
public void setUserName(String userName)
- Specified by:
setUserName in interface JournalArticleModel
getCreateDate
public Date getCreateDate()
- Specified by:
getCreateDate in interface JournalArticleModel
setCreateDate
public void setCreateDate(Date createDate)
- Specified by:
setCreateDate in interface JournalArticleModel
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface JournalArticleModel
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface JournalArticleModel
getArticleId
public String getArticleId()
- Specified by:
getArticleId in interface JournalArticleModel
setArticleId
public void setArticleId(String articleId)
- Specified by:
setArticleId in interface JournalArticleModel
getOriginalArticleId
public String getOriginalArticleId()
getVersion
public double getVersion()
- Specified by:
getVersion in interface JournalArticleModel
setVersion
public void setVersion(double version)
- Specified by:
setVersion in interface JournalArticleModel
getOriginalVersion
public double getOriginalVersion()
getTitle
public String getTitle()
- Specified by:
getTitle in interface JournalArticleModel
setTitle
public void setTitle(String title)
- Specified by:
setTitle in interface JournalArticleModel
getUrlTitle
public String getUrlTitle()
- Specified by:
getUrlTitle in interface JournalArticleModel
setUrlTitle
public void setUrlTitle(String urlTitle)
- Specified by:
setUrlTitle in interface JournalArticleModel
getDescription
public String getDescription()
- Specified by:
getDescription in interface JournalArticleModel
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface JournalArticleModel
getContent
public String getContent()
- Specified by:
getContent in interface JournalArticleModel
setContent
public void setContent(String content)
- Specified by:
setContent in interface JournalArticleModel
getType
public String getType()
- Specified by:
getType in interface JournalArticleModel
setType
public void setType(String type)
- Specified by:
setType in interface JournalArticleModel
getStructureId
public String getStructureId()
- Specified by:
getStructureId in interface JournalArticleModel
setStructureId
public void setStructureId(String structureId)
- Specified by:
setStructureId in interface JournalArticleModel
getTemplateId
public String getTemplateId()
- Specified by:
getTemplateId in interface JournalArticleModel
setTemplateId
public void setTemplateId(String templateId)
- Specified by:
setTemplateId in interface JournalArticleModel
getDisplayDate
public Date getDisplayDate()
- Specified by:
getDisplayDate in interface JournalArticleModel
setDisplayDate
public void setDisplayDate(Date displayDate)
- Specified by:
setDisplayDate in interface JournalArticleModel
getExpirationDate
public Date getExpirationDate()
- Specified by:
getExpirationDate in interface JournalArticleModel
setExpirationDate
public void setExpirationDate(Date expirationDate)
- Specified by:
setExpirationDate in interface JournalArticleModel
getReviewDate
public Date getReviewDate()
- Specified by:
getReviewDate in interface JournalArticleModel
setReviewDate
public void setReviewDate(Date reviewDate)
- Specified by:
setReviewDate in interface JournalArticleModel
getIndexable
public boolean getIndexable()
- Specified by:
getIndexable in interface JournalArticleModel
isIndexable
public boolean isIndexable()
- Specified by:
isIndexable in interface JournalArticleModel
setIndexable
public void setIndexable(boolean indexable)
- Specified by:
setIndexable in interface JournalArticleModel
getSmallImage
public boolean getSmallImage()
- Specified by:
getSmallImage in interface JournalArticleModel
isSmallImage
public boolean isSmallImage()
- Specified by:
isSmallImage in interface JournalArticleModel
setSmallImage
public void setSmallImage(boolean smallImage)
- Specified by:
setSmallImage in interface JournalArticleModel
getSmallImageId
public long getSmallImageId()
- Specified by:
getSmallImageId in interface JournalArticleModel
setSmallImageId
public void setSmallImageId(long smallImageId)
- Specified by:
setSmallImageId in interface JournalArticleModel
getSmallImageURL
public String getSmallImageURL()
- Specified by:
getSmallImageURL in interface JournalArticleModel
setSmallImageURL
public void setSmallImageURL(String smallImageURL)
- Specified by:
setSmallImageURL in interface JournalArticleModel
getStatus
public int getStatus()
- Specified by:
getStatus in interface JournalArticleModel
setStatus
public void setStatus(int status)
- Specified by:
setStatus in interface JournalArticleModel
getStatusByUserId
public long getStatusByUserId()
- Specified by:
getStatusByUserId in interface JournalArticleModel
setStatusByUserId
public void setStatusByUserId(long statusByUserId)
- Specified by:
setStatusByUserId in interface JournalArticleModel
getStatusByUserUuid
public String getStatusByUserUuid()
throws SystemException
- Specified by:
getStatusByUserUuid in interface JournalArticleModel
- Throws:
SystemException
setStatusByUserUuid
public void setStatusByUserUuid(String statusByUserUuid)
- Specified by:
setStatusByUserUuid in interface JournalArticleModel
getStatusByUserName
public String getStatusByUserName()
- Specified by:
getStatusByUserName in interface JournalArticleModel
setStatusByUserName
public void setStatusByUserName(String statusByUserName)
- Specified by:
setStatusByUserName in interface JournalArticleModel
getStatusDate
public Date getStatusDate()
- Specified by:
getStatusDate in interface JournalArticleModel
setStatusDate
public void setStatusDate(Date statusDate)
- Specified by:
setStatusDate in interface JournalArticleModel
isApproved
public boolean isApproved()
- Specified by:
isApproved in interface JournalArticleModel
isDraft
public boolean isDraft()
- Specified by:
isDraft in interface JournalArticleModel
isExpired
public boolean isExpired()
- Specified by:
isExpired in interface JournalArticleModel
isPending
public boolean isPending()
- Specified by:
isPending in interface JournalArticleModel
toEscapedModel
public JournalArticle toEscapedModel()
- Specified by:
toEscapedModel in interface JournalArticleModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Description copied from interface:
BaseModel
- Gets the expando bridge for this model instance.
- Specified by:
getExpandoBridge in interface BaseModel<JournalArticle>- Specified by:
getExpandoBridge in interface JournalArticleModel- Overrides:
getExpandoBridge in class BaseModelImpl<JournalArticle>
- Returns:
- the expando bridge
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<JournalArticle>- Specified by:
setExpandoBridgeAttributes in interface JournalArticleModel- Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<JournalArticle>
- Parameters:
serviceContext - the service context to retrieve the expando bridge
attributes from- See Also:
ServiceContext.getExpandoBridgeAttributes(
)
clone
public Object clone()
- Description copied from interface:
BaseModel
- Creates a shallow clone of this model instance.
- Specified by:
clone in interface BaseModel<JournalArticle>- Specified by:
clone in interface JournalArticleModel- Specified by:
clone in class BaseModelImpl<JournalArticle>
- Returns:
- the clone
compareTo
public int compareTo(JournalArticle journalArticle)
- Specified by:
compareTo in interface JournalArticleModel- Specified by:
compareTo in interface Comparable<JournalArticle>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface JournalArticleModel- Overrides:
hashCode in class Object
toString
public String toString()
- Specified by:
toString in interface JournalArticleModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Description copied from interface:
BaseModel
- Gets the XML representation of this model instance.
- Specified by:
toXmlString in interface BaseModel<JournalArticle>- Specified by:
toXmlString in interface JournalArticleModel
- Returns:
- the XML representation of this model instance