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
.
KaleoTransition
,
Serialized FormKALEO_TRANSITION_ID_ACCESSOR
Constructor and Description |
---|
KaleoTransitionWrapper(KaleoTransition 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.
|
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
KaleoNode |
getSourceKaleoNode() |
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.
|
KaleoNode |
getTargetKaleoNode() |
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 |
persist() |
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 |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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.
|
protected KaleoTransitionWrapper |
wrap(KaleoTransition kaleoTransition) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public KaleoTransitionWrapper(KaleoTransition kaleoTransition)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>
public KaleoTransition cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<KaleoTransition>
cloneWithOriginalValues
in interface KaleoTransitionModel
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
getAvailableLanguageIds
in interface KaleoTransitionModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface KaleoTransitionModel
public java.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface KaleoTransitionModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
getDefaultLanguageId
in interface KaleoTransitionModel
public boolean getDefaultTransition()
getDefaultTransition
in interface KaleoTransitionModel
public java.lang.String getDescription()
getDescription
in interface KaleoTransitionModel
public long getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
getGroupId
in interface KaleoTransitionModel
public long getKaleoDefinitionId()
getKaleoDefinitionId
in interface KaleoTransitionModel
public long getKaleoDefinitionVersionId()
getKaleoDefinitionVersionId
in interface KaleoTransitionModel
public long getKaleoNodeId()
getKaleoNodeId
in interface KaleoTransitionModel
public long getKaleoTransitionId()
getKaleoTransitionId
in interface KaleoTransitionModel
public java.lang.String getLabel()
getLabel
in interface KaleoTransitionModel
public java.lang.String getLabel(java.util.Locale locale)
getLabel
in interface KaleoTransitionModel
locale
- the locale of the languagepublic java.lang.String getLabel(java.util.Locale locale, boolean useDefault)
getLabel
in interface KaleoTransitionModel
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.public java.lang.String getLabel(java.lang.String languageId)
getLabel
in interface KaleoTransitionModel
languageId
- the ID of the languagepublic java.lang.String getLabel(java.lang.String languageId, boolean useDefault)
getLabel
in interface KaleoTransitionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getLabelCurrentLanguageId()
getLabelCurrentLanguageId
in interface KaleoTransitionModel
public java.lang.String getLabelCurrentValue()
getLabelCurrentValue
in interface KaleoTransitionModel
public java.util.Map<java.util.Locale,java.lang.String> getLabelMap()
getLabelMap
in interface KaleoTransitionModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface KaleoTransitionModel
public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface KaleoTransitionModel
public java.lang.String getName()
getName
in interface KaleoTransitionModel
public long getPrimaryKey()
getPrimaryKey
in interface KaleoTransitionModel
public KaleoNode getSourceKaleoNode() throws com.liferay.portal.kernel.exception.PortalException
getSourceKaleoNode
in interface KaleoTransition
com.liferay.portal.kernel.exception.PortalException
public long getSourceKaleoNodeId()
getSourceKaleoNodeId
in interface KaleoTransitionModel
public java.lang.String getSourceKaleoNodeName()
getSourceKaleoNodeName
in interface KaleoTransitionModel
public KaleoNode getTargetKaleoNode() throws com.liferay.portal.kernel.exception.PortalException
getTargetKaleoNode
in interface KaleoTransition
com.liferay.portal.kernel.exception.PortalException
public long getTargetKaleoNodeId()
getTargetKaleoNodeId
in interface KaleoTransitionModel
public java.lang.String getTargetKaleoNodeName()
getTargetKaleoNodeName
in interface KaleoTransitionModel
public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface KaleoTransitionModel
public java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface KaleoTransitionModel
public java.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface KaleoTransitionModel
public boolean isDefaultTransition()
true
if this kaleo transition is default transition.isDefaultTransition
in interface KaleoTransitionModel
true
if this kaleo transition is default transition; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
prepareLocalizedFieldsForImport
in interface KaleoTransitionModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
prepareLocalizedFieldsForImport
in interface KaleoTransitionModel
com.liferay.portal.kernel.exception.LocaleException
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface KaleoTransitionModel
companyId
- the company ID of this kaleo transitionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface KaleoTransitionModel
createDate
- the create date of this kaleo transitionpublic void setDefaultTransition(boolean defaultTransition)
setDefaultTransition
in interface KaleoTransitionModel
defaultTransition
- the default transition of this kaleo transitionpublic void setDescription(java.lang.String description)
setDescription
in interface KaleoTransitionModel
description
- the description of this kaleo transitionpublic void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
setGroupId
in interface KaleoTransitionModel
groupId
- the group ID of this kaleo transitionpublic void setKaleoDefinitionId(long kaleoDefinitionId)
setKaleoDefinitionId
in interface KaleoTransitionModel
kaleoDefinitionId
- the kaleo definition ID of this kaleo transitionpublic void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
setKaleoDefinitionVersionId
in interface KaleoTransitionModel
kaleoDefinitionVersionId
- the kaleo definition version ID of this kaleo transitionpublic void setKaleoNodeId(long kaleoNodeId)
setKaleoNodeId
in interface KaleoTransitionModel
kaleoNodeId
- the kaleo node ID of this kaleo transitionpublic void setKaleoTransitionId(long kaleoTransitionId)
setKaleoTransitionId
in interface KaleoTransitionModel
kaleoTransitionId
- the kaleo transition ID of this kaleo transitionpublic void setLabel(java.lang.String label)
setLabel
in interface KaleoTransitionModel
label
- the label of this kaleo transitionpublic void setLabel(java.lang.String label, java.util.Locale locale)
setLabel
in interface KaleoTransitionModel
label
- the localized label of this kaleo transitionlocale
- the locale of the languagepublic void setLabel(java.lang.String label, java.util.Locale locale, java.util.Locale defaultLocale)
setLabel
in interface KaleoTransitionModel
label
- the localized label of this kaleo transitionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setLabelCurrentLanguageId(java.lang.String languageId)
setLabelCurrentLanguageId
in interface KaleoTransitionModel
public void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
setLabelMap
in interface KaleoTransitionModel
labelMap
- the locales and localized labels of this kaleo transitionpublic void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap, java.util.Locale defaultLocale)
setLabelMap
in interface KaleoTransitionModel
labelMap
- the locales and localized labels of this kaleo transitiondefaultLocale
- the default localepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface KaleoTransitionModel
modifiedDate
- the modified date of this kaleo transitionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface KaleoTransitionModel
mvccVersion
- the mvcc version of this kaleo transitionpublic void setName(java.lang.String name)
setName
in interface KaleoTransitionModel
name
- the name of this kaleo transitionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface KaleoTransitionModel
primaryKey
- the primary key of this kaleo transitionpublic void setSourceKaleoNodeId(long sourceKaleoNodeId)
setSourceKaleoNodeId
in interface KaleoTransitionModel
sourceKaleoNodeId
- the source kaleo node ID of this kaleo transitionpublic void setSourceKaleoNodeName(java.lang.String sourceKaleoNodeName)
setSourceKaleoNodeName
in interface KaleoTransitionModel
sourceKaleoNodeName
- the source kaleo node name of this kaleo transitionpublic void setTargetKaleoNodeId(long targetKaleoNodeId)
setTargetKaleoNodeId
in interface KaleoTransitionModel
targetKaleoNodeId
- the target kaleo node ID of this kaleo transitionpublic void setTargetKaleoNodeName(java.lang.String targetKaleoNodeName)
setTargetKaleoNodeName
in interface KaleoTransitionModel
targetKaleoNodeName
- the target kaleo node name of this kaleo transitionpublic void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface KaleoTransitionModel
userId
- the user ID of this kaleo transitionpublic void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface KaleoTransitionModel
userName
- the user name of this kaleo transitionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface KaleoTransitionModel
userUuid
- the user uuid of this kaleo transitionprotected KaleoTransitionWrapper wrap(KaleoTransition kaleoTransition)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoTransition>