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 Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this kaleo node.
      Specified by:
      getPrimaryKey in interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.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 interface com.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 interface com.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 interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this kaleo node
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this kaleo node.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this kaleo node
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this kaleo node.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this kaleo node
    • setUserName

      void setUserName(String userName)
      Sets the user name of this kaleo node.
      Specified by:
      setUserName in interface com.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 interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the create date of this kaleo node
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this kaleo node.
      Specified by:
      setCreateDate in interface com.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 interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the modified date of this kaleo node
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this kaleo node.
      Specified by:
      setModifiedDate in interface com.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

      @AutoEscape String getName()
      Returns the name of this kaleo node.
      Returns:
      the name of this kaleo node
    • setName

      void setName(String name)
      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

      @AutoEscape String getLabel(Locale locale)
      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

      @AutoEscape String getLabel(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.
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized label of this kaleo node. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getLabel

      @AutoEscape String getLabel(String languageId)
      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

      @AutoEscape String getLabel(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.
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized label of this kaleo node
    • getLabelCurrentLanguageId

      @AutoEscape String getLabelCurrentLanguageId()
    • getLabelCurrentValue

      @AutoEscape String getLabelCurrentValue()
    • getLabelMap

      Map<Locale,String> 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

      void setLabel(String label)
      Sets the label of this kaleo node.
      Parameters:
      label - the label of this kaleo node
    • setLabel

      void setLabel(String label, Locale locale)
      Sets the localized label of this kaleo node in the language.
      Parameters:
      label - the localized label of this kaleo node
      locale - the locale of the language
    • setLabel

      void setLabel(String label, Locale locale, Locale defaultLocale)
      Sets the localized label of this kaleo node in the language, and sets the default locale.
      Parameters:
      label - the localized label of this kaleo node
      locale - the locale of the language
      defaultLocale - the default locale
    • setLabelCurrentLanguageId

      void setLabelCurrentLanguageId(String languageId)
    • setLabelMap

      void setLabelMap(Map<Locale,String> labelMap)
      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

      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.
      Parameters:
      labelMap - the locales and localized labels of this kaleo node
      defaultLocale - the default locale
    • getMetadata

      @AutoEscape String getMetadata()
      Returns the metadata of this kaleo node.
      Returns:
      the metadata of this kaleo node
    • setMetadata

      void setMetadata(String metadata)
      Sets the metadata of this kaleo node.
      Parameters:
      metadata - the metadata of this kaleo node
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this kaleo node.
      Returns:
      the description of this kaleo node
    • setDescription

      void setDescription(String description)
      Sets the description of this kaleo node.
      Parameters:
      description - the description of this kaleo node
    • getType

      @AutoEscape String getType()
      Returns the type of this kaleo node.
      Returns:
      the type of this kaleo node
    • setType

      void setType(String type)
      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()
      Returns true 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()
      Returns true 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 interface com.liferay.portal.kernel.model.LocalizedModel
    • getDefaultLanguageId

      String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.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 interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • cloneWithOriginalValues

      KaleoNode cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KaleoNode>
    • toXmlString

      default String toXmlString()