Interface KaleoNodeModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<KaleoNode>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<KaleoNode>
,com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.MVCCModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
KaleoNode
- All Known Implementing Classes:
KaleoNodeWrapper
@ProviderType
public interface KaleoNodeModel
extends com.liferay.portal.kernel.model.BaseModel<KaleoNode>, com.liferay.portal.kernel.model.change.tracking.CTModel<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
The base model interface for the KaleoNode service. Represents a row in the "KaleoNode" database table, with each column mapped to a property of this class.
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
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this kaleo node.Returns the create date of this kaleo node.long
Returns the ct collection ID of this kaleo node.Returns the description of this kaleo node.long
Returns the group ID of this kaleo node.boolean
Returns the initial of this kaleo node.long
Returns the kaleo definition ID of this kaleo node.long
Returns the kaleo definition version ID of this kaleo node.long
Returns the kaleo node ID of this kaleo node.getLabel()
Returns the label of this kaleo node.Returns the localized label of this kaleo node in the language.Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.Returns the localized label of this kaleo node in the language.Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized labels of this kaleo node.Returns the metadata of this kaleo node.Returns the modified date of this kaleo node.long
Returns the mvcc version of this kaleo node.getName()
Returns the name of this kaleo node.long
Returns the primary key of this kaleo node.boolean
Returns the terminal of this kaleo node.getType()
Returns the type of this kaleo node.long
Returns the user ID of this kaleo node.Returns the user name of this kaleo node.Returns the user uuid of this kaleo node.boolean
Returnstrue
if this kaleo node is initial.boolean
Returnstrue
if this kaleo node is terminal.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this kaleo node.void
setCreateDate
(Date createDate) Sets the create date of this kaleo node.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this kaleo node.void
setDescription
(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
Sets the label of this kaleo node.void
Sets the localized label of this kaleo node in the language.void
Sets the localized label of this kaleo node in the language, and sets the default locale.void
setLabelCurrentLanguageId
(String languageId) void
setLabelMap
(Map<Locale, String> labelMap) Sets the localized labels of this kaleo node from the map of locales and localized labels.void
setLabelMap
(Map<Locale, String> labelMap, 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
(String metadata) Sets the metadata of this kaleo node.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this kaleo node.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this kaleo node.void
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
Sets the type of this kaleo node.void
setUserId
(long userId) Sets the user ID of this kaleo node.void
setUserName
(String userName) Sets the user name of this kaleo node.void
setUserUuid
(String userUuid) Sets the user uuid of this kaleo node.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this kaleo node.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Returns:
- the primary key of this kaleo node
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this kaleo node.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Parameters:
primaryKey
- the primary key of this kaleo node
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this kaleo node.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this kaleo node
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this kaleo node.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this kaleo node
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this kaleo node.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Returns:
- the ct collection ID of this kaleo node
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kaleo node.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Parameters:
ctCollectionId
- the ct collection ID of this kaleo node
-
getKaleoNodeId
long getKaleoNodeId()Returns the kaleo node ID of this kaleo node.- Returns:
- the kaleo node ID of this kaleo node
-
setKaleoNodeId
void setKaleoNodeId(long kaleoNodeId) Sets the kaleo node ID of this kaleo node.- Parameters:
kaleoNodeId
- the kaleo node ID of this kaleo node
-
getGroupId
long getGroupId()Returns the group ID of this kaleo node.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this kaleo node
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this kaleo node.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this kaleo node
-
getCompanyId
long getCompanyId()Returns the company ID of this kaleo node.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this kaleo node
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this kaleo node.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this kaleo node
-
getUserId
long getUserId()Returns the user ID of this kaleo node.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this kaleo node
-
setUserId
void setUserId(long userId) Sets the user ID of this kaleo node.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this kaleo node
-
getUserUuid
String getUserUuid()Returns the user uuid of this kaleo node.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this kaleo node
-
setUserUuid
Sets the user uuid of this kaleo node.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this kaleo node
-
getUserName
Returns the user name of this kaleo node.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this kaleo node
-
setUserName
Sets the user name of this kaleo node.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this kaleo node
-
getCreateDate
Date getCreateDate()Returns the create date of this kaleo node.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the create date of this kaleo node
-
setCreateDate
Sets the create date of this kaleo node.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
createDate
- the create date of this kaleo node
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this kaleo node.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the modified date of this kaleo node
-
setModifiedDate
Sets the modified date of this kaleo node.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
modifiedDate
- the modified date of this kaleo node
-
getKaleoDefinitionId
long getKaleoDefinitionId()Returns the kaleo definition ID of this kaleo node.- Returns:
- the kaleo definition ID of this kaleo node
-
setKaleoDefinitionId
void setKaleoDefinitionId(long kaleoDefinitionId) Sets the kaleo definition ID of this kaleo node.- Parameters:
kaleoDefinitionId
- the kaleo definition ID of this kaleo node
-
getKaleoDefinitionVersionId
long getKaleoDefinitionVersionId()Returns the kaleo definition version ID of this kaleo node.- Returns:
- the kaleo definition version ID of this kaleo node
-
setKaleoDefinitionVersionId
void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Sets the kaleo definition version ID of this kaleo node.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID of this kaleo node
-
getName
Returns the name of this kaleo node.- Returns:
- the name of this kaleo node
-
setName
Sets the name of this kaleo node.- Parameters:
name
- the name of this kaleo node
-
getLabel
String getLabel()Returns the label of this kaleo node.- Returns:
- the label of this kaleo node
-
getLabel
Returns the localized label of this kaleo node in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale
- the locale of the language- Returns:
- the localized label of this kaleo node
-
getLabel
Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this kaleo node. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getLabel
Returns the localized label of this kaleo node in the language. Uses the default language if no localization exists for the requested language.- Parameters:
languageId
- the ID of the language- Returns:
- the localized label of this kaleo node
-
getLabel
Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this kaleo node
-
getLabelCurrentLanguageId
-
getLabelCurrentValue
-
getLabelMap
Returns a map of the locales and localized labels of this kaleo node.- Returns:
- the locales and localized labels of this kaleo node
-
setLabel
Sets the label of this kaleo node.- Parameters:
label
- the label of this kaleo node
-
setLabel
Sets the localized label of this kaleo node in the language.- Parameters:
label
- the localized label of this kaleo nodelocale
- the locale of the language
-
setLabel
Sets the localized label of this kaleo node in the language, and sets the default locale.- Parameters:
label
- the localized label of this kaleo nodelocale
- the locale of the languagedefaultLocale
- the default locale
-
setLabelCurrentLanguageId
-
setLabelMap
Sets the localized labels of this kaleo node from the map of locales and localized labels.- Parameters:
labelMap
- the locales and localized labels of this kaleo node
-
setLabelMap
Sets the localized labels of this kaleo node from the map of locales and localized labels, and sets the default locale.- Parameters:
labelMap
- the locales and localized labels of this kaleo nodedefaultLocale
- the default locale
-
getMetadata
Returns the metadata of this kaleo node.- Returns:
- the metadata of this kaleo node
-
setMetadata
Sets the metadata of this kaleo node.- Parameters:
metadata
- the metadata of this kaleo node
-
getDescription
Returns the description of this kaleo node.- Returns:
- the description of this kaleo node
-
setDescription
Sets the description of this kaleo node.- Parameters:
description
- the description of this kaleo node
-
getType
Returns the type of this kaleo node.- Returns:
- the type of this kaleo node
-
setType
Sets the type of this kaleo node.- Parameters:
type
- the type of this kaleo node
-
getInitial
boolean getInitial()Returns the initial of this kaleo node.- Returns:
- the initial of this kaleo node
-
isInitial
boolean isInitial()Returnstrue
if this kaleo node is initial.- Returns:
true
if this kaleo node is initial;false
otherwise
-
setInitial
void setInitial(boolean initial) Sets whether this kaleo node is initial.- Parameters:
initial
- the initial of this kaleo node
-
getTerminal
boolean getTerminal()Returns the terminal of this kaleo node.- Returns:
- the terminal of this kaleo node
-
isTerminal
boolean isTerminal()Returnstrue
if this kaleo node is terminal.- Returns:
true
if this kaleo node is terminal;false
otherwise
-
setTerminal
void setTerminal(boolean terminal) Sets whether this kaleo node is terminal.- Parameters:
terminal
- the terminal of this kaleo node
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
KaleoNode cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
toXmlString
-