public class KaleoDefinitionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoDefinition> implements KaleoDefinition, com.liferay.portal.kernel.model.ModelWrapper<KaleoDefinition>
This class is a wrapper for KaleoDefinition.
KaleoDefinition,
Serialized FormKALEO_DEFINITION_ID_ACCESSOR| Constructor and Description |
|---|
KaleoDefinitionWrapper(KaleoDefinition kaleoDefinition) |
| Modifier and Type | Method and Description |
|---|---|
KaleoDefinition |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this kaleo definition.
|
java.util.Map<java.lang.String,java.util.function.Function<KaleoDefinition,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<KaleoDefinition,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this kaleo definition.
|
java.lang.String |
getContent()
Returns the content of this kaleo definition.
|
java.util.Date |
getCreateDate()
Returns the create date of this kaleo definition.
|
long |
getCtCollectionId()
Returns the ct collection ID of this kaleo definition.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this kaleo definition.
|
long |
getGroupId()
Returns the group ID of this kaleo definition.
|
long |
getKaleoDefinitionId()
Returns the kaleo definition ID of this kaleo definition.
|
java.util.List<KaleoDefinitionVersion> |
getKaleoDefinitionVersions() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this kaleo definition.
|
long |
getMvccVersion()
Returns the mvcc version of this kaleo definition.
|
java.lang.String |
getName()
Returns the name of this kaleo definition.
|
long |
getPrimaryKey()
Returns the primary key of this kaleo definition.
|
java.lang.String |
getScope()
Returns the scope of this kaleo definition.
|
java.lang.String |
getTitle()
Returns the title of this kaleo definition.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this kaleo definition in the language.
|
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault)
Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this kaleo definition in the language.
|
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault)
Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this kaleo definition.
|
long |
getUserId()
Returns the user ID of this kaleo definition.
|
java.lang.String |
getUserName()
Returns the user name of this kaleo definition.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kaleo definition.
|
int |
getVersion()
Returns the version of this kaleo definition.
|
boolean |
isActive()
Returns
true if this kaleo definition is active. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setActive(boolean active)
Sets whether this kaleo definition is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this kaleo definition.
|
void |
setContent(java.lang.String content)
Sets the content of this kaleo definition.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kaleo definition.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this kaleo definition.
|
void |
setDescription(java.lang.String description)
Sets the description of this kaleo definition.
|
void |
setGroupId(long groupId)
Sets the group ID of this kaleo definition.
|
void |
setKaleoDefinitionId(long kaleoDefinitionId)
Sets the kaleo definition ID of this kaleo definition.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this kaleo definition.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kaleo definition.
|
void |
setName(java.lang.String name)
Sets the name of this kaleo definition.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kaleo definition.
|
void |
setScope(java.lang.String scope)
Sets the scope of this kaleo definition.
|
void |
setTitle(java.lang.String title)
Sets the title of this kaleo definition.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this kaleo definition in the language.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized title of this kaleo definition in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this kaleo definition from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
Sets the localized titles of this kaleo definition from the map of locales and localized titles, and sets the default locale.
|
void |
setUserId(long userId)
Sets the user ID of this kaleo definition.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kaleo definition.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kaleo definition.
|
void |
setVersion(int version)
Sets the version of this kaleo definition.
|
java.lang.String |
toXmlString() |
protected KaleoDefinitionWrapper |
wrap(KaleoDefinition kaleoDefinition) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic KaleoDefinitionWrapper(KaleoDefinition kaleoDefinition)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KaleoDefinition>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KaleoDefinition>public KaleoDefinition cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KaleoDefinition>cloneWithOriginalValues in interface KaleoDefinitionModelpublic boolean getActive()
getActive in interface KaleoDefinitionModelpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelgetAvailableLanguageIds in interface KaleoDefinitionModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface KaleoDefinitionModelpublic java.lang.String getContent()
getContent in interface KaleoDefinitionModelpublic java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface KaleoDefinitionModelpublic long getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>getCtCollectionId in interface KaleoDefinitionModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelgetDefaultLanguageId in interface KaleoDefinitionModelpublic java.lang.String getDescription()
getDescription in interface KaleoDefinitionModelpublic long getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelgetGroupId in interface KaleoDefinitionModelpublic long getKaleoDefinitionId()
getKaleoDefinitionId in interface KaleoDefinitionModelpublic java.util.List<KaleoDefinitionVersion> getKaleoDefinitionVersions() throws com.liferay.portal.kernel.exception.PortalException
getKaleoDefinitionVersions in interface KaleoDefinitioncom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface KaleoDefinitionModelpublic long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion in interface KaleoDefinitionModelpublic java.lang.String getName()
getName in interface KaleoDefinitionModelpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>getPrimaryKey in interface KaleoDefinitionModelpublic java.lang.String getScope()
getScope in interface KaleoDefinitionModelpublic java.lang.String getTitle()
getTitle in interface KaleoDefinitionModelpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface KaleoDefinitionModellocale - the locale of the languagepublic java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
getTitle in interface KaleoDefinitionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getTitle(java.lang.String languageId)
getTitle in interface KaleoDefinitionModellanguageId - the ID of the languagepublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
getTitle in interface KaleoDefinitionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface KaleoDefinitionModelpublic java.lang.String getTitleCurrentValue()
getTitleCurrentValue in interface KaleoDefinitionModelpublic java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap in interface KaleoDefinitionModelpublic long getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelgetUserId in interface KaleoDefinitionModelpublic java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelgetUserName in interface KaleoDefinitionModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelgetUserUuid in interface KaleoDefinitionModelpublic int getVersion()
getVersion in interface KaleoDefinitionModelpublic boolean isActive()
true if this kaleo definition is active.isActive in interface KaleoDefinitionModeltrue if this kaleo definition is active; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelprepareLocalizedFieldsForImport in interface KaleoDefinitionModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelprepareLocalizedFieldsForImport in interface KaleoDefinitionModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setActive(boolean active)
setActive in interface KaleoDefinitionModelactive - the active of this kaleo definitionpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface KaleoDefinitionModelcompanyId - the company ID of this kaleo definitionpublic void setContent(java.lang.String content)
setContent in interface KaleoDefinitionModelcontent - the content of this kaleo definitionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface KaleoDefinitionModelcreateDate - the create date of this kaleo definitionpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>setCtCollectionId in interface KaleoDefinitionModelctCollectionId - the ct collection ID of this kaleo definitionpublic void setDescription(java.lang.String description)
setDescription in interface KaleoDefinitionModeldescription - the description of this kaleo definitionpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelsetGroupId in interface KaleoDefinitionModelgroupId - the group ID of this kaleo definitionpublic void setKaleoDefinitionId(long kaleoDefinitionId)
setKaleoDefinitionId in interface KaleoDefinitionModelkaleoDefinitionId - the kaleo definition ID of this kaleo definitionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface KaleoDefinitionModelmodifiedDate - the modified date of this kaleo definitionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelsetMvccVersion in interface KaleoDefinitionModelmvccVersion - the mvcc version of this kaleo definitionpublic void setName(java.lang.String name)
setName in interface KaleoDefinitionModelname - the name of this kaleo definitionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>setPrimaryKey in interface KaleoDefinitionModelprimaryKey - the primary key of this kaleo definitionpublic void setScope(java.lang.String scope)
setScope in interface KaleoDefinitionModelscope - the scope of this kaleo definitionpublic void setTitle(java.lang.String title)
setTitle in interface KaleoDefinitionModeltitle - the title of this kaleo definitionpublic void setTitle(java.lang.String title,
java.util.Locale locale)
setTitle in interface KaleoDefinitionModeltitle - the localized title of this kaleo definitionlocale - the locale of the languagepublic void setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
setTitle in interface KaleoDefinitionModeltitle - the localized title of this kaleo definitionlocale - the locale of the languagedefaultLocale - the default localepublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId in interface KaleoDefinitionModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap in interface KaleoDefinitionModeltitleMap - the locales and localized titles of this kaleo definitionpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
setTitleMap in interface KaleoDefinitionModeltitleMap - the locales and localized titles of this kaleo definitiondefaultLocale - the default localepublic void setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModelsetUserId in interface KaleoDefinitionModeluserId - the user ID of this kaleo definitionpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModelsetUserName in interface KaleoDefinitionModeluserName - the user name of this kaleo definitionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModelsetUserUuid in interface KaleoDefinitionModeluserUuid - the user uuid of this kaleo definitionpublic void setVersion(int version)
setVersion in interface KaleoDefinitionModelversion - the version of this kaleo definitionpublic java.lang.String toXmlString()
toXmlString in interface KaleoDefinitionModelpublic java.util.Map<java.lang.String,java.util.function.Function<KaleoDefinition,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<KaleoDefinition>public java.util.Map<java.lang.String,java.util.function.BiConsumer<KaleoDefinition,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<KaleoDefinition>protected KaleoDefinitionWrapper wrap(KaleoDefinition kaleoDefinition)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoDefinition>