Class KaleoNodeWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoNode>
com.liferay.portal.workflow.kaleo.model.KaleoNodeWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<KaleoNode>
,com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<KaleoNode>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,KaleoNode
,KaleoNodeModel
,Serializable
,Cloneable
,Comparable<KaleoNode>
public class KaleoNodeWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoNode>
implements KaleoNode, com.liferay.portal.kernel.model.ModelWrapper<KaleoNode>
This class is a wrapper for KaleoNode
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.workflow.kaleo.model.KaleoNode
KALEO_NODE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this kaleo node.Returns the create date of this kaleo node.long
Returns the ct collection ID of this kaleo node.Returns the description of this kaleo node.long
Returns the group ID of this kaleo node.boolean
Returns the initial of this kaleo node.long
Returns the kaleo definition ID of this kaleo node.long
Returns the kaleo definition version ID of this kaleo node.long
Returns the kaleo node ID of this kaleo node.getKaleoTransition
(String name) getLabel()
Returns the label of this kaleo node.Returns the localized label of this kaleo node in the language.Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.Returns the localized label of this kaleo node in the language.Returns the localized label of this kaleo node 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 node.Returns the metadata of this kaleo node.Returns the modified date of this kaleo node.long
Returns the mvcc version of this kaleo node.getName()
Returns the name of this kaleo node.long
Returns the primary key of this kaleo node.boolean
Returns the terminal of this kaleo node.getType()
Returns the type of this kaleo node.long
Returns the user ID of this kaleo node.Returns the user name of this kaleo node.Returns the user uuid of this kaleo node.boolean
boolean
Returnstrue
if this kaleo node is initial.boolean
Returnstrue
if this kaleo node is terminal.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this kaleo node.void
setCreateDate
(Date createDate) Sets the create date of this kaleo node.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this kaleo node.void
setDescription
(String description) Sets the description of this kaleo node.void
setGroupId
(long groupId) Sets the group ID of this kaleo node.void
setInitial
(boolean initial) Sets whether this kaleo node is initial.void
setKaleoDefinitionId
(long kaleoDefinitionId) Sets the kaleo definition ID of this kaleo node.void
setKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Sets the kaleo definition version ID of this kaleo node.void
setKaleoNodeId
(long kaleoNodeId) Sets the kaleo node ID of this kaleo node.void
Sets the label of this kaleo node.void
Sets the localized label of this kaleo node in the language.void
Sets the localized label of this kaleo node 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 node from the map of locales and localized labels.void
setLabelMap
(Map<Locale, String> labelMap, Locale defaultLocale) Sets the localized labels of this kaleo node from the map of locales and localized labels, and sets the default locale.void
setMetadata
(String metadata) Sets the metadata of this kaleo node.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this kaleo node.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this kaleo node.void
Sets the name of this kaleo node.void
setPrimaryKey
(long primaryKey) Sets the primary key of this kaleo node.void
setTerminal
(boolean terminal) Sets whether this kaleo node is terminal.void
Sets the type of this kaleo node.void
setUserId
(long userId) Sets the user ID of this kaleo node.void
setUserName
(String userName) Sets the user name of this kaleo node.void
setUserUuid
(String userUuid) Sets the user uuid of this kaleo node.protected KaleoNodeWrapper
Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
KaleoNodeWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
- Specified by:
cloneWithOriginalValues
in interfaceKaleoNodeModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceKaleoNodeModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this kaleo node.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceKaleoNodeModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this kaleo node
-
getCreateDate
Returns the create date of this kaleo node.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceKaleoNodeModel
- Returns:
- the create date of this kaleo node
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this kaleo node.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Specified by:
getCtCollectionId
in interfaceKaleoNodeModel
- Returns:
- the ct collection ID of this kaleo node
-
getDefaultKaleoTransition
public KaleoTransition getDefaultKaleoTransition() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDefaultKaleoTransition
in interfaceKaleoNode
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceKaleoNodeModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this kaleo node.- Specified by:
getDescription
in interfaceKaleoNodeModel
- Returns:
- the description of this kaleo node
-
getGroupId
public long getGroupId()Returns the group ID of this kaleo node.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceKaleoNodeModel
- Returns:
- the group ID of this kaleo node
-
getInitial
public boolean getInitial()Returns the initial of this kaleo node.- Specified by:
getInitial
in interfaceKaleoNodeModel
- Returns:
- the initial of this kaleo node
-
getKaleoDefinitionId
public long getKaleoDefinitionId()Returns the kaleo definition ID of this kaleo node.- Specified by:
getKaleoDefinitionId
in interfaceKaleoNodeModel
- Returns:
- the kaleo definition ID of this kaleo node
-
getKaleoDefinitionVersionId
public long getKaleoDefinitionVersionId()Returns the kaleo definition version ID of this kaleo node.- Specified by:
getKaleoDefinitionVersionId
in interfaceKaleoNodeModel
- Returns:
- the kaleo definition version ID of this kaleo node
-
getKaleoNodeId
public long getKaleoNodeId()Returns the kaleo node ID of this kaleo node.- Specified by:
getKaleoNodeId
in interfaceKaleoNodeModel
- Returns:
- the kaleo node ID of this kaleo node
-
getKaleoTransition
public KaleoTransition getKaleoTransition(String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKaleoTransition
in interfaceKaleoNode
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKaleoTransitions
- Specified by:
getKaleoTransitions
in interfaceKaleoNode
-
getLabel
Returns the label of this kaleo node.- Specified by:
getLabel
in interfaceKaleoNodeModel
- Returns:
- the label of this kaleo node
-
getLabel
Returns the localized label of this kaleo node in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceKaleoNodeModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized label of this kaleo node
-
getLabel
Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceKaleoNodeModel
- 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 node. 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 node in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceKaleoNodeModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized label of this kaleo node
-
getLabel
Returns the localized label of this kaleo node in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getLabel
in interfaceKaleoNodeModel
- 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 node
-
getLabelCurrentLanguageId
- Specified by:
getLabelCurrentLanguageId
in interfaceKaleoNodeModel
-
getLabelCurrentValue
- Specified by:
getLabelCurrentValue
in interfaceKaleoNodeModel
-
getLabelMap
Returns a map of the locales and localized labels of this kaleo node.- Specified by:
getLabelMap
in interfaceKaleoNodeModel
- Returns:
- the locales and localized labels of this kaleo node
-
getMetadata
Returns the metadata of this kaleo node.- Specified by:
getMetadata
in interfaceKaleoNodeModel
- Returns:
- the metadata of this kaleo node
-
getModifiedDate
Returns the modified date of this kaleo node.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceKaleoNodeModel
- Returns:
- the modified date of this kaleo node
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this kaleo node.- Specified by:
getMvccVersion
in interfaceKaleoNodeModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this kaleo node
-
getName
Returns the name of this kaleo node.- Specified by:
getName
in interfaceKaleoNodeModel
- Returns:
- the name of this kaleo node
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this kaleo node.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Specified by:
getPrimaryKey
in interfaceKaleoNodeModel
- Returns:
- the primary key of this kaleo node
-
getTerminal
public boolean getTerminal()Returns the terminal of this kaleo node.- Specified by:
getTerminal
in interfaceKaleoNodeModel
- Returns:
- the terminal of this kaleo node
-
getType
Returns the type of this kaleo node.- Specified by:
getType
in interfaceKaleoNodeModel
- Returns:
- the type of this kaleo node
-
getUserId
public long getUserId()Returns the user ID of this kaleo node.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceKaleoNodeModel
- Returns:
- the user ID of this kaleo node
-
getUserName
Returns the user name of this kaleo node.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceKaleoNodeModel
- Returns:
- the user name of this kaleo node
-
getUserUuid
Returns the user uuid of this kaleo node.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceKaleoNodeModel
- Returns:
- the user uuid of this kaleo node
-
hasKaleoTransition
public boolean hasKaleoTransition()- Specified by:
hasKaleoTransition
in interfaceKaleoNode
-
isInitial
public boolean isInitial()Returnstrue
if this kaleo node is initial.- Specified by:
isInitial
in interfaceKaleoNodeModel
- Returns:
true
if this kaleo node is initial;false
otherwise
-
isTerminal
public boolean isTerminal()Returnstrue
if this kaleo node is terminal.- Specified by:
isTerminal
in interfaceKaleoNodeModel
- Returns:
true
if this kaleo node is terminal;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceKaleoNodeModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.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 interfaceKaleoNodeModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.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 node.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceKaleoNodeModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this kaleo node
-
setCreateDate
Sets the create date of this kaleo node.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceKaleoNodeModel
- Parameters:
createDate
- the create date of this kaleo node
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kaleo node.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Specified by:
setCtCollectionId
in interfaceKaleoNodeModel
- Parameters:
ctCollectionId
- the ct collection ID of this kaleo node
-
setDescription
Sets the description of this kaleo node.- Specified by:
setDescription
in interfaceKaleoNodeModel
- Parameters:
description
- the description of this kaleo node
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this kaleo node.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceKaleoNodeModel
- Parameters:
groupId
- the group ID of this kaleo node
-
setInitial
public void setInitial(boolean initial) Sets whether this kaleo node is initial.- Specified by:
setInitial
in interfaceKaleoNodeModel
- Parameters:
initial
- the initial of this kaleo node
-
setKaleoDefinitionId
public void setKaleoDefinitionId(long kaleoDefinitionId) Sets the kaleo definition ID of this kaleo node.- Specified by:
setKaleoDefinitionId
in interfaceKaleoNodeModel
- Parameters:
kaleoDefinitionId
- the kaleo definition ID of this kaleo node
-
setKaleoDefinitionVersionId
public void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Sets the kaleo definition version ID of this kaleo node.- Specified by:
setKaleoDefinitionVersionId
in interfaceKaleoNodeModel
- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID of this kaleo node
-
setKaleoNodeId
public void setKaleoNodeId(long kaleoNodeId) Sets the kaleo node ID of this kaleo node.- Specified by:
setKaleoNodeId
in interfaceKaleoNodeModel
- Parameters:
kaleoNodeId
- the kaleo node ID of this kaleo node
-
setLabel
Sets the label of this kaleo node.- Specified by:
setLabel
in interfaceKaleoNodeModel
- Parameters:
label
- the label of this kaleo node
-
setLabel
Sets the localized label of this kaleo node in the language.- Specified by:
setLabel
in interfaceKaleoNodeModel
- Parameters:
label
- the localized label of this kaleo nodelocale
- the locale of the language
-
setLabel
Sets the localized label of this kaleo node in the language, and sets the default locale.- Specified by:
setLabel
in interfaceKaleoNodeModel
- Parameters:
label
- the localized label of this kaleo nodelocale
- the locale of the languagedefaultLocale
- the default locale
-
setLabelCurrentLanguageId
- Specified by:
setLabelCurrentLanguageId
in interfaceKaleoNodeModel
-
setLabelMap
Sets the localized labels of this kaleo node from the map of locales and localized labels.- Specified by:
setLabelMap
in interfaceKaleoNodeModel
- Parameters:
labelMap
- the locales and localized labels of this kaleo node
-
setLabelMap
Sets the localized labels of this kaleo node from the map of locales and localized labels, and sets the default locale.- Specified by:
setLabelMap
in interfaceKaleoNodeModel
- Parameters:
labelMap
- the locales and localized labels of this kaleo nodedefaultLocale
- the default locale
-
setMetadata
Sets the metadata of this kaleo node.- Specified by:
setMetadata
in interfaceKaleoNodeModel
- Parameters:
metadata
- the metadata of this kaleo node
-
setModifiedDate
Sets the modified date of this kaleo node.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceKaleoNodeModel
- Parameters:
modifiedDate
- the modified date of this kaleo node
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this kaleo node.- Specified by:
setMvccVersion
in interfaceKaleoNodeModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this kaleo node
-
setName
Sets the name of this kaleo node.- Specified by:
setName
in interfaceKaleoNodeModel
- Parameters:
name
- the name of this kaleo node
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this kaleo node.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>
- Specified by:
setPrimaryKey
in interfaceKaleoNodeModel
- Parameters:
primaryKey
- the primary key of this kaleo node
-
setTerminal
public void setTerminal(boolean terminal) Sets whether this kaleo node is terminal.- Specified by:
setTerminal
in interfaceKaleoNodeModel
- Parameters:
terminal
- the terminal of this kaleo node
-
setType
Sets the type of this kaleo node.- Specified by:
setType
in interfaceKaleoNodeModel
- Parameters:
type
- the type of this kaleo node
-
setUserId
public void setUserId(long userId) Sets the user ID of this kaleo node.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceKaleoNodeModel
- Parameters:
userId
- the user ID of this kaleo node
-
setUserName
Sets the user name of this kaleo node.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceKaleoNodeModel
- Parameters:
userName
- the user name of this kaleo node
-
setUserUuid
Sets the user uuid of this kaleo node.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceKaleoNodeModel
- Parameters:
userUuid
- the user uuid of this kaleo node
-
toXmlString
- Specified by:
toXmlString
in interfaceKaleoNodeModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoNode>
-