MT-28 Adding methods update

This commit is contained in:
dheeyi
2016-03-22 14:55:47 -04:00
parent fc304841dc
commit a73f6f487c
12 changed files with 115 additions and 5 deletions

View File

@@ -1180,6 +1180,14 @@ class Processes
return $oProcess->createRow( $row );
}
/**
* @param $row
*/
public function updateProcessDefinitionRow ($row)
{
}
/**
* Update a Process register in DB, if the process doesn't exist with the same
* uid of the $row['PRO_UID'] parameter the function creates a new one based
@@ -1785,6 +1793,14 @@ class Processes
}
}
/**
* @param array $arrayData
*/
public function updateProcessUser(array $arrayData)
{
}
/**
* Create "Process Variables" records
*
@@ -1809,6 +1825,14 @@ class Processes
}
}
/**
* @param $arrayData
*/
public function updateProcessVariables($arrayData)
{
}
/**
* Gets Input Documents Rows from aProcess.
@@ -1856,6 +1880,14 @@ class Processes
return;
}
/**
* @param $aInput
*/
public function updateInputRows ($aInput)
{
}
/**
* change and Renew all Input GUID, because the process needs to have a new set of Inputs
*
@@ -1956,6 +1988,14 @@ class Processes
return;
}
/**
* @param $aOutput
*/
public function updateOutputRows ($aOutput)
{
}
/**
* change and Renew all Output GUID, because the process needs to have a new set of Outputs
*
@@ -2525,6 +2565,14 @@ class Processes
}
} #@!Neyek
/**
* @param $aStepSupervisor
*/
public function updateStepSupervisorRows ($aStepSupervisor)
{
}
/**
* change and Renew all Step GUID, because the process needs to have a new set of Steps
@@ -2624,7 +2672,15 @@ class Processes
throw ($oError);
}
}
#@!neyek
/**
* @param $sProUid
* @param $oData
*/
public function updateObjectPermissionRows ($sProUid, &$oData)
{
}
/**
* Get Object Permission Rows from a Process
@@ -2671,8 +2727,14 @@ class Processes
}
return;
}
#@!neyek
/**
* @param $aDynaform
*/
public function updateDynaformRows ($aDynaform)
{
}
/**
* Create Step Trigger Rows for a Process form an array
@@ -2769,6 +2831,14 @@ class Processes
return;
}
/**
* @param $aTrigger
*/
public function updateTriggerRows ($aTrigger)
{
}
/**
* Get Groupwf Rows for a Process form an array
*
@@ -3423,6 +3493,14 @@ class Processes
}
} #@!neyek
/**
* @param $aConnections
*/
public function updateDBConnectionsRows ($aConnections)
{
}
/**
* Create Report Tables from an array of data
@@ -3734,6 +3812,16 @@ class Processes
}
}
/**
* @param $processUid
* @param array $arrayData
* for Templates and Public Files
*/
public function updateFilesManager($processUid, array $arrayData)
{
}
/**
* Cleanup Report Tables References from an array of data
*

View File

@@ -47,6 +47,11 @@ class AssignmentRulesMigrator implements Importable, Exportable
// TODO: Implement beforeExport() method.
}
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{
try {

View File

@@ -48,6 +48,7 @@ class DBConnectionMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{

View File

@@ -47,6 +47,7 @@ class DynaformsMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{

View File

@@ -71,6 +71,11 @@ class FilesMigrator implements Importable, Exportable
// TODO: Implement beforeExport() method.
}
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{
try {

View File

@@ -48,6 +48,7 @@ class InputDocumentsMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{

View File

@@ -50,6 +50,7 @@ class OutputDocumentsMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{

View File

@@ -44,6 +44,7 @@ class PermissionsMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{
@@ -55,9 +56,9 @@ class PermissionsMigrator implements Importable, Exportable
$processData->lanes = $this->processes->getLaneRows($prj_uid);
$processData->gateways = $this->processes->getGatewayRows($prj_uid);
$processData->steps = $this->processes->getStepRows($prj_uid);
$processData->taskusers = $this->processes->getTaskUserRows($oData->tasks);
$processData->groupwfs = $this->processes->getGroupwfRows($oData->taskusers);
$processData->steptriggers = $this->processes->getStepTriggerRows($oData->tasks);
$processData->taskusers = $this->processes->getTaskUserRows($processData->tasks);
$processData->groupwfs = $this->processes->getGroupwfRows($processData->taskusers);
$processData->steptriggers = $this->processes->getStepTriggerRows($processData->tasks);
$processData->reportTablesVars = $this->processes->getReportTablesVarsRows($prj_uid);
$oData = new \StdClass();
$oData->objectPermissions = $this->processes->getObjectPermissionRows($prj_uid, $processData);

View File

@@ -40,6 +40,10 @@ class SupervisorsObjectsMigrator implements Importable, Exportable
// TODO: Implement beforeExport() method.
}
/**
* @param $prj_uid
* @return array
*/
public function export($prj_uid)
{
try {

View File

@@ -74,6 +74,7 @@ class TemplatesMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{

View File

@@ -50,6 +50,7 @@ class TriggersMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{

View File

@@ -60,6 +60,7 @@ class VariablesMigrator implements Importable, Exportable
/**
* @param $prj_uid
* @return array
* @throws ExportException
*/
public function export($prj_uid)
{