Class KaleoInstanceTokenWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoInstanceToken>
com.liferay.portal.workflow.kaleo.model.KaleoInstanceTokenWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<KaleoInstanceToken>, com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoInstanceToken>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<KaleoInstanceToken>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, KaleoInstanceToken, KaleoInstanceTokenModel, Serializable, Cloneable, Comparable<KaleoInstanceToken>

public class KaleoInstanceTokenWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoInstanceToken> implements KaleoInstanceToken, com.liferay.portal.kernel.model.ModelWrapper<KaleoInstanceToken>

This class is a wrapper for KaleoInstanceToken.

See Also:
Generated:
  • Constructor Details

    • KaleoInstanceTokenWrapper

      public KaleoInstanceTokenWrapper(KaleoInstanceToken kaleoInstanceToken)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KaleoInstanceToken>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<KaleoInstanceToken>
    • cloneWithOriginalValues

      public KaleoInstanceToken cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KaleoInstanceToken>
      Specified by:
      cloneWithOriginalValues in interface KaleoInstanceTokenModel
    • getChildrenKaleoInstanceTokens

      public List<KaleoInstanceToken> getChildrenKaleoInstanceTokens()
      Specified by:
      getChildrenKaleoInstanceTokens in interface KaleoInstanceToken
    • getClassName

      public String getClassName()
      Returns the class name of this kaleo instance token.
      Specified by:
      getClassName in interface KaleoInstanceTokenModel
      Returns:
      the class name of this kaleo instance token
    • getClassPK

      public long getClassPK()
      Returns the class pk of this kaleo instance token.
      Specified by:
      getClassPK in interface KaleoInstanceTokenModel
      Returns:
      the class pk of this kaleo instance token
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this kaleo instance token.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface KaleoInstanceTokenModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this kaleo instance token
    • getCompleted

      public boolean getCompleted()
      Returns the completed of this kaleo instance token.
      Specified by:
      getCompleted in interface KaleoInstanceTokenModel
      Returns:
      the completed of this kaleo instance token
    • getCompletionDate

      public Date getCompletionDate()
      Returns the completion date of this kaleo instance token.
      Specified by:
      getCompletionDate in interface KaleoInstanceTokenModel
      Returns:
      the completion date of this kaleo instance token
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this kaleo instance token.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface KaleoInstanceTokenModel
      Returns:
      the create date of this kaleo instance token
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this kaleo instance token.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoInstanceToken>
      Specified by:
      getCtCollectionId in interface KaleoInstanceTokenModel
      Returns:
      the ct collection ID of this kaleo instance token
    • getCurrentKaleoNode

      public KaleoNode getCurrentKaleoNode() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCurrentKaleoNode in interface KaleoInstanceToken
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCurrentKaleoNodeId

      public long getCurrentKaleoNodeId()
      Returns the current kaleo node ID of this kaleo instance token.
      Specified by:
      getCurrentKaleoNodeId in interface KaleoInstanceTokenModel
      Returns:
      the current kaleo node ID of this kaleo instance token
    • getCurrentKaleoNodeName

      public String getCurrentKaleoNodeName()
      Returns the current kaleo node name of this kaleo instance token.
      Specified by:
      getCurrentKaleoNodeName in interface KaleoInstanceTokenModel
      Returns:
      the current kaleo node name of this kaleo instance token
    • getGroupId

      public long getGroupId()
      Returns the group ID of this kaleo instance token.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface KaleoInstanceTokenModel
      Returns:
      the group ID of this kaleo instance token
    • getIncompleteChildrenKaleoInstanceTokens

      public List<KaleoInstanceToken> getIncompleteChildrenKaleoInstanceTokens()
      Specified by:
      getIncompleteChildrenKaleoInstanceTokens in interface KaleoInstanceToken
    • getKaleoDefinitionId

      public long getKaleoDefinitionId()
      Returns the kaleo definition ID of this kaleo instance token.
      Specified by:
      getKaleoDefinitionId in interface KaleoInstanceTokenModel
      Returns:
      the kaleo definition ID of this kaleo instance token
    • getKaleoDefinitionVersionId

      public long getKaleoDefinitionVersionId()
      Returns the kaleo definition version ID of this kaleo instance token.
      Specified by:
      getKaleoDefinitionVersionId in interface KaleoInstanceTokenModel
      Returns:
      the kaleo definition version ID of this kaleo instance token
    • getKaleoInstance

      public KaleoInstance getKaleoInstance() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getKaleoInstance in interface KaleoInstanceToken
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKaleoInstanceId

      public long getKaleoInstanceId()
      Returns the kaleo instance ID of this kaleo instance token.
      Specified by:
      getKaleoInstanceId in interface KaleoInstanceTokenModel
      Returns:
      the kaleo instance ID of this kaleo instance token
    • getKaleoInstanceTokenId

      public long getKaleoInstanceTokenId()
      Returns the kaleo instance token ID of this kaleo instance token.
      Specified by:
      getKaleoInstanceTokenId in interface KaleoInstanceTokenModel
      Returns:
      the kaleo instance token ID of this kaleo instance token
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this kaleo instance token.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface KaleoInstanceTokenModel
      Returns:
      the modified date of this kaleo instance token
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this kaleo instance token.
      Specified by:
      getMvccVersion in interface KaleoInstanceTokenModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this kaleo instance token
    • getParentKaleoInstanceToken

      public KaleoInstanceToken getParentKaleoInstanceToken() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getParentKaleoInstanceToken in interface KaleoInstanceToken
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getParentKaleoInstanceTokenId

      public long getParentKaleoInstanceTokenId()
      Returns the parent kaleo instance token ID of this kaleo instance token.
      Specified by:
      getParentKaleoInstanceTokenId in interface KaleoInstanceTokenModel
      Returns:
      the parent kaleo instance token ID of this kaleo instance token
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this kaleo instance token.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoInstanceToken>
      Specified by:
      getPrimaryKey in interface KaleoInstanceTokenModel
      Returns:
      the primary key of this kaleo instance token
    • getUserId

      public long getUserId()
      Returns the user ID of this kaleo instance token.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface KaleoInstanceTokenModel
      Returns:
      the user ID of this kaleo instance token
    • getUserName

      public String getUserName()
      Returns the user name of this kaleo instance token.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface KaleoInstanceTokenModel
      Returns:
      the user name of this kaleo instance token
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this kaleo instance token.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface KaleoInstanceTokenModel
      Returns:
      the user uuid of this kaleo instance token
    • hasIncompleteChildrenKaleoInstanceToken

      public boolean hasIncompleteChildrenKaleoInstanceToken()
      Specified by:
      hasIncompleteChildrenKaleoInstanceToken in interface KaleoInstanceToken
    • isCompleted

      public boolean isCompleted()
      Returns true if this kaleo instance token is completed.
      Specified by:
      isCompleted in interface KaleoInstanceTokenModel
      Returns:
      true if this kaleo instance token is completed; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setClassName

      public void setClassName(String className)
      Sets the class name of this kaleo instance token.
      Specified by:
      setClassName in interface KaleoInstanceTokenModel
      Parameters:
      className - the class name of this kaleo instance token
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this kaleo instance token.
      Specified by:
      setClassPK in interface KaleoInstanceTokenModel
      Parameters:
      classPK - the class pk of this kaleo instance token
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this kaleo instance token.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface KaleoInstanceTokenModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this kaleo instance token
    • setCompleted

      public void setCompleted(boolean completed)
      Sets whether this kaleo instance token is completed.
      Specified by:
      setCompleted in interface KaleoInstanceTokenModel
      Parameters:
      completed - the completed of this kaleo instance token
    • setCompletionDate

      public void setCompletionDate(Date completionDate)
      Sets the completion date of this kaleo instance token.
      Specified by:
      setCompletionDate in interface KaleoInstanceTokenModel
      Parameters:
      completionDate - the completion date of this kaleo instance token
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this kaleo instance token.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface KaleoInstanceTokenModel
      Parameters:
      createDate - the create date of this kaleo instance token
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this kaleo instance token.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoInstanceToken>
      Specified by:
      setCtCollectionId in interface KaleoInstanceTokenModel
      Parameters:
      ctCollectionId - the ct collection ID of this kaleo instance token
    • setCurrentKaleoNode

      public void setCurrentKaleoNode(KaleoNode kaleoNode) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      setCurrentKaleoNode in interface KaleoInstanceToken
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • setCurrentKaleoNodeId

      public void setCurrentKaleoNodeId(long currentKaleoNodeId)
      Sets the current kaleo node ID of this kaleo instance token.
      Specified by:
      setCurrentKaleoNodeId in interface KaleoInstanceTokenModel
      Parameters:
      currentKaleoNodeId - the current kaleo node ID of this kaleo instance token
    • setCurrentKaleoNodeName

      public void setCurrentKaleoNodeName(String currentKaleoNodeName)
      Sets the current kaleo node name of this kaleo instance token.
      Specified by:
      setCurrentKaleoNodeName in interface KaleoInstanceTokenModel
      Parameters:
      currentKaleoNodeName - the current kaleo node name of this kaleo instance token
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this kaleo instance token.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface KaleoInstanceTokenModel
      Parameters:
      groupId - the group ID of this kaleo instance token
    • setKaleoDefinitionId

      public void setKaleoDefinitionId(long kaleoDefinitionId)
      Sets the kaleo definition ID of this kaleo instance token.
      Specified by:
      setKaleoDefinitionId in interface KaleoInstanceTokenModel
      Parameters:
      kaleoDefinitionId - the kaleo definition ID of this kaleo instance token
    • setKaleoDefinitionVersionId

      public void setKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Sets the kaleo definition version ID of this kaleo instance token.
      Specified by:
      setKaleoDefinitionVersionId in interface KaleoInstanceTokenModel
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID of this kaleo instance token
    • setKaleoInstanceId

      public void setKaleoInstanceId(long kaleoInstanceId)
      Sets the kaleo instance ID of this kaleo instance token.
      Specified by:
      setKaleoInstanceId in interface KaleoInstanceTokenModel
      Parameters:
      kaleoInstanceId - the kaleo instance ID of this kaleo instance token
    • setKaleoInstanceTokenId

      public void setKaleoInstanceTokenId(long kaleoInstanceTokenId)
      Sets the kaleo instance token ID of this kaleo instance token.
      Specified by:
      setKaleoInstanceTokenId in interface KaleoInstanceTokenModel
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID of this kaleo instance token
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this kaleo instance token.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface KaleoInstanceTokenModel
      Parameters:
      modifiedDate - the modified date of this kaleo instance token
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this kaleo instance token.
      Specified by:
      setMvccVersion in interface KaleoInstanceTokenModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this kaleo instance token
    • setParentKaleoInstanceTokenId

      public void setParentKaleoInstanceTokenId(long parentKaleoInstanceTokenId)
      Sets the parent kaleo instance token ID of this kaleo instance token.
      Specified by:
      setParentKaleoInstanceTokenId in interface KaleoInstanceTokenModel
      Parameters:
      parentKaleoInstanceTokenId - the parent kaleo instance token ID of this kaleo instance token
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this kaleo instance token.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<KaleoInstanceToken>
      Specified by:
      setPrimaryKey in interface KaleoInstanceTokenModel
      Parameters:
      primaryKey - the primary key of this kaleo instance token
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this kaleo instance token.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface KaleoInstanceTokenModel
      Parameters:
      userId - the user ID of this kaleo instance token
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this kaleo instance token.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface KaleoInstanceTokenModel
      Parameters:
      userName - the user name of this kaleo instance token
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this kaleo instance token.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface KaleoInstanceTokenModel
      Parameters:
      userUuid - the user uuid of this kaleo instance token
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface KaleoInstanceTokenModel
    • getAttributeGetterFunctions

      public Map<String,Function<KaleoInstanceToken,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<KaleoInstanceToken>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<KaleoInstanceToken,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<KaleoInstanceToken>
    • wrap

      protected KaleoInstanceTokenWrapper wrap(KaleoInstanceToken kaleoInstanceToken)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoInstanceToken>