|
Liferay 6.0-ee-sp2 | |||||||||
| 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()
Returns 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. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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()
Returns 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 if this journal template is cacheable. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isSmallImage()
Determines if this journal template is small image. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCacheable(boolean cacheable)
Sets whether this journal template 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 primaryKey)
Sets the primary key of this journal template |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSmallImage(boolean smallImage)
Sets whether this journal template 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. |
CacheModel<JournalTemplate> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
JournalTemplate |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface JournalTemplateModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface JournalTemplateModelprimaryKey - the primary key of this journal templatepublic String getUuid()
getUuid in interface JournalTemplateModelpublic void setUuid(String uuid)
setUuid in interface JournalTemplateModeluuid - the uuid of this journal templatepublic long getId()
getId in interface JournalTemplateModelpublic void setId(long id)
setId in interface JournalTemplateModelid - the ID of this journal templatepublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface JournalTemplateModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface JournalTemplateModelgroupId - the group ID of this journal templatepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface JournalTemplateModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface JournalTemplateModelcompanyId - the company ID of this journal templatepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface JournalTemplateModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface JournalTemplateModeluserId - the user ID of this journal template
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface JournalTemplateModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface JournalTemplateModeluserUuid - the user uuid of this journal templatepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface JournalTemplateModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface JournalTemplateModeluserName - the user name of this journal templatepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface JournalTemplateModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface JournalTemplateModelcreateDate - the create date of this journal templatepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface JournalTemplateModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface JournalTemplateModelmodifiedDate - the modified date of this journal templatepublic String getTemplateId()
getTemplateId in interface JournalTemplateModelpublic void setTemplateId(String templateId)
setTemplateId in interface JournalTemplateModeltemplateId - the template ID of this journal templatepublic String getStructureId()
getStructureId in interface JournalTemplateModelpublic void setStructureId(String structureId)
setStructureId in interface JournalTemplateModelstructureId - the structure ID of this journal templatepublic String getName()
getName in interface JournalTemplateModelpublic void setName(String name)
setName in interface JournalTemplateModelname - the name of this journal templatepublic String getDescription()
getDescription in interface JournalTemplateModelpublic void setDescription(String description)
setDescription in interface JournalTemplateModeldescription - the description of this journal templatepublic String getXsl()
getXsl in interface JournalTemplateModelpublic void setXsl(String xsl)
setXsl in interface JournalTemplateModelxsl - the xsl of this journal templatepublic String getLangType()
getLangType in interface JournalTemplateModelpublic void setLangType(String langType)
setLangType in interface JournalTemplateModellangType - the lang type of this journal templatepublic boolean getCacheable()
getCacheable in interface JournalTemplateModelpublic boolean isCacheable()
isCacheable in interface JournalTemplateModeltrue if this journal template is cacheable; false otherwisepublic void setCacheable(boolean cacheable)
setCacheable in interface JournalTemplateModelcacheable - the cacheable of this journal templatepublic boolean getSmallImage()
getSmallImage in interface JournalTemplateModelpublic boolean isSmallImage()
isSmallImage in interface JournalTemplateModeltrue if this journal template is small image; false otherwisepublic void setSmallImage(boolean smallImage)
setSmallImage in interface JournalTemplateModelsmallImage - the small image of this journal templatepublic long getSmallImageId()
getSmallImageId in interface JournalTemplateModelpublic void setSmallImageId(long smallImageId)
setSmallImageId in interface JournalTemplateModelsmallImageId - the small image ID of this journal templatepublic String getSmallImageURL()
getSmallImageURL in interface JournalTemplateModelpublic void setSmallImageURL(String smallImageURL)
setSmallImageURL in interface JournalTemplateModelsmallImageURL - the small image u r l of this journal templatepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
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 ClassedModelgetPrimaryKeyObj in interface JournalTemplateModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<JournalTemplate>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface JournalTemplateModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<JournalTemplate>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface JournalTemplateModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<JournalTemplate>setExpandoBridgeAttributes in interface JournalTemplateModelserviceContext - the service contextServiceContext.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 CacheModel<JournalTemplate> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<JournalTemplate>toCacheModel in interface JournalTemplateModelpublic JournalTemplate toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<JournalTemplate>toEscapedModel in interface JournalTemplateModelAutoEscapeBeanHandlerpublic String toString()
toString in interface JournalTemplateModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<JournalTemplate>toXmlString in interface JournalTemplateModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public String getSmallImageType()
throws PortalException,
SystemException
getSmallImageType in interface JournalTemplatePortalException
SystemExceptionpublic void setSmallImageType(String smallImageType)
setSmallImageType in interface JournalTemplatepublic JournalTemplate getWrappedJournalTemplate()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<JournalTemplate>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||