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[]longReturns the company ID of this kaleo node.Returns the create date of this kaleo node.longReturns the ct collection ID of this kaleo node.Returns the description of this kaleo node.longReturns the group ID of this kaleo node.booleanReturns the initial of this kaleo node.longReturns the kaleo definition ID of this kaleo node.longReturns the kaleo definition version ID of this kaleo node.longReturns 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.longReturns the mvcc version of this kaleo node.getName()Returns the name of this kaleo node.longReturns the primary key of this kaleo node.booleanReturns the terminal of this kaleo node.getType()Returns the type of this kaleo node.longReturns the user ID of this kaleo node.Returns the user name of this kaleo node.Returns the user uuid of this kaleo node.booleanReturnstrueif this kaleo node is initial.booleanReturnstrueif this kaleo node is terminal.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCompanyId(long companyId) Sets the company ID of this kaleo node.voidsetCreateDate(Date createDate) Sets the create date of this kaleo node.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kaleo node.voidsetDescription(String description) Sets the description of this kaleo node.voidsetGroupId(long groupId) Sets the group ID of this kaleo node.voidsetInitial(boolean initial) Sets whether this kaleo node is initial.voidsetKaleoDefinitionId(long kaleoDefinitionId) Sets the kaleo definition ID of this kaleo node.voidsetKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Sets the kaleo definition version ID of this kaleo node.voidsetKaleoNodeId(long kaleoNodeId) Sets the kaleo node ID of this kaleo node.voidSets the label of this kaleo node.voidSets the localized label of this kaleo node in the language.voidSets the localized label of this kaleo node in the language, and sets the default locale.voidsetLabelCurrentLanguageId(String languageId) voidsetLabelMap(Map<Locale, String> labelMap) Sets the localized labels of this kaleo node from the map of locales and localized labels.voidsetLabelMap(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.voidsetMetadata(String metadata) Sets the metadata of this kaleo node.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this kaleo node.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this kaleo node.voidSets the name of this kaleo node.voidsetPrimaryKey(long primaryKey) Sets the primary key of this kaleo node.voidsetTerminal(boolean terminal) Sets whether this kaleo node is terminal.voidSets the type of this kaleo node.voidsetUserId(long userId) Sets the user ID of this kaleo node.voidsetUserName(String userName) Sets the user name of this kaleo node.voidsetUserUuid(String userUuid) Sets the user uuid of this kaleo node.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this kaleo node.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin 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:
getMvccVersionin 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:
setMvccVersionin 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:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getGroupIdin 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:
setGroupIdin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin 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:
getUserIdin 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:
setUserIdin 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:
getUserUuidin 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:
setUserUuidin 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:
getUserNamein 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:
setUserNamein 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:
getCreateDatein 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:
setCreateDatein 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:
getModifiedDatein 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:
setModifiedDatein 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
useDefaultisfalseand 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()Returnstrueif this kaleo node is initial.- Returns:
trueif this kaleo node is initial;falseotherwise
-
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()Returnstrueif this kaleo node is terminal.- Returns:
trueif this kaleo node is terminal;falseotherwise
-
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:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin 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:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
KaleoNode cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
toXmlString
-