Class KaleoDefinitionWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoDefinition>
com.liferay.portal.workflow.kaleo.model.KaleoDefinitionWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<KaleoDefinition>
,com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<KaleoDefinition>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,KaleoDefinition
,KaleoDefinitionModel
,Serializable
,Cloneable
,Comparable<KaleoDefinition>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.workflow.kaleo.model.KaleoDefinition
KALEO_DEFINITION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this kaleo definition.String[]
long
Returns the company ID of this kaleo definition.Returns the content of this kaleo definition.Returns the create date of this kaleo definition.long
Returns the ct collection ID of this kaleo definition.Returns the description of this kaleo definition.Returns the external reference code of this kaleo definition.long
Returns the group ID of this kaleo definition.long
Returns the kaleo definition ID of this kaleo definition.Returns the modified date of this kaleo definition.long
Returns the mvcc version of this kaleo definition.getName()
Returns the name of this kaleo definition.long
Returns the primary key of this kaleo definition.getScope()
Returns the scope of this kaleo definition.com.liferay.exportimport.kernel.lar.StagedModelType
getTitle()
Returns the title of this kaleo definition.Returns the localized title of this kaleo definition in the language.Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.Returns the localized title of this kaleo definition in the language.Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized titles of this kaleo definition.long
Returns the user ID of this kaleo definition.Returns the user name of this kaleo definition.Returns the user uuid of this kaleo definition.getUuid()
Returns the uuid of this kaleo definition.int
Returns the version of this kaleo definition.boolean
isActive()
Returnstrue
if this kaleo definition is active.void
persist()
void
void
prepareLocalizedFieldsForImport
(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
(String content) Sets the content of this kaleo definition.void
setCreateDate
(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
(String description) Sets the description of this kaleo definition.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code 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
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this kaleo definition.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this kaleo definition.void
Sets the name of this kaleo definition.void
setPrimaryKey
(long primaryKey) Sets the primary key of this kaleo definition.void
Sets the scope of this kaleo definition.void
Sets the title of this kaleo definition.void
Sets the localized title of this kaleo definition in the language.void
Sets the localized title of this kaleo definition in the language, and sets the default locale.void
setTitleCurrentLanguageId
(String languageId) void
setTitleMap
(Map<Locale, String> titleMap) Sets the localized titles of this kaleo definition from the map of locales and localized titles.void
setTitleMap
(Map<Locale, String> titleMap, 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
(String userName) Sets the user name of this kaleo definition.void
setUserUuid
(String userUuid) Sets the user uuid of this kaleo definition.void
Sets the uuid of this kaleo definition.void
setVersion
(int version) Sets the version of this kaleo definition.protected KaleoDefinitionWrapper
wrap
(KaleoDefinition kaleoDefinition) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
KaleoDefinitionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoDefinition>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoDefinition>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoDefinition>
- Specified by:
cloneWithOriginalValues
in interfaceKaleoDefinitionModel
-
getActive
public boolean getActive()Returns the active of this kaleo definition.- Specified by:
getActive
in interfaceKaleoDefinitionModel
- Returns:
- the active of this kaleo definition
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceKaleoDefinitionModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this kaleo definition.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceKaleoDefinitionModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this kaleo definition
-
getContent
Returns the content of this kaleo definition.- Specified by:
getContent
in interfaceKaleoDefinitionModel
- Returns:
- the content of this kaleo definition
-
getContentAsXML
- Specified by:
getContentAsXML
in interfaceKaleoDefinition
-
getCreateDate
Returns the create date of this kaleo definition.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceKaleoDefinitionModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this kaleo definition
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this kaleo definition.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>
- Specified by:
getCtCollectionId
in interfaceKaleoDefinitionModel
- Returns:
- the ct collection ID of this kaleo definition
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceKaleoDefinitionModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this kaleo definition.- Specified by:
getDescription
in interfaceKaleoDefinitionModel
- Returns:
- the description of this kaleo definition
-
getExternalReferenceCode
Returns the external reference code of this kaleo definition.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceKaleoDefinitionModel
- Returns:
- the external reference code of this kaleo definition
-
getGroupId
public long getGroupId()Returns the group ID of this kaleo definition.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceKaleoDefinitionModel
- Returns:
- the group ID of this kaleo definition
-
getKaleoDefinitionId
public long getKaleoDefinitionId()Returns the kaleo definition ID of this kaleo definition.- Specified by:
getKaleoDefinitionId
in interfaceKaleoDefinitionModel
- Returns:
- the kaleo definition ID of this kaleo definition
-
getKaleoDefinitionVersions
public List<KaleoDefinitionVersion> getKaleoDefinitionVersions() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getKaleoDefinitionVersions
in interfaceKaleoDefinition
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getModifiedDate
Returns the modified date of this kaleo definition.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceKaleoDefinitionModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this kaleo definition
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this kaleo definition.- Specified by:
getMvccVersion
in interfaceKaleoDefinitionModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this kaleo definition
-
getName
Returns the name of this kaleo definition.- Specified by:
getName
in interfaceKaleoDefinitionModel
- Returns:
- the name of this kaleo definition
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this kaleo definition.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>
- Specified by:
getPrimaryKey
in interfaceKaleoDefinitionModel
- Returns:
- the primary key of this kaleo definition
-
getScope
Returns the scope of this kaleo definition.- Specified by:
getScope
in interfaceKaleoDefinitionModel
- Returns:
- the scope of this kaleo definition
-
getTitle
Returns the title of this kaleo definition.- Specified by:
getTitle
in interfaceKaleoDefinitionModel
- Returns:
- the title of this kaleo definition
-
getTitle
Returns the localized title of this kaleo definition in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getTitle
in interfaceKaleoDefinitionModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized title of this kaleo definition
-
getTitle
Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getTitle
in interfaceKaleoDefinitionModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this kaleo definition. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getTitle
Returns the localized title of this kaleo definition in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getTitle
in interfaceKaleoDefinitionModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized title of this kaleo definition
-
getTitle
Returns the localized title of this kaleo definition in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getTitle
in interfaceKaleoDefinitionModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized title of this kaleo definition
-
getTitleCurrentLanguageId
- Specified by:
getTitleCurrentLanguageId
in interfaceKaleoDefinitionModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValue
in interfaceKaleoDefinitionModel
-
getTitleMap
Returns a map of the locales and localized titles of this kaleo definition.- Specified by:
getTitleMap
in interfaceKaleoDefinitionModel
- Returns:
- the locales and localized titles of this kaleo definition
-
getUserId
public long getUserId()Returns the user ID of this kaleo definition.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceKaleoDefinitionModel
- Returns:
- the user ID of this kaleo definition
-
getUserName
Returns the user name of this kaleo definition.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceKaleoDefinitionModel
- Returns:
- the user name of this kaleo definition
-
getUserUuid
Returns the user uuid of this kaleo definition.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceKaleoDefinitionModel
- Returns:
- the user uuid of this kaleo definition
-
getUuid
Returns the uuid of this kaleo definition.- Specified by:
getUuid
in interfaceKaleoDefinitionModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this kaleo definition
-
getVersion
public int getVersion()Returns the version of this kaleo definition.- Specified by:
getVersion
in interfaceKaleoDefinitionModel
- Returns:
- the version of this kaleo definition
-
isActive
public boolean isActive()Returnstrue
if this kaleo definition is active.- Specified by:
isActive
in interfaceKaleoDefinitionModel
- Returns:
true
if this kaleo definition is active;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceKaleoDefinitionModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceKaleoDefinitionModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setActive
public void setActive(boolean active) Sets whether this kaleo definition is active.- Specified by:
setActive
in interfaceKaleoDefinitionModel
- Parameters:
active
- the active of this kaleo definition
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this kaleo definition.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceKaleoDefinitionModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this kaleo definition
-
setContent
Sets the content of this kaleo definition.- Specified by:
setContent
in interfaceKaleoDefinitionModel
- Parameters:
content
- the content of this kaleo definition
-
setCreateDate
Sets the create date of this kaleo definition.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceKaleoDefinitionModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this kaleo definition
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kaleo definition.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>
- Specified by:
setCtCollectionId
in interfaceKaleoDefinitionModel
- Parameters:
ctCollectionId
- the ct collection ID of this kaleo definition
-
setDescription
Sets the description of this kaleo definition.- Specified by:
setDescription
in interfaceKaleoDefinitionModel
- Parameters:
description
- the description of this kaleo definition
-
setExternalReferenceCode
Sets the external reference code of this kaleo definition.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceKaleoDefinitionModel
- Parameters:
externalReferenceCode
- the external reference code of this kaleo definition
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this kaleo definition.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceKaleoDefinitionModel
- Parameters:
groupId
- the group ID of this kaleo definition
-
setKaleoDefinitionId
public void setKaleoDefinitionId(long kaleoDefinitionId) Sets the kaleo definition ID of this kaleo definition.- Specified by:
setKaleoDefinitionId
in interfaceKaleoDefinitionModel
- Parameters:
kaleoDefinitionId
- the kaleo definition ID of this kaleo definition
-
setModifiedDate
Sets the modified date of this kaleo definition.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceKaleoDefinitionModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this kaleo definition
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this kaleo definition.- Specified by:
setMvccVersion
in interfaceKaleoDefinitionModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this kaleo definition
-
setName
Sets the name of this kaleo definition.- Specified by:
setName
in interfaceKaleoDefinitionModel
- Parameters:
name
- the name of this kaleo definition
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this kaleo definition.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoDefinition>
- Specified by:
setPrimaryKey
in interfaceKaleoDefinitionModel
- Parameters:
primaryKey
- the primary key of this kaleo definition
-
setScope
Sets the scope of this kaleo definition.- Specified by:
setScope
in interfaceKaleoDefinitionModel
- Parameters:
scope
- the scope of this kaleo definition
-
setTitle
Sets the title of this kaleo definition.- Specified by:
setTitle
in interfaceKaleoDefinitionModel
- Parameters:
title
- the title of this kaleo definition
-
setTitle
Sets the localized title of this kaleo definition in the language.- Specified by:
setTitle
in interfaceKaleoDefinitionModel
- Parameters:
title
- the localized title of this kaleo definitionlocale
- the locale of the language
-
setTitle
Sets the localized title of this kaleo definition in the language, and sets the default locale.- Specified by:
setTitle
in interfaceKaleoDefinitionModel
- Parameters:
title
- the localized title of this kaleo definitionlocale
- the locale of the languagedefaultLocale
- the default locale
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageId
in interfaceKaleoDefinitionModel
-
setTitleMap
Sets the localized titles of this kaleo definition from the map of locales and localized titles.- Specified by:
setTitleMap
in interfaceKaleoDefinitionModel
- Parameters:
titleMap
- the locales and localized titles of this kaleo definition
-
setTitleMap
Sets the localized titles of this kaleo definition from the map of locales and localized titles, and sets the default locale.- Specified by:
setTitleMap
in interfaceKaleoDefinitionModel
- Parameters:
titleMap
- the locales and localized titles of this kaleo definitiondefaultLocale
- the default locale
-
setUserId
public void setUserId(long userId) Sets the user ID of this kaleo definition.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceKaleoDefinitionModel
- Parameters:
userId
- the user ID of this kaleo definition
-
setUserName
Sets the user name of this kaleo definition.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceKaleoDefinitionModel
- Parameters:
userName
- the user name of this kaleo definition
-
setUserUuid
Sets the user uuid of this kaleo definition.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceKaleoDefinitionModel
- Parameters:
userUuid
- the user uuid of this kaleo definition
-
setUuid
Sets the uuid of this kaleo definition.- Specified by:
setUuid
in interfaceKaleoDefinitionModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this kaleo definition
-
setVersion
public void setVersion(int version) Sets the version of this kaleo definition.- Specified by:
setVersion
in interfaceKaleoDefinitionModel
- Parameters:
version
- the version of this kaleo definition
-
toXmlString
- Specified by:
toXmlString
in interfaceKaleoDefinitionModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoDefinition>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoDefinition>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoDefinition>
-