|
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<JournalTemplate>
com.liferay.portlet.journal.model.impl.JournalTemplateModelImpl
public class JournalTemplateModelImpl
The base model implementation for the JournalTemplate service. Represents a row in the "JournalTemplate" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface JournalTemplateModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in JournalTemplateImpl.
Never modify or reference this class directly. All methods that expect a journal template model instance should use the JournalTemplate interface instead.
JournalTemplateImpl,
JournalTemplate,
JournalTemplateModel,
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 | |
|---|---|
JournalTemplateModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalTemplate journalTemplate)
|
boolean |
equals(Object obj)
|
boolean |
getCacheable()
Gets the cacheable of this journal template. |
long |
getCompanyId()
Gets the company id of this journal template. |
Date |
getCreateDate()
Gets the create date of this journal template. |
String |
getDescription()
Gets the description of this journal template. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this journal template. |
long |
getId()
Gets the id of this journal template. |
String |
getLangType()
Gets the lang type of this journal template. |
Date |
getModifiedDate()
Gets the modified date of this journal template. |
String |
getName()
Gets the name of this journal template. |
long |
getOriginalGroupId()
|
long |
getOriginalSmallImageId()
|
String |
getOriginalTemplateId()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Gets the primary key of this journal template. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getSmallImage()
Gets the small image of this journal template. |
long |
getSmallImageId()
Gets the small image id of this journal template. |
String |
getSmallImageURL()
Gets the small image u r l of this journal template. |
String |
getStructureId()
Gets the structure id of this journal template. |
String |
getTemplateId()
Gets the template id of this journal template. |
long |
getUserId()
Gets the user id of this journal template. |
String |
getUserName()
Gets the user name of this journal template. |
String |
getUserUuid()
Gets the user uuid of this journal template. |
String |
getUuid()
Gets the uuid of this journal template. |
String |
getXsl()
Gets the xsl of this journal template. |
int |
hashCode()
|
boolean |
isCacheable()
Determines whether this journal template is cacheable. |
boolean |
isSmallImage()
Determines whether this journal template is small image. |
void |
setCacheable(boolean cacheable)
Sets whether this {$entity.humanName} is cacheable. |
void |
setCompanyId(long companyId)
Sets the company id of this journal template. |
void |
setCreateDate(Date createDate)
Sets the create date of this journal template. |
void |
setDescription(String description)
Sets the description of this journal template. |
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 journal template. |
void |
setId(long id)
Sets the id of this journal template. |
void |
setLangType(String langType)
Sets the lang type of this journal template. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal template. |
void |
setName(String name)
Sets the name of this journal template. |
void |
setPrimaryKey(long pk)
Sets the primary key of this journal template |
void |
setSmallImage(boolean smallImage)
Sets whether this {$entity.humanName} is small image. |
void |
setSmallImageId(long smallImageId)
Sets the small image id of this journal template. |
void |
setSmallImageURL(String smallImageURL)
Sets the small image u r l of this journal template. |
void |
setStructureId(String structureId)
Sets the structure id of this journal template. |
void |
setTemplateId(String templateId)
Sets the template id of this journal template. |
void |
setUserId(long userId)
Sets the user id of this journal template. |
void |
setUserName(String userName)
Sets the user name of this journal template. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this journal template. |
void |
setUuid(String uuid)
Sets the uuid of this journal template. |
void |
setXsl(String xsl)
Sets the xsl of this journal template. |
JournalTemplate |
toEscapedModel()
Gets a copy of this journal template as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static JournalTemplate |
toModel(JournalTemplateSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<JournalTemplate> |
toModels(JournalTemplateSoap[] 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.JournalTemplateModel |
|---|
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 JournalTemplateModelImpl()
| Method Detail |
|---|
public static JournalTemplate toModel(JournalTemplateSoap soapModel)
soapModel - the soap model instance to convert
public static List<JournalTemplate> toModels(JournalTemplateSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
JournalTemplateModel
getPrimaryKey in interface JournalTemplateModelpublic void setPrimaryKey(long pk)
JournalTemplateModel
setPrimaryKey in interface JournalTemplateModelpk - the primary key of this journal templatepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalTemplate>getPrimaryKeyObj in interface JournalTemplateModelpublic String getUuid()
JournalTemplateModel
getUuid in interface JournalTemplateModelpublic void setUuid(String uuid)
JournalTemplateModel
setUuid in interface JournalTemplateModeluuid - the uuid of this journal templatepublic String getOriginalUuid()
public long getId()
JournalTemplateModel
getId in interface JournalTemplateModelpublic void setId(long id)
JournalTemplateModel
setId in interface JournalTemplateModelid - the id of this journal templatepublic long getGroupId()
JournalTemplateModel
getGroupId in interface JournalTemplateModelpublic void setGroupId(long groupId)
JournalTemplateModel
setGroupId in interface JournalTemplateModelgroupId - the group id of this journal templatepublic long getOriginalGroupId()
public long getCompanyId()
JournalTemplateModel
getCompanyId in interface JournalTemplateModelpublic void setCompanyId(long companyId)
JournalTemplateModel
setCompanyId in interface JournalTemplateModelcompanyId - the company id of this journal templatepublic long getUserId()
JournalTemplateModel
getUserId in interface JournalTemplateModelpublic void setUserId(long userId)
JournalTemplateModel
setUserId in interface JournalTemplateModeluserId - the user id of this journal template
public String getUserUuid()
throws SystemException
JournalTemplateModel
getUserUuid in interface JournalTemplateModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
JournalTemplateModel
setUserUuid in interface JournalTemplateModeluserUuid - the user uuid of this journal templatepublic String getUserName()
JournalTemplateModel
getUserName in interface JournalTemplateModelpublic void setUserName(String userName)
JournalTemplateModel
setUserName in interface JournalTemplateModeluserName - the user name of this journal templatepublic Date getCreateDate()
JournalTemplateModel
getCreateDate in interface JournalTemplateModelpublic void setCreateDate(Date createDate)
JournalTemplateModel
setCreateDate in interface JournalTemplateModelcreateDate - the create date of this journal templatepublic Date getModifiedDate()
JournalTemplateModel
getModifiedDate in interface JournalTemplateModelpublic void setModifiedDate(Date modifiedDate)
JournalTemplateModel
setModifiedDate in interface JournalTemplateModelmodifiedDate - the modified date of this journal templatepublic String getTemplateId()
JournalTemplateModel
getTemplateId in interface JournalTemplateModelpublic void setTemplateId(String templateId)
JournalTemplateModel
setTemplateId in interface JournalTemplateModeltemplateId - the template id of this journal templatepublic String getOriginalTemplateId()
public String getStructureId()
JournalTemplateModel
getStructureId in interface JournalTemplateModelpublic void setStructureId(String structureId)
JournalTemplateModel
setStructureId in interface JournalTemplateModelstructureId - the structure id of this journal templatepublic String getName()
JournalTemplateModel
getName in interface JournalTemplateModelpublic void setName(String name)
JournalTemplateModel
setName in interface JournalTemplateModelname - the name of this journal templatepublic String getDescription()
JournalTemplateModel
getDescription in interface JournalTemplateModelpublic void setDescription(String description)
JournalTemplateModel
setDescription in interface JournalTemplateModeldescription - the description of this journal templatepublic String getXsl()
JournalTemplateModel
getXsl in interface JournalTemplateModelpublic void setXsl(String xsl)
JournalTemplateModel
setXsl in interface JournalTemplateModelxsl - the xsl of this journal templatepublic String getLangType()
JournalTemplateModel
getLangType in interface JournalTemplateModelpublic void setLangType(String langType)
JournalTemplateModel
setLangType in interface JournalTemplateModellangType - the lang type of this journal templatepublic boolean getCacheable()
JournalTemplateModel
getCacheable in interface JournalTemplateModelpublic boolean isCacheable()
JournalTemplateModel
isCacheable in interface JournalTemplateModelpublic void setCacheable(boolean cacheable)
JournalTemplateModel
setCacheable in interface JournalTemplateModelcacheable - the cacheable of this journal templatepublic boolean getSmallImage()
JournalTemplateModel
getSmallImage in interface JournalTemplateModelpublic boolean isSmallImage()
JournalTemplateModel
isSmallImage in interface JournalTemplateModelpublic void setSmallImage(boolean smallImage)
JournalTemplateModel
setSmallImage in interface JournalTemplateModelsmallImage - the small image of this journal templatepublic long getSmallImageId()
JournalTemplateModel
getSmallImageId in interface JournalTemplateModelpublic void setSmallImageId(long smallImageId)
JournalTemplateModel
setSmallImageId in interface JournalTemplateModelsmallImageId - the small image id of this journal templatepublic long getOriginalSmallImageId()
public String getSmallImageURL()
JournalTemplateModel
getSmallImageURL in interface JournalTemplateModelpublic void setSmallImageURL(String smallImageURL)
JournalTemplateModel
setSmallImageURL in interface JournalTemplateModelsmallImageURL - the small image u r l of this journal templatepublic JournalTemplate toEscapedModel()
JournalTemplateModelAutoEscapeBeanHandler.
toEscapedModel in interface JournalTemplateModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalTemplate>getExpandoBridge in interface JournalTemplateModelgetExpandoBridge in class BaseModelImpl<JournalTemplate>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalTemplate>setExpandoBridgeAttributes in interface JournalTemplateModelsetExpandoBridgeAttributes in class BaseModelImpl<JournalTemplate>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<JournalTemplate>clone in interface JournalTemplateModelclone in class BaseModelImpl<JournalTemplate>public int compareTo(JournalTemplate journalTemplate)
compareTo in interface JournalTemplateModelcompareTo in interface Comparable<JournalTemplate>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface JournalTemplateModelhashCode in class Objectpublic String toString()
toString in interface JournalTemplateModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalTemplate>toXmlString in interface JournalTemplateModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||