Liferay 6.0.5

com.liferay.portlet.journal.model
Class JournalTemplateWrapper

java.lang.Object
  extended by com.liferay.portlet.journal.model.JournalTemplateWrapper
All Implemented Interfaces:
BaseModel<JournalTemplate>, JournalTemplate, JournalTemplateModel, Serializable, Cloneable, Comparable<JournalTemplate>

public class JournalTemplateWrapper
extends Object
implements JournalTemplate

This class is a wrapper for JournalTemplate.

See Also:
JournalTemplate, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

JournalTemplateWrapper

public JournalTemplateWrapper(JournalTemplate journalTemplate)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: JournalTemplateModel
Gets the primary key of this journal template.

Specified by:
getPrimaryKey in interface JournalTemplateModel
Returns:
the primary key of this journal template

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: JournalTemplateModel
Sets the primary key of this journal template

Specified by:
setPrimaryKey in interface JournalTemplateModel
Parameters:
pk - the primary key of this journal template

getUuid

public String getUuid()
Description copied from interface: JournalTemplateModel
Gets the uuid of this journal template.

Specified by:
getUuid in interface JournalTemplateModel
Returns:
the uuid of this journal template

setUuid

public void setUuid(String uuid)
Description copied from interface: JournalTemplateModel
Sets the uuid of this journal template.

Specified by:
setUuid in interface JournalTemplateModel
Parameters:
uuid - the uuid of this journal template

getId

public long getId()
Description copied from interface: JournalTemplateModel
Gets the id of this journal template.

Specified by:
getId in interface JournalTemplateModel
Returns:
the id of this journal template

setId

public void setId(long id)
Description copied from interface: JournalTemplateModel
Sets the id of this journal template.

Specified by:
setId in interface JournalTemplateModel
Parameters:
id - the id of this journal template

getGroupId

public long getGroupId()
Description copied from interface: JournalTemplateModel
Gets the group id of this journal template.

Specified by:
getGroupId in interface JournalTemplateModel
Returns:
the group id of this journal template

setGroupId

public void setGroupId(long groupId)
Description copied from interface: JournalTemplateModel
Sets the group id of this journal template.

Specified by:
setGroupId in interface JournalTemplateModel
Parameters:
groupId - the group id of this journal template

getCompanyId

public long getCompanyId()
Description copied from interface: JournalTemplateModel
Gets the company id of this journal template.

Specified by:
getCompanyId in interface JournalTemplateModel
Returns:
the company id of this journal template

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: JournalTemplateModel
Sets the company id of this journal template.

Specified by:
setCompanyId in interface JournalTemplateModel
Parameters:
companyId - the company id of this journal template

getUserId

public long getUserId()
Description copied from interface: JournalTemplateModel
Gets the user id of this journal template.

Specified by:
getUserId in interface JournalTemplateModel
Returns:
the user id of this journal template

setUserId

public void setUserId(long userId)
Description copied from interface: JournalTemplateModel
Sets the user id of this journal template.

Specified by:
setUserId in interface JournalTemplateModel
Parameters:
userId - the user id of this journal template

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: JournalTemplateModel
Gets the user uuid of this journal template.

Specified by:
getUserUuid in interface JournalTemplateModel
Returns:
the user uuid of this journal template
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: JournalTemplateModel
Sets the user uuid of this journal template.

Specified by:
setUserUuid in interface JournalTemplateModel
Parameters:
userUuid - the user uuid of this journal template

getUserName

public String getUserName()
Description copied from interface: JournalTemplateModel
Gets the user name of this journal template.

Specified by:
getUserName in interface JournalTemplateModel
Returns:
the user name of this journal template

setUserName

public void setUserName(String userName)
Description copied from interface: JournalTemplateModel
Sets the user name of this journal template.

Specified by:
setUserName in interface JournalTemplateModel
Parameters:
userName - the user name of this journal template

getCreateDate

public Date getCreateDate()
Description copied from interface: JournalTemplateModel
Gets the create date of this journal template.

Specified by:
getCreateDate in interface JournalTemplateModel
Returns:
the create date of this journal template

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: JournalTemplateModel
Sets the create date of this journal template.

Specified by:
setCreateDate in interface JournalTemplateModel
Parameters:
createDate - the create date of this journal template

getModifiedDate

public Date getModifiedDate()
Description copied from interface: JournalTemplateModel
Gets the modified date of this journal template.

Specified by:
getModifiedDate in interface JournalTemplateModel
Returns:
the modified date of this journal template

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: JournalTemplateModel
Sets the modified date of this journal template.

Specified by:
setModifiedDate in interface JournalTemplateModel
Parameters:
modifiedDate - the modified date of this journal template

getTemplateId

public String getTemplateId()
Description copied from interface: JournalTemplateModel
Gets the template id of this journal template.

Specified by:
getTemplateId in interface JournalTemplateModel
Returns:
the template id of this journal template

setTemplateId

public void setTemplateId(String templateId)
Description copied from interface: JournalTemplateModel
Sets the template id of this journal template.

Specified by:
setTemplateId in interface JournalTemplateModel
Parameters:
templateId - the template id of this journal template

getStructureId

public String getStructureId()
Description copied from interface: JournalTemplateModel
Gets the structure id of this journal template.

Specified by:
getStructureId in interface JournalTemplateModel
Returns:
the structure id of this journal template

setStructureId

public void setStructureId(String structureId)
Description copied from interface: JournalTemplateModel
Sets the structure id of this journal template.

Specified by:
setStructureId in interface JournalTemplateModel
Parameters:
structureId - the structure id of this journal template

getName

public String getName()
Description copied from interface: JournalTemplateModel
Gets the name of this journal template.

Specified by:
getName in interface JournalTemplateModel
Returns:
the name of this journal template

setName

public void setName(String name)
Description copied from interface: JournalTemplateModel
Sets the name of this journal template.

Specified by:
setName in interface JournalTemplateModel
Parameters:
name - the name of this journal template

getDescription

public String getDescription()
Description copied from interface: JournalTemplateModel
Gets the description of this journal template.

Specified by:
getDescription in interface JournalTemplateModel
Returns:
the description of this journal template

setDescription

public void setDescription(String description)
Description copied from interface: JournalTemplateModel
Sets the description of this journal template.

Specified by:
setDescription in interface JournalTemplateModel
Parameters:
description - the description of this journal template

getXsl

public String getXsl()
Description copied from interface: JournalTemplateModel
Gets the xsl of this journal template.

Specified by:
getXsl in interface JournalTemplateModel
Returns:
the xsl of this journal template

setXsl

public void setXsl(String xsl)
Description copied from interface: JournalTemplateModel
Sets the xsl of this journal template.

Specified by:
setXsl in interface JournalTemplateModel
Parameters:
xsl - the xsl of this journal template

getLangType

public String getLangType()
Description copied from interface: JournalTemplateModel
Gets the lang type of this journal template.

Specified by:
getLangType in interface JournalTemplateModel
Returns:
the lang type of this journal template

setLangType

public void setLangType(String langType)
Description copied from interface: JournalTemplateModel
Sets the lang type of this journal template.

Specified by:
setLangType in interface JournalTemplateModel
Parameters:
langType - the lang type of this journal template

getCacheable

public boolean getCacheable()
Description copied from interface: JournalTemplateModel
Gets the cacheable of this journal template.

Specified by:
getCacheable in interface JournalTemplateModel
Returns:
the cacheable of this journal template

isCacheable

public boolean isCacheable()
Description copied from interface: JournalTemplateModel
Determines whether this journal template is cacheable.

Specified by:
isCacheable in interface JournalTemplateModel
Returns:
whether this journal template is cacheable

setCacheable

public void setCacheable(boolean cacheable)
Description copied from interface: JournalTemplateModel
Sets whether this {$entity.humanName} is cacheable.

Specified by:
setCacheable in interface JournalTemplateModel
Parameters:
cacheable - the cacheable of this journal template

getSmallImage

public boolean getSmallImage()
Description copied from interface: JournalTemplateModel
Gets the small image of this journal template.

Specified by:
getSmallImage in interface JournalTemplateModel
Returns:
the small image of this journal template

isSmallImage

public boolean isSmallImage()
Description copied from interface: JournalTemplateModel
Determines whether this journal template is small image.

Specified by:
isSmallImage in interface JournalTemplateModel
Returns:
whether this journal template is small image

setSmallImage

public void setSmallImage(boolean smallImage)
Description copied from interface: JournalTemplateModel
Sets whether this {$entity.humanName} is small image.

Specified by:
setSmallImage in interface JournalTemplateModel
Parameters:
smallImage - the small image of this journal template

getSmallImageId

public long getSmallImageId()
Description copied from interface: JournalTemplateModel
Gets the small image id of this journal template.

Specified by:
getSmallImageId in interface JournalTemplateModel
Returns:
the small image id of this journal template

setSmallImageId

public void setSmallImageId(long smallImageId)
Description copied from interface: JournalTemplateModel
Sets the small image id of this journal template.

Specified by:
setSmallImageId in interface JournalTemplateModel
Parameters:
smallImageId - the small image id of this journal template

getSmallImageURL

public String getSmallImageURL()
Description copied from interface: JournalTemplateModel
Gets the small image u r l of this journal template.

Specified by:
getSmallImageURL in interface JournalTemplateModel
Returns:
the small image u r l of this journal template

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Description copied from interface: JournalTemplateModel
Sets the small image u r l of this journal template.

Specified by:
setSmallImageURL in interface JournalTemplateModel
Parameters:
smallImageURL - the small image u r l of this journal template

toEscapedModel

public JournalTemplate toEscapedModel()
Description copied from interface: JournalTemplateModel
Gets a copy of this journal template as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface JournalTemplateModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<JournalTemplate>
Specified by:
isNew in interface JournalTemplateModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<JournalTemplate>
Specified by:
setNew in interface JournalTemplateModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<JournalTemplate>
Specified by:
isCachedModel in interface JournalTemplateModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<JournalTemplate>
Specified by:
setCachedModel in interface JournalTemplateModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<JournalTemplate>
Specified by:
isEscapedModel in interface JournalTemplateModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<JournalTemplate>
Specified by:
setEscapedModel in interface JournalTemplateModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<JournalTemplate>
Specified by:
getPrimaryKeyObj in interface JournalTemplateModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<JournalTemplate>
Specified by:
getExpandoBridge in interface JournalTemplateModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<JournalTemplate>
Specified by:
setExpandoBridgeAttributes in interface JournalTemplateModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<JournalTemplate>
Specified by:
clone in interface JournalTemplateModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(JournalTemplate journalTemplate)
Specified by:
compareTo in interface JournalTemplateModel
Specified by:
compareTo in interface Comparable<JournalTemplate>

hashCode

public int hashCode()
Specified by:
hashCode in interface JournalTemplateModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface JournalTemplateModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<JournalTemplate>
Specified by:
toXmlString in interface JournalTemplateModel
Returns:
the XML representation of this model instance

getSmallImageType

public String getSmallImageType()
                         throws PortalException,
                                SystemException
Specified by:
getSmallImageType in interface JournalTemplate
Throws:
PortalException
SystemException

setSmallImageType

public void setSmallImageType(String smallImageType)
Specified by:
setSmallImageType in interface JournalTemplate

getWrappedJournalTemplate

public JournalTemplate getWrappedJournalTemplate()

Liferay 6.0.5