|
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.portlet.journal.model.JournalTemplateWrapper
public class JournalTemplateWrapper
This class is a wrapper for JournalTemplate
.
JournalTemplate
,
Serialized FormConstructor Summary | |
---|---|
JournalTemplateWrapper(JournalTemplate journalTemplate)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(JournalTemplate journalTemplate)
|
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 |
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 |
getSmallImageType()
|
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. |
JournalTemplate |
getWrappedJournalTemplate()
|
String |
getXsl()
Gets the xsl of this journal template. |
int |
hashCode()
|
boolean |
isCacheable()
Determines whether this journal template is cacheable. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isSmallImage()
Determines whether this journal template is small image. |
void |
setCacheable(boolean cacheable)
Sets whether this {$entity.humanName} is cacheable. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 |
setSmallImageType(String smallImageType)
|
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 . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JournalTemplateWrapper(JournalTemplate journalTemplate)
Method Detail |
---|
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 String getUuid()
JournalTemplateModel
getUuid
in interface JournalTemplateModel
public void setUuid(String uuid)
JournalTemplateModel
setUuid
in interface JournalTemplateModel
uuid
- the uuid of this journal templatepublic 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 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 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 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 boolean isNew()
BaseModel
isNew
in interface BaseModel<JournalTemplate>
isNew
in interface JournalTemplateModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<JournalTemplate>
setNew
in interface JournalTemplateModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<JournalTemplate>
isCachedModel
in interface JournalTemplateModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<JournalTemplate>
setCachedModel
in interface JournalTemplateModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<JournalTemplate>
isEscapedModel
in interface JournalTemplateModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<JournalTemplate>
setEscapedModel
in interface JournalTemplateModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<JournalTemplate>
getPrimaryKeyObj
in interface JournalTemplateModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<JournalTemplate>
getExpandoBridge
in interface JournalTemplateModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<JournalTemplate>
setExpandoBridgeAttributes
in interface JournalTemplateModel
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 Object
public int compareTo(JournalTemplate journalTemplate)
compareTo
in interface JournalTemplateModel
compareTo
in interface Comparable<JournalTemplate>
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
public String getSmallImageType() throws PortalException, SystemException
getSmallImageType
in interface JournalTemplate
PortalException
SystemException
public void setSmallImageType(String smallImageType)
setSmallImageType
in interface JournalTemplate
public JournalTemplate getWrappedJournalTemplate()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |