@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
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.
KaleoTransition| Modifier and Type | Method and Description |
|---|---|
KaleoTransition |
cloneWithOriginalValues() |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this kaleo transition.
|
java.util.Date |
getCreateDate()
Returns the create date of this kaleo transition.
|
long |
getCtCollectionId()
Returns the ct collection ID of this kaleo transition.
|
java.lang.String |
getDefaultLanguageId() |
boolean |
getDefaultTransition()
Returns the default transition of this kaleo transition.
|
java.lang.String |
getDescription()
Returns the description of this kaleo transition.
|
long |
getGroupId()
Returns the group ID of this kaleo transition.
|
long |
getKaleoDefinitionId()
Returns the kaleo definition ID of this kaleo transition.
|
long |
getKaleoDefinitionVersionId()
Returns the kaleo definition version ID of this kaleo transition.
|
long |
getKaleoNodeId()
Returns the kaleo node ID of this kaleo transition.
|
long |
getKaleoTransitionId()
Returns the kaleo transition ID of this kaleo transition.
|
java.lang.String |
getLabel()
Returns the label of this kaleo transition.
|
java.lang.String |
getLabel(java.util.Locale locale)
Returns the localized label of this kaleo transition in the language.
|
java.lang.String |
getLabel(java.util.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.
|
java.lang.String |
getLabel(java.lang.String languageId)
Returns the localized label of this kaleo transition in the language.
|
java.lang.String |
getLabel(java.lang.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.
|
java.lang.String |
getLabelCurrentLanguageId() |
java.lang.String |
getLabelCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getLabelMap()
Returns a map of the locales and localized labels of this kaleo transition.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this kaleo transition.
|
long |
getMvccVersion()
Returns the mvcc version of this kaleo transition.
|
java.lang.String |
getName()
Returns the name of this kaleo transition.
|
long |
getPrimaryKey()
Returns the primary key of this kaleo transition.
|
long |
getSourceKaleoNodeId()
Returns the source kaleo node ID of this kaleo transition.
|
java.lang.String |
getSourceKaleoNodeName()
Returns the source kaleo node name of this kaleo transition.
|
long |
getTargetKaleoNodeId()
Returns the target kaleo node ID of this kaleo transition.
|
java.lang.String |
getTargetKaleoNodeName()
Returns the target kaleo node name of this kaleo transition.
|
long |
getUserId()
Returns the user ID of this kaleo transition.
|
java.lang.String |
getUserName()
Returns the user name of this kaleo transition.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this kaleo transition.
|
boolean |
isDefaultTransition()
Returns
true if this kaleo transition is default transition. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setCompanyId(long companyId)
Sets the company ID of this kaleo transition.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this kaleo transition.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this kaleo transition.
|
void |
setDefaultTransition(boolean defaultTransition)
Sets whether this kaleo transition is default transition.
|
void |
setDescription(java.lang.String description)
Sets the description of this kaleo transition.
|
void |
setGroupId(long groupId)
Sets the group ID of this kaleo transition.
|
void |
setKaleoDefinitionId(long kaleoDefinitionId)
Sets the kaleo definition ID of this kaleo transition.
|
void |
setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Sets the kaleo definition version ID of this kaleo transition.
|
void |
setKaleoNodeId(long kaleoNodeId)
Sets the kaleo node ID of this kaleo transition.
|
void |
setKaleoTransitionId(long kaleoTransitionId)
Sets the kaleo transition ID of this kaleo transition.
|
void |
setLabel(java.lang.String label)
Sets the label of this kaleo transition.
|
void |
setLabel(java.lang.String label,
java.util.Locale locale)
Sets the localized label of this kaleo transition in the language.
|
void |
setLabel(java.lang.String label,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized label of this kaleo transition in the language, and sets the default locale.
|
void |
setLabelCurrentLanguageId(java.lang.String languageId) |
void |
setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
Sets the localized labels of this kaleo transition from the map of locales and localized labels.
|
void |
setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.util.Locale defaultLocale)
Sets the localized labels of this kaleo transition from the map of locales and localized labels, and sets the default locale.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this kaleo transition.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this kaleo transition.
|
void |
setName(java.lang.String name)
Sets the name of this kaleo transition.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this kaleo transition.
|
void |
setSourceKaleoNodeId(long sourceKaleoNodeId)
Sets the source kaleo node ID of this kaleo transition.
|
void |
setSourceKaleoNodeName(java.lang.String sourceKaleoNodeName)
Sets the source kaleo node name of this kaleo transition.
|
void |
setTargetKaleoNodeId(long targetKaleoNodeId)
Sets the target kaleo node ID of this kaleo transition.
|
void |
setTargetKaleoNodeName(java.lang.String targetKaleoNodeName)
Sets the target kaleo node name of this kaleo transition.
|
void |
setUserId(long userId)
Sets the user ID of this kaleo transition.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this kaleo transition.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this kaleo transition.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringlong getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>primaryKey - the primary key of this kaleo transitionlong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this kaleo transitionlong getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoTransition>ctCollectionId - the ct collection ID of this kaleo transitionlong getKaleoTransitionId()
void setKaleoTransitionId(long kaleoTransitionId)
kaleoTransitionId - the kaleo transition ID of this kaleo transitionlong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this kaleo transitionlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this kaleo transitionlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this kaleo transitionjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this kaleo transition@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this kaleo transitionjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this kaleo transitionjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this kaleo transitionlong getKaleoDefinitionId()
void setKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId - the kaleo definition ID of this kaleo transitionlong getKaleoDefinitionVersionId()
void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId - the kaleo definition version ID of this kaleo transitionlong getKaleoNodeId()
void setKaleoNodeId(long kaleoNodeId)
kaleoNodeId - the kaleo node ID of this kaleo transition@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this kaleo transitionjava.lang.String getLabel()
@AutoEscape java.lang.String getLabel(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getLabel(java.util.Locale locale,
boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getLabel(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getLabel(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getLabelCurrentLanguageId()
@AutoEscape java.lang.String getLabelCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getLabelMap()
void setLabel(java.lang.String label)
label - the label of this kaleo transitionvoid setLabel(java.lang.String label,
java.util.Locale locale)
label - the localized label of this kaleo transitionlocale - the locale of the languagevoid setLabel(java.lang.String label,
java.util.Locale locale,
java.util.Locale defaultLocale)
label - the localized label of this kaleo transitionlocale - the locale of the languagedefaultLocale - the default localevoid setLabelCurrentLanguageId(java.lang.String languageId)
void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
labelMap - the locales and localized labels of this kaleo transitionvoid setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.util.Locale defaultLocale)
labelMap - the locales and localized labels of this kaleo transitiondefaultLocale - the default locale@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this kaleo transitionlong getSourceKaleoNodeId()
void setSourceKaleoNodeId(long sourceKaleoNodeId)
sourceKaleoNodeId - the source kaleo node ID of this kaleo transition@AutoEscape java.lang.String getSourceKaleoNodeName()
void setSourceKaleoNodeName(java.lang.String sourceKaleoNodeName)
sourceKaleoNodeName - the source kaleo node name of this kaleo transitionlong getTargetKaleoNodeId()
void setTargetKaleoNodeId(long targetKaleoNodeId)
targetKaleoNodeId - the target kaleo node ID of this kaleo transition@AutoEscape java.lang.String getTargetKaleoNodeName()
void setTargetKaleoNodeName(java.lang.String targetKaleoNodeName)
targetKaleoNodeName - the target kaleo node name of this kaleo transitionboolean getDefaultTransition()
boolean isDefaultTransition()
true if this kaleo transition is default transition.true if this kaleo transition is default transition; false otherwisevoid setDefaultTransition(boolean defaultTransition)
defaultTransition - the default transition of this kaleo transitionjava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelvoid prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionKaleoTransition cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>