Class KaleoTransitionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoTransition>
com.liferay.portal.workflow.kaleo.model.KaleoTransitionWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<KaleoTransition>, com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<KaleoTransition>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, KaleoTransition, KaleoTransitionModel, Serializable, Cloneable, Comparable<KaleoTransition>

public class KaleoTransitionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoTransition> implements KaleoTransition, com.liferay.portal.kernel.model.ModelWrapper<KaleoTransition>

This class is a wrapper for KaleoTransition.

See Also:
Generated:
  • Constructor Details

    • KaleoTransitionWrapper

      public KaleoTransitionWrapper(KaleoTransition kaleoTransition)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>
    • cloneWithOriginalValues

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

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface KaleoTransitionModel
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
    • getCompanyId

      public 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 KaleoTransitionModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this kaleo transition
    • getCreateDate

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

      public 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>
      Specified by:
      getCtCollectionId in interface KaleoTransitionModel
      Returns:
      the ct collection ID of this kaleo transition
    • getDefaultLanguageId

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

      public boolean getDefaultTransition()
      Returns the default transition of this kaleo transition.
      Specified by:
      getDefaultTransition in interface KaleoTransitionModel
      Returns:
      the default transition of this kaleo transition
    • getDescription

      public String getDescription()
      Returns the description of this kaleo transition.
      Specified by:
      getDescription in interface KaleoTransitionModel
      Returns:
      the description of this kaleo transition
    • getGroupId

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

      public long getKaleoDefinitionId()
      Returns the kaleo definition ID of this kaleo transition.
      Specified by:
      getKaleoDefinitionId in interface KaleoTransitionModel
      Returns:
      the kaleo definition ID of this kaleo transition
    • getKaleoDefinitionVersionId

      public long getKaleoDefinitionVersionId()
      Returns the kaleo definition version ID of this kaleo transition.
      Specified by:
      getKaleoDefinitionVersionId in interface KaleoTransitionModel
      Returns:
      the kaleo definition version ID of this kaleo transition
    • getKaleoNodeId

      public long getKaleoNodeId()
      Returns the kaleo node ID of this kaleo transition.
      Specified by:
      getKaleoNodeId in interface KaleoTransitionModel
      Returns:
      the kaleo node ID of this kaleo transition
    • getKaleoTransitionId

      public long getKaleoTransitionId()
      Returns the kaleo transition ID of this kaleo transition.
      Specified by:
      getKaleoTransitionId in interface KaleoTransitionModel
      Returns:
      the kaleo transition ID of this kaleo transition
    • getLabel

      public String getLabel()
      Returns the label of this kaleo transition.
      Specified by:
      getLabel in interface KaleoTransitionModel
      Returns:
      the label of this kaleo transition
    • getLabel

      public 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.
      Specified by:
      getLabel in interface KaleoTransitionModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized label of this kaleo transition
    • getLabel

      public 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.
      Specified by:
      getLabel in interface KaleoTransitionModel
      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

      public 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.
      Specified by:
      getLabel in interface KaleoTransitionModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized label of this kaleo transition
    • getLabel

      public 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.
      Specified by:
      getLabel in interface KaleoTransitionModel
      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

      public String getLabelCurrentLanguageId()
      Specified by:
      getLabelCurrentLanguageId in interface KaleoTransitionModel
    • getLabelCurrentValue

      public String getLabelCurrentValue()
      Specified by:
      getLabelCurrentValue in interface KaleoTransitionModel
    • getLabelMap

      public Map<Locale,String> getLabelMap()
      Returns a map of the locales and localized labels of this kaleo transition.
      Specified by:
      getLabelMap in interface KaleoTransitionModel
      Returns:
      the locales and localized labels of this kaleo transition
    • getModifiedDate

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

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

      public String getName()
      Returns the name of this kaleo transition.
      Specified by:
      getName in interface KaleoTransitionModel
      Returns:
      the name of this kaleo transition
    • getPrimaryKey

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

      public KaleoNode getSourceKaleoNode() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSourceKaleoNode in interface KaleoTransition
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSourceKaleoNodeId

      public long getSourceKaleoNodeId()
      Returns the source kaleo node ID of this kaleo transition.
      Specified by:
      getSourceKaleoNodeId in interface KaleoTransitionModel
      Returns:
      the source kaleo node ID of this kaleo transition
    • getSourceKaleoNodeName

      public String getSourceKaleoNodeName()
      Returns the source kaleo node name of this kaleo transition.
      Specified by:
      getSourceKaleoNodeName in interface KaleoTransitionModel
      Returns:
      the source kaleo node name of this kaleo transition
    • getTargetKaleoNode

      public KaleoNode getTargetKaleoNode() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getTargetKaleoNode in interface KaleoTransition
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTargetKaleoNodeId

      public long getTargetKaleoNodeId()
      Returns the target kaleo node ID of this kaleo transition.
      Specified by:
      getTargetKaleoNodeId in interface KaleoTransitionModel
      Returns:
      the target kaleo node ID of this kaleo transition
    • getTargetKaleoNodeName

      public String getTargetKaleoNodeName()
      Returns the target kaleo node name of this kaleo transition.
      Specified by:
      getTargetKaleoNodeName in interface KaleoTransitionModel
      Returns:
      the target kaleo node name of this kaleo transition
    • getUserId

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

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

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

      public boolean isDefaultTransition()
      Returns true if this kaleo transition is default transition.
      Specified by:
      isDefaultTransition in interface KaleoTransitionModel
      Returns:
      true if this kaleo transition is default transition; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface KaleoTransitionModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface KaleoTransitionModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setCompanyId

      public 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 KaleoTransitionModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this kaleo transition
    • setCreateDate

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

      public 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>
      Specified by:
      setCtCollectionId in interface KaleoTransitionModel
      Parameters:
      ctCollectionId - the ct collection ID of this kaleo transition
    • setDefaultTransition

      public void setDefaultTransition(boolean defaultTransition)
      Sets whether this kaleo transition is default transition.
      Specified by:
      setDefaultTransition in interface KaleoTransitionModel
      Parameters:
      defaultTransition - the default transition of this kaleo transition
    • setDescription

      public void setDescription(String description)
      Sets the description of this kaleo transition.
      Specified by:
      setDescription in interface KaleoTransitionModel
      Parameters:
      description - the description of this kaleo transition
    • setGroupId

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

      public void setKaleoDefinitionId(long kaleoDefinitionId)
      Sets the kaleo definition ID of this kaleo transition.
      Specified by:
      setKaleoDefinitionId in interface KaleoTransitionModel
      Parameters:
      kaleoDefinitionId - the kaleo definition ID of this kaleo transition
    • setKaleoDefinitionVersionId

      public void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Sets the kaleo definition version ID of this kaleo transition.
      Specified by:
      setKaleoDefinitionVersionId in interface KaleoTransitionModel
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID of this kaleo transition
    • setKaleoNodeId

      public void setKaleoNodeId(long kaleoNodeId)
      Sets the kaleo node ID of this kaleo transition.
      Specified by:
      setKaleoNodeId in interface KaleoTransitionModel
      Parameters:
      kaleoNodeId - the kaleo node ID of this kaleo transition
    • setKaleoTransitionId

      public void setKaleoTransitionId(long kaleoTransitionId)
      Sets the kaleo transition ID of this kaleo transition.
      Specified by:
      setKaleoTransitionId in interface KaleoTransitionModel
      Parameters:
      kaleoTransitionId - the kaleo transition ID of this kaleo transition
    • setLabel

      public void setLabel(String label)
      Sets the label of this kaleo transition.
      Specified by:
      setLabel in interface KaleoTransitionModel
      Parameters:
      label - the label of this kaleo transition
    • setLabel

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

      public void setLabel(String label, Locale locale, Locale defaultLocale)
      Sets the localized label of this kaleo transition in the language, and sets the default locale.
      Specified by:
      setLabel in interface KaleoTransitionModel
      Parameters:
      label - the localized label of this kaleo transition
      locale - the locale of the language
      defaultLocale - the default locale
    • setLabelCurrentLanguageId

      public void setLabelCurrentLanguageId(String languageId)
      Specified by:
      setLabelCurrentLanguageId in interface KaleoTransitionModel
    • setLabelMap

      public void setLabelMap(Map<Locale,String> labelMap)
      Sets the localized labels of this kaleo transition from the map of locales and localized labels.
      Specified by:
      setLabelMap in interface KaleoTransitionModel
      Parameters:
      labelMap - the locales and localized labels of this kaleo transition
    • setLabelMap

      public 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.
      Specified by:
      setLabelMap in interface KaleoTransitionModel
      Parameters:
      labelMap - the locales and localized labels of this kaleo transition
      defaultLocale - the default locale
    • setModifiedDate

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

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

      public void setName(String name)
      Sets the name of this kaleo transition.
      Specified by:
      setName in interface KaleoTransitionModel
      Parameters:
      name - the name of this kaleo transition
    • setPrimaryKey

      public 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>
      Specified by:
      setPrimaryKey in interface KaleoTransitionModel
      Parameters:
      primaryKey - the primary key of this kaleo transition
    • setSourceKaleoNodeId

      public void setSourceKaleoNodeId(long sourceKaleoNodeId)
      Sets the source kaleo node ID of this kaleo transition.
      Specified by:
      setSourceKaleoNodeId in interface KaleoTransitionModel
      Parameters:
      sourceKaleoNodeId - the source kaleo node ID of this kaleo transition
    • setSourceKaleoNodeName

      public void setSourceKaleoNodeName(String sourceKaleoNodeName)
      Sets the source kaleo node name of this kaleo transition.
      Specified by:
      setSourceKaleoNodeName in interface KaleoTransitionModel
      Parameters:
      sourceKaleoNodeName - the source kaleo node name of this kaleo transition
    • setTargetKaleoNodeId

      public void setTargetKaleoNodeId(long targetKaleoNodeId)
      Sets the target kaleo node ID of this kaleo transition.
      Specified by:
      setTargetKaleoNodeId in interface KaleoTransitionModel
      Parameters:
      targetKaleoNodeId - the target kaleo node ID of this kaleo transition
    • setTargetKaleoNodeName

      public void setTargetKaleoNodeName(String targetKaleoNodeName)
      Sets the target kaleo node name of this kaleo transition.
      Specified by:
      setTargetKaleoNodeName in interface KaleoTransitionModel
      Parameters:
      targetKaleoNodeName - the target kaleo node name of this kaleo transition
    • setUserId

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface KaleoTransitionModel
    • getAttributeGetterFunctions

      public Map<String,Function<KaleoTransition,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<KaleoTransition,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>
    • wrap

      protected KaleoTransitionWrapper wrap(KaleoTransition kaleoTransition)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoTransition>