Class ProcessWorkflow


  • public class ProcessWorkflow
    extends java.lang.Object
    Proccess Workflow contains a different operations and status attribute
    • Method Detail

      • getState

        public ProcessState getState()
        Set the state of the workflow process
        Returns:
        ProcessState
      • getSteps

        public java.util.List<ProcessStep> getSteps()
      • getStatus

        public StatusCode getStatus()
        get the status of the processWorkflow
        Returns:
        StatusCode
      • setStatus

        public ProcessWorkflow setStatus​(StatusCode status)
        set the status of the workflow
        Parameters:
        status -
        Returns:
        this
      • getTargetStatus

        public StatusCode getTargetStatus()
      • isStepByStep

        public boolean isStepByStep()
      • setStepByStep

        public ProcessWorkflow setStepByStep​(boolean stepByStep)
      • getProcessDate

        public java.util.Date getProcessDate()
        Returns:
        the processDate
      • setProcessDate

        public ProcessWorkflow setProcessDate​(java.util.Date processDate)
        Parameters:
        processDate - the processDate to set
        Returns:
        this
      • getOperationId

        public java.lang.String getOperationId()
        Returns:
        the operationId
      • setOperationId

        public ProcessWorkflow setOperationId​(java.lang.String operationId)
        Parameters:
        operationId - the operationId to set
        Returns:
        this
      • getMessageIdentifier

        public java.lang.String getMessageIdentifier()
        Returns:
        the messageIdentifier
      • setMessageIdentifier

        public ProcessWorkflow setMessageIdentifier​(java.lang.String messageIdentifier)
        Parameters:
        messageIdentifier - the messageIdentifier to set
        Returns:
        this
      • getProdService

        public java.lang.String getProdService()
        Returns:
        the prodService
      • setProdService

        public ProcessWorkflow setProdService​(java.lang.String prodService)
        Parameters:
        prodService - the prodService to set
        Returns:
        this
      • getLogbookTypeProcess

        public LogbookTypeProcess getLogbookTypeProcess()
        Returns:
        the logbookTypeProcess
      • setLogbookTypeProcess

        public ProcessWorkflow setLogbookTypeProcess​(LogbookTypeProcess logbookTypeProcess)
        Parameters:
        logbookTypeProcess - the logbookTypeProcess
        Returns:
        this
      • getTenantId

        public java.lang.Integer getTenantId()
        Returns:
        the tenant
      • setTenantId

        public ProcessWorkflow setTenantId​(java.lang.Integer tenantId)
        Parameters:
        tenantId - to set
        Returns:
        this
      • getWorkflowId

        public java.lang.String getWorkflowId()
        Returns:
        the workflow IDENTIFIER
      • setWorkflowId

        public ProcessWorkflow setWorkflowId​(java.lang.String workflowId)
        Parameters:
        workflowId - the workflow IDENTIFIER
        Returns:
        current instance
      • getContextId

        public java.lang.String getContextId()
        Returns:
        The context id
      • setContextId

        public ProcessWorkflow setContextId​(java.lang.String contextId)
        Parameters:
        contextId - the context ID
        Returns:
        current instance
      • getApplicationId

        public java.lang.String getApplicationId()
      • setApplicationId

        public ProcessWorkflow setApplicationId​(java.lang.String applicationId)
      • getProcessCompletedDate

        public java.time.LocalDateTime getProcessCompletedDate()
      • setProcessCompletedDate

        public ProcessWorkflow setProcessCompletedDate​(java.time.LocalDateTime processCompletedDate)
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.String> getParameters()
      • setParameters

        public ProcessWorkflow setParameters​(java.util.Map<java.lang.String,​java.lang.String> parameters)