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 Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this kaleo transition.Returns the create date of this kaleo transition.long
Returns the ct collection ID of this kaleo transition.boolean
Returns the default transition of this kaleo transition.Returns the description of this kaleo transition.long
Returns the group ID of this kaleo transition.long
Returns the kaleo definition ID of this kaleo transition.long
Returns the kaleo definition version ID of this kaleo transition.long
Returns the kaleo node ID of this kaleo transition.long
Returns the kaleo transition ID of this kaleo transition.getLabel()
Returns the label of this kaleo transition.Returns the localized label of this kaleo transition in the language.Returns the localized label of this kaleo transition in the language, optionally using the default language if no localization exists for the requested language.Returns the localized label of this kaleo transition in the language.Returns the localized label of this kaleo transition 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 transition.Returns the modified date of this kaleo transition.long
Returns the mvcc version of this kaleo transition.getName()
Returns the name of this kaleo transition.long
Returns the primary key of this kaleo transition.long
Returns the source kaleo node ID of this kaleo transition.Returns the source kaleo node name of this kaleo transition.long
Returns the target kaleo node ID of this kaleo transition.Returns the target kaleo node name of this kaleo transition.long
Returns the user ID of this kaleo transition.Returns the user name of this kaleo transition.Returns the user uuid of this kaleo transition.boolean
Returnstrue
if this kaleo transition is default transition.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this kaleo transition.void
setCreateDate
(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
(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
Sets the label of this kaleo transition.void
Sets the localized label of this kaleo transition in the language.void
Sets the localized label of this kaleo transition in the language, and sets the default locale.void
setLabelCurrentLanguageId
(String languageId) void
setLabelMap
(Map<Locale, String> labelMap) Sets the localized labels of this kaleo transition from the map of locales and localized labels.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.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this kaleo transition.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this kaleo transition.void
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
(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
(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
(String userName) Sets the user name of this kaleo transition.void
setUserUuid
(String userUuid) Sets the user uuid of this kaleo transition.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this kaleo transition.- Specified by:
getPrimaryKey
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this kaleo transition
-
setUserUuid
Sets the user uuid of this kaleo transition.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this kaleo transition
-
getUserName
Returns the user name of this kaleo transition.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this kaleo transition
-
setUserName
Sets the user name of this kaleo transition.- Specified by:
setUserName
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the create date of this kaleo transition
-
setCreateDate
Sets the create date of this kaleo transition.- Specified by:
setCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the modified date of this kaleo transition
-
setModifiedDate
Sets the modified date of this kaleo transition.- Specified by:
setModifiedDate
in interfacecom.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
Returns the name of this kaleo transition.- Returns:
- the name of this kaleo transition
-
setName
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
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
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 languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this kaleo transition. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getLabel
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
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 languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this kaleo transition
-
getLabelCurrentLanguageId
-
getLabelCurrentValue
-
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
Sets the label of this kaleo transition.- Parameters:
label
- the label of this kaleo transition
-
setLabel
Sets the localized label of this kaleo transition in the language.- Parameters:
label
- the localized label of this kaleo transitionlocale
- the locale of the language
-
setLabel
Sets the localized label of this kaleo transition in the language, and sets the default locale.- Parameters:
label
- the localized label of this kaleo transitionlocale
- the locale of the languagedefaultLocale
- the default locale
-
setLabelCurrentLanguageId
-
setLabelMap
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
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 transitiondefaultLocale
- the default locale
-
getDescription
Returns the description of this kaleo transition.- Returns:
- the description of this kaleo transition
-
setDescription
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
Returns the source kaleo node name of this kaleo transition.- Returns:
- the source kaleo node name of this kaleo transition
-
setSourceKaleoNodeName
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
Returns the target kaleo node name of this kaleo transition.- Returns:
- the target kaleo node name of this kaleo transition
-
setTargetKaleoNodeName
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()Returnstrue
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 interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in 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:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
KaleoTransition cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoTransition>
-
toXmlString
-