Class KaleoInstanceWrapper

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

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

This class is a wrapper for KaleoInstance.

See Also:
Generated:
  • Constructor Details

    • KaleoInstanceWrapper

      public KaleoInstanceWrapper(KaleoInstance kaleoInstance)
  • Method Details

    • getModelAttributes

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

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

      public KaleoInstance cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<KaleoInstance>
      Specified by:
      cloneWithOriginalValues in interface KaleoInstanceModel
    • getActive

      public boolean getActive()
      Returns the active of this kaleo instance.
      Specified by:
      getActive in interface KaleoInstanceModel
      Returns:
      the active of this kaleo instance
    • getClassName

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

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

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

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

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

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

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

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

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

      public String getKaleoDefinitionName()
      Returns the kaleo definition name of this kaleo instance.
      Specified by:
      getKaleoDefinitionName in interface KaleoInstanceModel
      Returns:
      the kaleo definition name of this kaleo instance
    • getKaleoDefinitionVersion

      public int getKaleoDefinitionVersion()
      Returns the kaleo definition version of this kaleo instance.
      Specified by:
      getKaleoDefinitionVersion in interface KaleoInstanceModel
      Returns:
      the kaleo definition version of this kaleo instance
    • getKaleoDefinitionVersionId

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

      public long getKaleoInstanceId()
      Returns the kaleo instance ID of this kaleo instance.
      Specified by:
      getKaleoInstanceId in interface KaleoInstanceModel
      Returns:
      the kaleo instance ID of this kaleo instance
    • getModifiedDate

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

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

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

      public KaleoInstanceToken getRootKaleoInstanceToken(Map<String,Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRootKaleoInstanceToken in interface KaleoInstance
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRootKaleoInstanceToken

      public KaleoInstanceToken getRootKaleoInstanceToken(com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRootKaleoInstanceToken in interface KaleoInstance
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRootKaleoInstanceTokenId

      public long getRootKaleoInstanceTokenId()
      Returns the root kaleo instance token ID of this kaleo instance.
      Specified by:
      getRootKaleoInstanceTokenId in interface KaleoInstanceModel
      Returns:
      the root kaleo instance token ID of this kaleo instance
    • getUserId

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

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

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

      public String getWorkflowContext()
      Returns the workflow context of this kaleo instance.
      Specified by:
      getWorkflowContext in interface KaleoInstanceModel
      Returns:
      the workflow context of this kaleo instance
    • isActive

      public boolean isActive()
      Returns true if this kaleo instance is active.
      Specified by:
      isActive in interface KaleoInstanceModel
      Returns:
      true if this kaleo instance is active; false otherwise
    • isCompleted

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

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

      public void setActive(boolean active)
      Sets whether this kaleo instance is active.
      Specified by:
      setActive in interface KaleoInstanceModel
      Parameters:
      active - the active of this kaleo instance
    • setClassName

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

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

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

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

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

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

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

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

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

      public void setKaleoDefinitionName(String kaleoDefinitionName)
      Sets the kaleo definition name of this kaleo instance.
      Specified by:
      setKaleoDefinitionName in interface KaleoInstanceModel
      Parameters:
      kaleoDefinitionName - the kaleo definition name of this kaleo instance
    • setKaleoDefinitionVersion

      public void setKaleoDefinitionVersion(int kaleoDefinitionVersion)
      Sets the kaleo definition version of this kaleo instance.
      Specified by:
      setKaleoDefinitionVersion in interface KaleoInstanceModel
      Parameters:
      kaleoDefinitionVersion - the kaleo definition version of this kaleo instance
    • setKaleoDefinitionVersionId

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

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

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

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

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

      public void setRootKaleoInstanceTokenId(long rootKaleoInstanceTokenId)
      Sets the root kaleo instance token ID of this kaleo instance.
      Specified by:
      setRootKaleoInstanceTokenId in interface KaleoInstanceModel
      Parameters:
      rootKaleoInstanceTokenId - the root kaleo instance token ID of this kaleo instance
    • setUserId

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

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

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

      public void setWorkflowContext(String workflowContext)
      Sets the workflow context of this kaleo instance.
      Specified by:
      setWorkflowContext in interface KaleoInstanceModel
      Parameters:
      workflowContext - the workflow context of this kaleo instance
    • toXmlString

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

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

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

      protected KaleoInstanceWrapper wrap(KaleoInstance kaleoInstance)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<KaleoInstance>