@ProviderType public interface KaleoNodeModel extends com.liferay.portal.kernel.model.BaseModel<KaleoNode>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.workflow.kaleo.model.impl.KaleoNodeImpl
.
KaleoNode
Modifier and Type | Method and Description |
---|---|
KaleoNode |
cloneWithOriginalValues() |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this kaleo node.
|
java.util.Date |
getCreateDate()
Returns the create date of this kaleo node.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this kaleo node.
|
long |
getGroupId()
Returns the group ID of this kaleo node.
|
boolean |
getInitial()
Returns the initial of this kaleo node.
|
long |
getKaleoDefinitionId()
Returns the kaleo definition ID of this kaleo node.
|
long |
getKaleoDefinitionVersionId()
Returns the kaleo definition version ID of this kaleo node.
|
long |
getKaleoNodeId()
Returns the kaleo node ID of this kaleo node.
|
java.lang.String |
getLabel()
Returns the label of this kaleo node.
|
java.lang.String |
getLabel(java.util.Locale locale)
Returns the localized label of this kaleo node in the language.
|
java.lang.String |
getLabel(java.util.Locale locale,
boolean useDefault)
Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getLabel(java.lang.String languageId)
Returns the localized label of this kaleo node in the language.
|
java.lang.String |
getLabel(java.lang.String languageId,
boolean useDefault)
Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getLabelCurrentLanguageId() |
java.lang.String |
getLabelCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getLabelMap()
Returns a map of the locales and localized labels of this kaleo node.
|
java.lang.String |
getMetadata()
Returns the metadata of this kaleo node.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this kaleo node.
|
long |
getMvccVersion()
Returns the mvcc version of this kaleo node.
|
java.lang.String |
getName()
Returns the name of this kaleo node.
|
long |
getPrimaryKey()
Returns the primary key of this kaleo node.
|
boolean |
getTerminal()
Returns the terminal of this kaleo node.
|
java.lang.String |
getType()
Returns the type of this kaleo node.
|
long |
getUserId()
Returns the user ID of this kaleo node.
|
java.lang.String |
getUserName()
Returns the user name of this kaleo node.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kaleo node.
|
boolean |
isInitial()
Returns
true if this kaleo node is initial. |
boolean |
isTerminal()
Returns
true if this kaleo node is terminal. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setCompanyId(long companyId)
Sets the company ID of this kaleo node.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kaleo node.
|
void |
setDescription(java.lang.String description)
Sets the description of this kaleo node.
|
void |
setGroupId(long groupId)
Sets the group ID of this kaleo node.
|
void |
setInitial(boolean initial)
Sets whether this kaleo node is initial.
|
void |
setKaleoDefinitionId(long kaleoDefinitionId)
Sets the kaleo definition ID of this kaleo node.
|
void |
setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Sets the kaleo definition version ID of this kaleo node.
|
void |
setKaleoNodeId(long kaleoNodeId)
Sets the kaleo node ID of this kaleo node.
|
void |
setLabel(java.lang.String label)
Sets the label of this kaleo node.
|
void |
setLabel(java.lang.String label,
java.util.Locale locale)
Sets the localized label of this kaleo node in the language.
|
void |
setLabel(java.lang.String label,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized label of this kaleo node in the language, and sets the default locale.
|
void |
setLabelCurrentLanguageId(java.lang.String languageId) |
void |
setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
Sets the localized labels of this kaleo node from the map of locales and localized labels.
|
void |
setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.util.Locale defaultLocale)
Sets the localized labels of this kaleo node from the map of locales and localized labels, and sets the default locale.
|
void |
setMetadata(java.lang.String metadata)
Sets the metadata of this kaleo node.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this kaleo node.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kaleo node.
|
void |
setName(java.lang.String name)
Sets the name of this kaleo node.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kaleo node.
|
void |
setTerminal(boolean terminal)
Sets whether this kaleo node is terminal.
|
void |
setType(java.lang.String type)
Sets the type of this kaleo node.
|
void |
setUserId(long userId)
Sets the user ID of this kaleo node.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kaleo node.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kaleo node.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this kaleo nodelong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this kaleo nodelong getKaleoNodeId()
void setKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node ID of this kaleo nodelong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this kaleo nodelong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this kaleo nodelong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this kaleo nodejava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this kaleo node@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this kaleo nodejava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this kaleo nodejava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this kaleo nodelong getKaleoDefinitionId()
void setKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition ID of this kaleo nodelong getKaleoDefinitionVersionId()
void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version ID of this kaleo node@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this kaleo nodejava.lang.String getLabel()
@AutoEscape java.lang.String getLabel(java.util.Locale locale)
locale
- the locale of the language@AutoEscape java.lang.String getLabel(java.util.Locale locale, boolean useDefault)
locale
- 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.@AutoEscape java.lang.String getLabel(java.lang.String languageId)
languageId
- the ID of the language@AutoEscape java.lang.String getLabel(java.lang.String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getLabelCurrentLanguageId()
@AutoEscape java.lang.String getLabelCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getLabelMap()
void setLabel(java.lang.String label)
label
- the label of this kaleo nodevoid setLabel(java.lang.String label, java.util.Locale locale)
label
- the localized label of this kaleo nodelocale
- the locale of the languagevoid setLabel(java.lang.String label, java.util.Locale locale, java.util.Locale defaultLocale)
label
- the localized label of this kaleo nodelocale
- the locale of the languagedefaultLocale
- the default localevoid setLabelCurrentLanguageId(java.lang.String languageId)
void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
labelMap
- the locales and localized labels of this kaleo nodevoid setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap, java.util.Locale defaultLocale)
labelMap
- the locales and localized labels of this kaleo nodedefaultLocale
- the default locale@AutoEscape java.lang.String getMetadata()
void setMetadata(java.lang.String metadata)
metadata
- the metadata of this kaleo node@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the description of this kaleo node@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type
- the type of this kaleo nodeboolean getInitial()
boolean isInitial()
true
if this kaleo node is initial.true
if this kaleo node is initial; false
otherwisevoid setInitial(boolean initial)
initial
- the initial of this kaleo nodeboolean getTerminal()
boolean isTerminal()
true
if this kaleo node is terminal.true
if this kaleo node is terminal; false
otherwisevoid setTerminal(boolean terminal)
terminal
- the terminal of this kaleo nodejava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException