Interface KaleoTransitionModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<KaleoTransition>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<KaleoTransition>, com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>, 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:
KaleoTransition
All Known Implementing Classes:
KaleoTransitionWrapper

@ProviderType public interface KaleoTransitionModel extends com.liferay.portal.kernel.model.BaseModel<KaleoTransition>, com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>, 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 KaleoTransition service. Represents a row in the "KaleoTransition" 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.KaleoTransitionModelImpl 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.KaleoTransitionImpl.

See Also:
Generated:
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this kaleo transition.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>
      Returns:
      the primary key of this kaleo transition
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this kaleo transition.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>
      Parameters:
      primaryKey - the primary key of this kaleo transition
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this kaleo transition.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this kaleo transition
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this kaleo transition.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this kaleo transition
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this kaleo transition.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>
      Returns:
      the ct collection ID of this kaleo transition
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this kaleo transition.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>
      Parameters:
      ctCollectionId - the ct collection ID of this kaleo transition
    • getKaleoTransitionId

      long getKaleoTransitionId()
      Returns the kaleo transition ID of this kaleo transition.
      Returns:
      the kaleo transition ID of this kaleo transition
    • setKaleoTransitionId

      void setKaleoTransitionId(long kaleoTransitionId)
      Sets the kaleo transition ID of this kaleo transition.
      Parameters:
      kaleoTransitionId - the kaleo transition ID of this kaleo transition
    • getGroupId

      long getGroupId()
      Returns the group ID of this kaleo transition.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this kaleo transition
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this kaleo transition.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this kaleo transition
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this kaleo transition.
      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 transition
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this kaleo transition.
      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 transition
    • getUserId

      long getUserId()
      Returns the user ID of this kaleo transition.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this kaleo transition
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this kaleo transition.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this kaleo transition
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this kaleo transition.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this kaleo transition
    • setUserUuid

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

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

      void setUserName(String userName)
      Sets the user name of this kaleo transition.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this kaleo transition
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this kaleo transition.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the create date of this kaleo transition
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this kaleo transition.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      createDate - the create date of this kaleo transition
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this kaleo transition.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the modified date of this kaleo transition
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this kaleo transition.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      modifiedDate - the modified date of this kaleo transition
    • getKaleoDefinitionId

      long getKaleoDefinitionId()
      Returns the kaleo definition ID of this kaleo transition.
      Returns:
      the kaleo definition ID of this kaleo transition
    • setKaleoDefinitionId

      void setKaleoDefinitionId(long kaleoDefinitionId)
      Sets the kaleo definition ID of this kaleo transition.
      Parameters:
      kaleoDefinitionId - the kaleo definition ID of this kaleo transition
    • getKaleoDefinitionVersionId

      long getKaleoDefinitionVersionId()
      Returns the kaleo definition version ID of this kaleo transition.
      Returns:
      the kaleo definition version ID of this kaleo transition
    • setKaleoDefinitionVersionId

      void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Sets the kaleo definition version ID of this kaleo transition.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID of this kaleo transition
    • getKaleoNodeId

      long getKaleoNodeId()
      Returns the kaleo node ID of this kaleo transition.
      Returns:
      the kaleo node ID of this kaleo transition
    • setKaleoNodeId

      void setKaleoNodeId(long kaleoNodeId)
      Sets the kaleo node ID of this kaleo transition.
      Parameters:
      kaleoNodeId - the kaleo node ID of this kaleo transition
    • getName

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

      void setName(String name)
      Sets the name of this kaleo transition.
      Parameters:
      name - the name of this kaleo transition
    • getLabel

      String getLabel()
      Returns the label of this kaleo transition.
      Returns:
      the label of this kaleo transition
    • getLabel

      @AutoEscape String getLabel(Locale locale)
      Returns the localized label of this kaleo transition 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 transition
    • getLabel

      @AutoEscape String getLabel(Locale locale, boolean useDefault)
      Returns the localized label of this kaleo transition 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 transition. 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 transition 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 transition
    • getLabel

      @AutoEscape String getLabel(String languageId, boolean useDefault)
      Returns the localized label of this kaleo transition 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 transition
    • 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 transition.
      Returns:
      the locales and localized labels of this kaleo transition
    • setLabel

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

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

      void setLabel(String label, Locale locale, Locale defaultLocale)
      Sets the localized label of this kaleo transition in the language, and sets the default locale.
      Parameters:
      label - the localized label of this kaleo transition
      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 transition from the map of locales and localized labels.
      Parameters:
      labelMap - the locales and localized labels of this kaleo transition
    • setLabelMap

      void setLabelMap(Map<Locale,String> labelMap, Locale defaultLocale)
      Sets the localized labels of this kaleo transition from the map of locales and localized labels, and sets the default locale.
      Parameters:
      labelMap - the locales and localized labels of this kaleo transition
      defaultLocale - the default locale
    • getDescription

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

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

      long getSourceKaleoNodeId()
      Returns the source kaleo node ID of this kaleo transition.
      Returns:
      the source kaleo node ID of this kaleo transition
    • setSourceKaleoNodeId

      void setSourceKaleoNodeId(long sourceKaleoNodeId)
      Sets the source kaleo node ID of this kaleo transition.
      Parameters:
      sourceKaleoNodeId - the source kaleo node ID of this kaleo transition
    • getSourceKaleoNodeName

      @AutoEscape String getSourceKaleoNodeName()
      Returns the source kaleo node name of this kaleo transition.
      Returns:
      the source kaleo node name of this kaleo transition
    • setSourceKaleoNodeName

      void setSourceKaleoNodeName(String sourceKaleoNodeName)
      Sets the source kaleo node name of this kaleo transition.
      Parameters:
      sourceKaleoNodeName - the source kaleo node name of this kaleo transition
    • getTargetKaleoNodeId

      long getTargetKaleoNodeId()
      Returns the target kaleo node ID of this kaleo transition.
      Returns:
      the target kaleo node ID of this kaleo transition
    • setTargetKaleoNodeId

      void setTargetKaleoNodeId(long targetKaleoNodeId)
      Sets the target kaleo node ID of this kaleo transition.
      Parameters:
      targetKaleoNodeId - the target kaleo node ID of this kaleo transition
    • getTargetKaleoNodeName

      @AutoEscape String getTargetKaleoNodeName()
      Returns the target kaleo node name of this kaleo transition.
      Returns:
      the target kaleo node name of this kaleo transition
    • setTargetKaleoNodeName

      void setTargetKaleoNodeName(String targetKaleoNodeName)
      Sets the target kaleo node name of this kaleo transition.
      Parameters:
      targetKaleoNodeName - the target kaleo node name of this kaleo transition
    • getDefaultTransition

      boolean getDefaultTransition()
      Returns the default transition of this kaleo transition.
      Returns:
      the default transition of this kaleo transition
    • isDefaultTransition

      boolean isDefaultTransition()
      Returns true if this kaleo transition is default transition.
      Returns:
      true if this kaleo transition is default transition; false otherwise
    • setDefaultTransition

      void setDefaultTransition(boolean defaultTransition)
      Sets whether this kaleo transition is default transition.
      Parameters:
      defaultTransition - the default transition of this kaleo transition
    • 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

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

      default String toXmlString()