|
Liferay 6.2.0-ce-m3 | |||||||||
| 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()
Returns the cacheable of this journal template. |
long |
getCompanyId()
Returns the company ID of this journal template. |
Date |
getCreateDate()
Returns the create date of this journal template. |
String |
getDescription()
Returns the description of this journal template. |
String |
getDescription(Locale locale)
Returns the localized description of this journal template in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this journal template in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescription(String languageId)
Returns the localized description of this journal template in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this journal template in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this journal template. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this journal template. |
long |
getId()
Returns the ID of this journal template. |
String |
getLangType()
Returns the lang type of this journal template. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this journal template. |
String |
getName()
Returns the name of this journal template. |
String |
getName(Locale locale)
Returns the localized name of this journal template in the language. |
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this journal template in the language, optionally using the default language if no localization exists for the requested language. |
String |
getName(String languageId)
Returns the localized name of this journal template in the language. |
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this journal template in the language, optionally using the default language if no localization exists for the requested language. |
String |
getNameCurrentLanguageId()
|
String |
getNameCurrentValue()
|
Map<Locale,String> |
getNameMap()
Returns a map of the locales and localized names of this journal template. |
long |
getPrimaryKey()
Returns the primary key of this journal template. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
boolean |
getSmallImage()
Returns the small image of this journal template. |
long |
getSmallImageId()
Returns the small image ID of this journal template. |
String |
getSmallImageType()
|
String |
getSmallImageURL()
Returns the small image u r l of this journal template. |
String |
getStructureId()
Returns the structure ID of this journal template. |
String |
getTemplateId()
Returns the template ID of this journal template. |
long |
getUserId()
Returns the user ID of this journal template. |
String |
getUserName()
Returns the user name of this journal template. |
String |
getUserUuid()
Returns the user uuid of this journal template. |
String |
getUuid()
Returns the uuid of this journal template. |
JournalTemplate |
getWrappedJournalTemplate()
Deprecated. Renamed to getWrappedModel() |
JournalTemplate |
getWrappedModel()
|
String |
getXsl()
Returns the xsl of this journal template. |
int |
hashCode()
|
boolean |
isCacheable()
Returns true 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()
Returns true 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 |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
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 |
setDescription(String description,
Locale locale)
Sets the localized description of this journal template in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this journal template in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this journal template from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this journal template from the map of locales and localized descriptions, and sets the default locale. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this journal template. |
void |
setName(String name)
Sets the name of this journal template. |
void |
setName(String name,
Locale locale)
Sets the localized name of this journal template in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this journal template in the language, and sets the default locale. |
void |
setNameCurrentLanguageId(String languageId)
|
void |
setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this journal template from the map of locales and localized names. |
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this journal template from the map of locales and localized names, and sets the default locale. |
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()
|
JournalTemplate |
toUnescapedModel()
|
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 Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<JournalTemplate>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<JournalTemplate>public 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 StagedModelgetUuid 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 String getName(Locale locale)
getName in interface JournalTemplateModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
getName in interface JournalTemplateModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getName(String languageId)
getName in interface JournalTemplateModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
getName in interface JournalTemplateModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface JournalTemplateModelpublic String getNameCurrentValue()
getNameCurrentValue in interface JournalTemplateModelpublic Map<Locale,String> getNameMap()
getNameMap in interface JournalTemplateModelpublic void setName(String name)
setName in interface JournalTemplateModelname - the name of this journal template
public void setName(String name,
Locale locale)
setName in interface JournalTemplateModelname - the localized name of this journal templatelocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
setName in interface JournalTemplateModelname - the localized name of this journal templatelocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface JournalTemplateModelpublic void setNameMap(Map<Locale,String> nameMap)
setNameMap in interface JournalTemplateModelnameMap - the locales and localized names of this journal template
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
setNameMap in interface JournalTemplateModelnameMap - the locales and localized names of this journal templatedefaultLocale - the default localepublic String getDescription()
getDescription in interface JournalTemplateModelpublic String getDescription(Locale locale)
getDescription in interface JournalTemplateModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
getDescription in interface JournalTemplateModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getDescription(String languageId)
getDescription in interface JournalTemplateModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
getDescription in interface JournalTemplateModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface JournalTemplateModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface JournalTemplateModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface JournalTemplateModelpublic void setDescription(String description)
setDescription in interface JournalTemplateModeldescription - the description of this journal template
public void setDescription(String description,
Locale locale)
setDescription in interface JournalTemplateModeldescription - the localized description of this journal templatelocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
setDescription in interface JournalTemplateModeldescription - the localized description of this journal templatelocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface JournalTemplateModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface JournalTemplateModeldescriptionMap - the locales and localized descriptions of this journal template
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
setDescriptionMap in interface JournalTemplateModeldescriptionMap - the locales and localized descriptions of this journal templatedefaultLocale - the default localepublic 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()
true if this journal template is cacheable.
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()
true if this journal template is small image.
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 otherwisepublic 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 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface JournalTemplateModelLocaleExceptionpublic 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 JournalTemplate toUnescapedModel()
toUnescapedModel in interface BaseModel<JournalTemplate>toUnescapedModel in interface JournalTemplateModelpublic 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()
getWrappedModel()
public JournalTemplate getWrappedModel()
getWrappedModel in interface ModelWrapper<JournalTemplate>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<JournalTemplate>
|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||