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

@@ -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)
{