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
modelFields inherited from interface com.liferay.portal.workflow.kaleo.model.KaleoNode
KALEO_NODE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]longReturns the company ID of this kaleo node.Returns the create date of this kaleo node.longReturns the ct collection ID of this kaleo node.Returns the description of this kaleo node.longReturns the group ID of this kaleo node.booleanReturns the initial of this kaleo node.longReturns the kaleo definition ID of this kaleo node.longReturns the kaleo definition version ID of this kaleo node.longReturns 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.longReturns the mvcc version of this kaleo node.getName()Returns the name of this kaleo node.longReturns the primary key of this kaleo node.booleanReturns the terminal of this kaleo node.getType()Returns the type of this kaleo node.longReturns the user ID of this kaleo node.Returns the user name of this kaleo node.Returns the user uuid of this kaleo node.booleanbooleanReturnstrueif this kaleo node is initial.booleanReturnstrueif this kaleo node is terminal.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCompanyId(long companyId) Sets the company ID of this kaleo node.voidsetCreateDate(Date createDate) Sets the create date of this kaleo node.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this kaleo node.voidsetDescription(String description) Sets the description of this kaleo node.voidsetGroupId(long groupId) Sets the group ID of this kaleo node.voidsetInitial(boolean initial) Sets whether this kaleo node is initial.voidsetKaleoDefinitionId(long kaleoDefinitionId) Sets the kaleo definition ID of this kaleo node.voidsetKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Sets the kaleo definition version ID of this kaleo node.voidsetKaleoNodeId(long kaleoNodeId) Sets the kaleo node ID of this kaleo node.voidSets the label of this kaleo node.voidSets the localized label of this kaleo node in the language.voidSets the localized label of this kaleo node in the language, and sets the default locale.voidsetLabelCurrentLanguageId(String languageId) voidsetLabelMap(Map<Locale, String> labelMap) Sets the localized labels of this kaleo node from the map of locales and localized labels.voidsetLabelMap(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.voidsetMetadata(String metadata) Sets the metadata of this kaleo node.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this kaleo node.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this kaleo node.voidSets the name of this kaleo node.voidsetPrimaryKey(long primaryKey) Sets the primary key of this kaleo node.voidsetTerminal(boolean terminal) Sets whether this kaleo node is terminal.voidSets the type of this kaleo node.voidsetUserId(long userId) Sets the user ID of this kaleo node.voidsetUserName(String userName) Sets the user name of this kaleo node.voidsetUserUuid(String userUuid) Sets the user uuid of this kaleo node.protected KaleoNodeWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
KaleoNodeWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>- Specified by:
cloneWithOriginalValuesin interfaceKaleoNodeModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceKaleoNodeModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this kaleo node.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceKaleoNodeModel- Specified by:
getCompanyIdin 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceKaleoNodeModel- Returns:
- the create date of this kaleo node
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this kaleo node.- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>- Specified by:
getCtCollectionIdin interfaceKaleoNodeModel- Returns:
- the ct collection ID of this kaleo node
-
getDefaultKaleoTransition
public KaleoTransition getDefaultKaleoTransition() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getDefaultKaleoTransitionin interfaceKaleoNode- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceKaleoNodeModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this kaleo node.- Specified by:
getDescriptionin interfaceKaleoNodeModel- Returns:
- the description of this kaleo node
-
getGroupId
public long getGroupId()Returns the group ID of this kaleo node.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
getGroupIdin interfaceKaleoNodeModel- Returns:
- the group ID of this kaleo node
-
getInitial
public boolean getInitial()Returns the initial of this kaleo node.- Specified by:
getInitialin interfaceKaleoNodeModel- Returns:
- the initial of this kaleo node
-
getKaleoDefinitionId
public long getKaleoDefinitionId()Returns the kaleo definition ID of this kaleo node.- Specified by:
getKaleoDefinitionIdin 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:
getKaleoDefinitionVersionIdin 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:
getKaleoNodeIdin 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:
getKaleoTransitionin interfaceKaleoNode- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKaleoTransitions
- Specified by:
getKaleoTransitionsin interfaceKaleoNode
-
getLabel
Returns the label of this kaleo node.- Specified by:
getLabelin 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:
getLabelin 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:
getLabelin 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
useDefaultisfalseand 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:
getLabelin 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:
getLabelin 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:
getLabelCurrentLanguageIdin interfaceKaleoNodeModel
-
getLabelCurrentValue
- Specified by:
getLabelCurrentValuein interfaceKaleoNodeModel
-
getLabelMap
Returns a map of the locales and localized labels of this kaleo node.- Specified by:
getLabelMapin interfaceKaleoNodeModel- Returns:
- the locales and localized labels of this kaleo node
-
getMetadata
Returns the metadata of this kaleo node.- Specified by:
getMetadatain interfaceKaleoNodeModel- Returns:
- the metadata of this kaleo node
-
getModifiedDate
Returns the modified date of this kaleo node.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceKaleoNodeModel- Returns:
- the modified date of this kaleo node
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this kaleo node.- Specified by:
getMvccVersionin interfaceKaleoNodeModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this kaleo node
-
getName
Returns the name of this kaleo node.- Specified by:
getNamein interfaceKaleoNodeModel- Returns:
- the name of this kaleo node
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this kaleo node.- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>- Specified by:
getPrimaryKeyin interfaceKaleoNodeModel- Returns:
- the primary key of this kaleo node
-
getTerminal
public boolean getTerminal()Returns the terminal of this kaleo node.- Specified by:
getTerminalin interfaceKaleoNodeModel- Returns:
- the terminal of this kaleo node
-
getType
Returns the type of this kaleo node.- Specified by:
getTypein interfaceKaleoNodeModel- Returns:
- the type of this kaleo node
-
getUserId
public long getUserId()Returns the user ID of this kaleo node.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceKaleoNodeModel- Returns:
- the user ID of this kaleo node
-
getUserName
Returns the user name of this kaleo node.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceKaleoNodeModel- Returns:
- the user name of this kaleo node
-
getUserUuid
Returns the user uuid of this kaleo node.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceKaleoNodeModel- Returns:
- the user uuid of this kaleo node
-
hasKaleoTransition
public boolean hasKaleoTransition()- Specified by:
hasKaleoTransitionin interfaceKaleoNode
-
isInitial
public boolean isInitial()Returnstrueif this kaleo node is initial.- Specified by:
isInitialin interfaceKaleoNodeModel- Returns:
trueif this kaleo node is initial;falseotherwise
-
isTerminal
public boolean isTerminal()Returnstrueif this kaleo node is terminal.- Specified by:
isTerminalin interfaceKaleoNodeModel- Returns:
trueif this kaleo node is terminal;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfaceKaleoNodeModel- Specified by:
prepareLocalizedFieldsForImportin 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:
prepareLocalizedFieldsForImportin interfaceKaleoNodeModel- Specified by:
prepareLocalizedFieldsForImportin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceKaleoNodeModel- Specified by:
setCompanyIdin 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>- Specified by:
setCtCollectionIdin interfaceKaleoNodeModel- Parameters:
ctCollectionId- the ct collection ID of this kaleo node
-
setDescription
Sets the description of this kaleo node.- Specified by:
setDescriptionin 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:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
setGroupIdin 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:
setInitialin 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:
setKaleoDefinitionIdin 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:
setKaleoDefinitionVersionIdin 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:
setKaleoNodeIdin interfaceKaleoNodeModel- Parameters:
kaleoNodeId- the kaleo node ID of this kaleo node
-
setLabel
Sets the label of this kaleo node.- Specified by:
setLabelin interfaceKaleoNodeModel- Parameters:
label- the label of this kaleo node
-
setLabel
Sets the localized label of this kaleo node in the language.- Specified by:
setLabelin 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:
setLabelin interfaceKaleoNodeModel- Parameters:
label- the localized label of this kaleo nodelocale- the locale of the languagedefaultLocale- the default locale
-
setLabelCurrentLanguageId
- Specified by:
setLabelCurrentLanguageIdin interfaceKaleoNodeModel
-
setLabelMap
Sets the localized labels of this kaleo node from the map of locales and localized labels.- Specified by:
setLabelMapin 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:
setLabelMapin 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:
setMetadatain interfaceKaleoNodeModel- Parameters:
metadata- the metadata of this kaleo node
-
setModifiedDate
Sets the modified date of this kaleo node.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceKaleoNodeModel- Specified by:
setMvccVersionin 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:
setNamein 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:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<KaleoNode>- Specified by:
setPrimaryKeyin 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:
setTerminalin interfaceKaleoNodeModel- Parameters:
terminal- the terminal of this kaleo node
-
setType
Sets the type of this kaleo node.- Specified by:
setTypein 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceKaleoNodeModel- Parameters:
userId- the user ID of this kaleo node
-
setUserName
Sets the user name of this kaleo node.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceKaleoNodeModel- Parameters:
userName- the user name of this kaleo node
-
setUserUuid
Sets the user uuid of this kaleo node.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceKaleoNodeModel- Parameters:
userUuid- the user uuid of this kaleo node
-
toXmlString
- Specified by:
toXmlStringin interfaceKaleoNodeModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<KaleoNode>
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoNode>
-