Liferay 6.2-ce-ga5

com.liferay.portlet.journal.model
Class JournalTemplateAdapter

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

public class JournalTemplateAdapter
extends Object
implements JournalTemplate

See Also:
Serialized Form

Constructor Summary
JournalTemplateAdapter(DDMTemplate ddmTemplate)
           
 
Method Summary
 Object clone()
           
 int compareTo(JournalTemplate journalTemplate)
           
 boolean equals(Object obj)
           
protected  Image fetchSmallImage()
           
 boolean getCacheable()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getDescription()
           
 String getDescription(Locale locale)
           
 String getDescription(Locale locale, boolean useDefault)
           
 String getDescription(String languageId)
           
 String getDescription(String languageId, boolean useDefault)
           
 String getDescriptionCurrentLanguageId()
           
 String getDescriptionCurrentValue()
           
 Map<Locale,String> getDescriptionMap()
           
 ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 long getId()
           
 String getLangType()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
           
 String getName()
           
 String getName(Locale locale)
           
 String getName(Locale locale, boolean useDefault)
           
 String getName(String languageId)
           
 String getName(String languageId, boolean useDefault)
           
 String getNameCurrentLanguageId()
           
 String getNameCurrentValue()
           
 Map<Locale,String> getNameMap()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 boolean getSmallImage()
           
 File getSmallImageFile()
           
protected  File getSmallImageFile(byte[] bytes)
           
 long getSmallImageId()
           
 String getSmallImageType()
           
 String getSmallImageURL()
           
 String getStructureId()
           
 String getTemplateId()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 String getUuid()
           
 String getXsl()
           
 int hashCode()
           
 boolean isCacheable()
           
 boolean isNew()
           
 boolean isSmallImage()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void setCacheable(boolean cacheable)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setDescription(String description)
           
 void setDescription(String description, Locale locale)
           
 void setDescription(String description, Locale locale, Locale defaultLocale)
           
 void setDescriptionCurrentLanguageId(String languageId)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 void setExpandoBridgeAttributes(JournalTemplate journalTemplate)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setId(long id)
           
 void setLangType(String langType)
           
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
           
 void setName(String name)
           
 void setName(String name, Locale locale)
           
 void setName(String name, Locale locale, Locale defaultLocale)
           
 void setNameCurrentLanguageId(String languageId)
           
 void setNameMap(Map<Locale,String> nameMap)
           
 void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
           
 void setNew(boolean n)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setSmallImage(boolean smallImage)
           
 void setSmallImageId(long smallImageId)
           
 void setSmallImageType(String smallImageType)
           
 void setSmallImageURL(String smallImageURL)
           
 void setStructureId(String structureId)
           
 void setTemplateId(String templateId)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 void setXsl(String xsl)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JournalTemplateAdapter

public JournalTemplateAdapter(DDMTemplate ddmTemplate)
Method Detail

clone

public Object clone()
Specified by:
clone in interface JournalTemplate
Overrides:
clone in class Object

compareTo

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

equals

public boolean equals(Object obj)
Specified by:
equals in interface JournalTemplate
Overrides:
equals in class Object

getCacheable

public boolean getCacheable()
Specified by:
getCacheable in interface JournalTemplate

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface JournalTemplate

getCreateDate

public Date getCreateDate()
Specified by:
getCreateDate in interface JournalTemplate

getDescription

public String getDescription()
Specified by:
getDescription in interface JournalTemplate

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface JournalTemplate

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Specified by:
getDescription in interface JournalTemplate

getDescription

public String getDescription(String languageId)
Specified by:
getDescription in interface JournalTemplate

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Specified by:
getDescription in interface JournalTemplate

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface JournalTemplate

getDescriptionCurrentValue

public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface JournalTemplate

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Specified by:
getDescriptionMap in interface JournalTemplate

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface JournalTemplate

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface JournalTemplate

getId

public long getId()
Specified by:
getId in interface JournalTemplate

getLangType

public String getLangType()
Specified by:
getLangType in interface JournalTemplate

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface JournalTemplate

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface JournalTemplate

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface JournalTemplate

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface JournalTemplate

getName

public String getName()
Specified by:
getName in interface JournalTemplate

getName

public String getName(Locale locale)
Specified by:
getName in interface JournalTemplate

getName

public String getName(Locale locale,
                      boolean useDefault)
Specified by:
getName in interface JournalTemplate

getName

public String getName(String languageId)
Specified by:
getName in interface JournalTemplate

getName

public String getName(String languageId,
                      boolean useDefault)
Specified by:
getName in interface JournalTemplate

getNameCurrentLanguageId

public String getNameCurrentLanguageId()
Specified by:
getNameCurrentLanguageId in interface JournalTemplate

getNameCurrentValue

public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface JournalTemplate

getNameMap

public Map<Locale,String> getNameMap()
Specified by:
getNameMap in interface JournalTemplate

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface JournalTemplate

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface JournalTemplate

getSmallImage

public boolean getSmallImage()
Specified by:
getSmallImage in interface JournalTemplate

getSmallImageFile

public File getSmallImageFile()
                       throws PortalException,
                              SystemException
Specified by:
getSmallImageFile in interface JournalTemplate
Throws:
PortalException
SystemException

getSmallImageId

public long getSmallImageId()
Specified by:
getSmallImageId in interface JournalTemplate

getSmallImageType

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

getSmallImageURL

public String getSmallImageURL()
Specified by:
getSmallImageURL in interface JournalTemplate

getStructureId

public String getStructureId()
Specified by:
getStructureId in interface JournalTemplate

getTemplateId

public String getTemplateId()
Specified by:
getTemplateId in interface JournalTemplate

getUserId

public long getUserId()
Specified by:
getUserId in interface JournalTemplate

getUserName

public String getUserName()
Specified by:
getUserName in interface JournalTemplate

getUserUuid

public String getUserUuid()
                   throws SystemException
Specified by:
getUserUuid in interface JournalTemplate
Throws:
SystemException

getUuid

public String getUuid()
Specified by:
getUuid in interface JournalTemplate

getXsl

public String getXsl()
Specified by:
getXsl in interface JournalTemplate

hashCode

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

isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface JournalTemplate

isNew

public boolean isNew()
Specified by:
isNew in interface JournalTemplate

isSmallImage

public boolean isSmallImage()
Specified by:
isSmallImage in interface JournalTemplate

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface JournalTemplate
Throws:
LocaleException

setCacheable

public void setCacheable(boolean cacheable)
Specified by:
setCacheable in interface JournalTemplate

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface JournalTemplate

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface JournalTemplate

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface JournalTemplate

setDescription

public void setDescription(String description,
                           Locale locale)
Specified by:
setDescription in interface JournalTemplate

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Specified by:
setDescription in interface JournalTemplate

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface JournalTemplate

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Specified by:
setDescriptionMap in interface JournalTemplate

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Specified by:
setDescriptionMap in interface JournalTemplate

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface JournalTemplate

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(JournalTemplate journalTemplate)
Specified by:
setExpandoBridgeAttributes in interface JournalTemplate

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface JournalTemplate

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface JournalTemplate

setId

public void setId(long id)
Specified by:
setId in interface JournalTemplate

setLangType

public void setLangType(String langType)
Specified by:
setLangType in interface JournalTemplate

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface JournalTemplate

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface JournalTemplate

setName

public void setName(String name)
Specified by:
setName in interface JournalTemplate

setName

public void setName(String name,
                    Locale locale)
Specified by:
setName in interface JournalTemplate

setName

public void setName(String name,
                    Locale locale,
                    Locale defaultLocale)
Specified by:
setName in interface JournalTemplate

setNameCurrentLanguageId

public void setNameCurrentLanguageId(String languageId)
Specified by:
setNameCurrentLanguageId in interface JournalTemplate

setNameMap

public void setNameMap(Map<Locale,String> nameMap)
Specified by:
setNameMap in interface JournalTemplate

setNameMap

public void setNameMap(Map<Locale,String> nameMap,
                       Locale defaultLocale)
Specified by:
setNameMap in interface JournalTemplate

setNew

public void setNew(boolean n)
Specified by:
setNew in interface JournalTemplate

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface JournalTemplate

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface JournalTemplate

setSmallImage

public void setSmallImage(boolean smallImage)
Specified by:
setSmallImage in interface JournalTemplate

setSmallImageId

public void setSmallImageId(long smallImageId)
Specified by:
setSmallImageId in interface JournalTemplate

setSmallImageType

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

setSmallImageURL

public void setSmallImageURL(String smallImageURL)
Specified by:
setSmallImageURL in interface JournalTemplate

setStructureId

public void setStructureId(String structureId)
Specified by:
setStructureId in interface JournalTemplate

setTemplateId

public void setTemplateId(String templateId)
Specified by:
setTemplateId in interface JournalTemplate

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface JournalTemplate

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface JournalTemplate

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface JournalTemplate

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface JournalTemplate

setXsl

public void setXsl(String xsl)
Specified by:
setXsl in interface JournalTemplate

toString

public String toString()
Overrides:
toString in class Object

fetchSmallImage

protected Image fetchSmallImage()
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getSmallImageFile

protected File getSmallImageFile(byte[] bytes)

Liferay 6.2-ce-ga5