|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.model.JournalTemplateWrapper
public class JournalTemplateWrapper
This class is a wrapper for JournalTemplate.
JournalTemplate,
Serialized Form| Constructor 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 JournalTemplateModelpublic void setPrimaryKey(long pk)
JournalTemplateModel
setPrimaryKey in interface JournalTemplateModelpk - the primary key of this journal templatepublic String getUuid()
JournalTemplateModel
getUuid in interface JournalTemplateModelpublic void setUuid(String uuid)
JournalTemplateModel
setUuid in interface JournalTemplateModeluuid - the uuid of this journal templatepublic 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 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 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 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 boolean isNew()
BaseModel
isNew in interface BaseModel<JournalTemplate>isNew in interface JournalTemplateModeltrue 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 JournalTemplateModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<JournalTemplate>isCachedModel in interface JournalTemplateModeltrue 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 JournalTemplateModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<JournalTemplate>isEscapedModel in interface JournalTemplateModeltrue 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 JournalTemplateModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<JournalTemplate>getPrimaryKeyObj in interface JournalTemplateModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalTemplate>getExpandoBridge in interface JournalTemplateModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalTemplate>setExpandoBridgeAttributes in interface JournalTemplateModelserviceContext - 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 Objectpublic int compareTo(JournalTemplate journalTemplate)
compareTo in interface JournalTemplateModelcompareTo in interface Comparable<JournalTemplate>public 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
public String getSmallImageType()
throws PortalException,
SystemException
getSmallImageType in interface JournalTemplatePortalException
SystemExceptionpublic void setSmallImageType(String smallImageType)
setSmallImageType in interface JournalTemplatepublic JournalTemplate getWrappedJournalTemplate()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||