You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
217 lines
3.8 KiB
217 lines
3.8 KiB
<?php
|
|
|
|
/**
|
|
* @property mixed|null currentNode
|
|
*/
|
|
class FlowContext
|
|
{
|
|
public $systemId;
|
|
public $flowId;
|
|
public $formId;
|
|
public $currentAssigner;
|
|
public $currentNode;
|
|
public $flowCode;
|
|
public $nextAssigner;
|
|
public $assignStatus;
|
|
public $assignOpinion;
|
|
public $formKey;
|
|
public $workFlowParser;
|
|
|
|
/**
|
|
* @return mixed|null
|
|
*/
|
|
public function getCurrentNode()
|
|
{
|
|
return $this->currentNode;
|
|
}
|
|
|
|
/**
|
|
* @param mixed|null $currentNode
|
|
* @return FlowContext
|
|
*/
|
|
public function setCurrentNode($currentNode)
|
|
{
|
|
$this->currentNode = $currentNode;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getSystemId()
|
|
{
|
|
return $this->systemId;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $systemId
|
|
* @return FlowContext
|
|
*/
|
|
public function setSystemId($systemId)
|
|
{
|
|
$this->systemId = $systemId;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getFlowId()
|
|
{
|
|
return $this->flowId;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $flowId
|
|
* @return FlowContext
|
|
*/
|
|
public function setFlowId($flowId)
|
|
{
|
|
$this->flowId = $flowId;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getFormId()
|
|
{
|
|
return $this->formId;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $formId
|
|
* @return FlowContext
|
|
*/
|
|
public function setFormId($formId)
|
|
{
|
|
$this->formId = $formId;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getCurrentUser()
|
|
{
|
|
return $this->currentAssigner;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $currentAssigner
|
|
* @return FlowContext
|
|
*/
|
|
public function setCurrentUser($currentAssigner)
|
|
{
|
|
$this->currentAssigner = $currentAssigner;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getFlowCode()
|
|
{
|
|
return $this->flowCode;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $flowCode
|
|
* @return FlowContext
|
|
*/
|
|
public function setFlowCode($flowCode)
|
|
{
|
|
$this->flowCode = $flowCode;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getNextAssigner()
|
|
{
|
|
return $this->nextAssigner;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $nextAssigner
|
|
* @return FlowContext
|
|
*/
|
|
public function setNextAssigner($nextAssigner)
|
|
{
|
|
$this->nextAssigner = $nextAssigner;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAssignStatus()
|
|
{
|
|
return $this->assignStatus;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $assignStatus
|
|
* @return FlowContext
|
|
*/
|
|
public function setAssignStatus($assignStatus)
|
|
{
|
|
$this->assignStatus = $assignStatus;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getAssignOpinion()
|
|
{
|
|
return $this->assignOpinion;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $assignOpinion
|
|
* @return FlowContext
|
|
*/
|
|
public function setAssignOpinion($assignOpinion)
|
|
{
|
|
$this->assignOpinion = $assignOpinion;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getFormKey()
|
|
{
|
|
return $this->formKey;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $formKey
|
|
* @return FlowContext
|
|
*/
|
|
public function setFormKey($formKey)
|
|
{
|
|
$this->formKey = $formKey;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getWorkFLowParser()
|
|
{
|
|
return $this->workFlowParser;
|
|
}
|
|
|
|
/**
|
|
* @param mixed $workFlowParser
|
|
* @return FlowContext
|
|
*/
|
|
public function setWorkFLowParser($workFlowParser)
|
|
{
|
|
$this->workFlowParser = $workFlowParser;
|
|
return $this;
|
|
}
|
|
}
|
|
|