|
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<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 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 | |
---|---|
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 JournalTemplateModel
public void setPrimaryKey(long pk)
JournalTemplateModel
setPrimaryKey
in interface JournalTemplateModel
pk
- the primary key of this journal templatepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalTemplate>
getPrimaryKeyObj
in interface JournalTemplateModel
public String getUuid()
JournalTemplateModel
getUuid
in interface JournalTemplateModel
public void setUuid(String uuid)
JournalTemplateModel
setUuid
in interface JournalTemplateModel
uuid
- the uuid of this journal templatepublic String getOriginalUuid()
public long getId()
JournalTemplateModel
getId
in interface JournalTemplateModel
public void setId(long id)
JournalTemplateModel
setId
in interface JournalTemplateModel
id
- the id of this journal templatepublic long getGroupId()
JournalTemplateModel
getGroupId
in interface JournalTemplateModel
public void setGroupId(long groupId)
JournalTemplateModel
setGroupId
in interface JournalTemplateModel
groupId
- the group id of this journal templatepublic long getOriginalGroupId()
public long getCompanyId()
JournalTemplateModel
getCompanyId
in interface JournalTemplateModel
public void setCompanyId(long companyId)
JournalTemplateModel
setCompanyId
in interface JournalTemplateModel
companyId
- the company id of this journal templatepublic long getUserId()
JournalTemplateModel
getUserId
in interface JournalTemplateModel
public void setUserId(long userId)
JournalTemplateModel
setUserId
in interface JournalTemplateModel
userId
- the user id of this journal templatepublic String getUserUuid() throws SystemException
JournalTemplateModel
getUserUuid
in interface JournalTemplateModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
JournalTemplateModel
setUserUuid
in interface JournalTemplateModel
userUuid
- the user uuid of this journal templatepublic String getUserName()
JournalTemplateModel
getUserName
in interface JournalTemplateModel
public void setUserName(String userName)
JournalTemplateModel
setUserName
in interface JournalTemplateModel
userName
- the user name of this journal templatepublic Date getCreateDate()
JournalTemplateModel
getCreateDate
in interface JournalTemplateModel
public void setCreateDate(Date createDate)
JournalTemplateModel
setCreateDate
in interface JournalTemplateModel
createDate
- the create date of this journal templatepublic Date getModifiedDate()
JournalTemplateModel
getModifiedDate
in interface JournalTemplateModel
public void setModifiedDate(Date modifiedDate)
JournalTemplateModel
setModifiedDate
in interface JournalTemplateModel
modifiedDate
- the modified date of this journal templatepublic String getTemplateId()
JournalTemplateModel
getTemplateId
in interface JournalTemplateModel
public void setTemplateId(String templateId)
JournalTemplateModel
setTemplateId
in interface JournalTemplateModel
templateId
- the template id of this journal templatepublic String getOriginalTemplateId()
public String getStructureId()
JournalTemplateModel
getStructureId
in interface JournalTemplateModel
public void setStructureId(String structureId)
JournalTemplateModel
setStructureId
in interface JournalTemplateModel
structureId
- the structure id of this journal templatepublic String getName()
JournalTemplateModel
getName
in interface JournalTemplateModel
public void setName(String name)
JournalTemplateModel
setName
in interface JournalTemplateModel
name
- the name of this journal templatepublic String getDescription()
JournalTemplateModel
getDescription
in interface JournalTemplateModel
public void setDescription(String description)
JournalTemplateModel
setDescription
in interface JournalTemplateModel
description
- the description of this journal templatepublic String getXsl()
JournalTemplateModel
getXsl
in interface JournalTemplateModel
public void setXsl(String xsl)
JournalTemplateModel
setXsl
in interface JournalTemplateModel
xsl
- the xsl of this journal templatepublic String getLangType()
JournalTemplateModel
getLangType
in interface JournalTemplateModel
public void setLangType(String langType)
JournalTemplateModel
setLangType
in interface JournalTemplateModel
langType
- the lang type of this journal templatepublic boolean getCacheable()
JournalTemplateModel
getCacheable
in interface JournalTemplateModel
public boolean isCacheable()
JournalTemplateModel
isCacheable
in interface JournalTemplateModel
public void setCacheable(boolean cacheable)
JournalTemplateModel
setCacheable
in interface JournalTemplateModel
cacheable
- the cacheable of this journal templatepublic boolean getSmallImage()
JournalTemplateModel
getSmallImage
in interface JournalTemplateModel
public boolean isSmallImage()
JournalTemplateModel
isSmallImage
in interface JournalTemplateModel
public void setSmallImage(boolean smallImage)
JournalTemplateModel
setSmallImage
in interface JournalTemplateModel
smallImage
- the small image of this journal templatepublic long getSmallImageId()
JournalTemplateModel
getSmallImageId
in interface JournalTemplateModel
public void setSmallImageId(long smallImageId)
JournalTemplateModel
setSmallImageId
in interface JournalTemplateModel
smallImageId
- the small image id of this journal templatepublic long getOriginalSmallImageId()
public String getSmallImageURL()
JournalTemplateModel
getSmallImageURL
in interface JournalTemplateModel
public void setSmallImageURL(String smallImageURL)
JournalTemplateModel
setSmallImageURL
in interface JournalTemplateModel
smallImageURL
- the small image u r l of this journal templatepublic JournalTemplate toEscapedModel()
JournalTemplateModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface JournalTemplateModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalTemplate>
getExpandoBridge
in interface JournalTemplateModel
getExpandoBridge
in class BaseModelImpl<JournalTemplate>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalTemplate>
setExpandoBridgeAttributes
in interface JournalTemplateModel
setExpandoBridgeAttributes
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 JournalTemplateModel
clone
in class BaseModelImpl<JournalTemplate>
public int compareTo(JournalTemplate journalTemplate)
compareTo
in interface JournalTemplateModel
compareTo
in interface Comparable<JournalTemplate>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface JournalTemplateModel
hashCode
in class Object
public String toString()
toString
in interface JournalTemplateModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<JournalTemplate>
toXmlString
in interface JournalTemplateModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |