litle changes for /project endpoint

This commit is contained in:
erik
2013-12-08 23:30:20 -04:00
parent ed8c083b80
commit 0f73494c46
50 changed files with 1218 additions and 513 deletions

View File

@@ -65,7 +65,7 @@ class BpmnActivityMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('ACT_UID', 'ActUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('ACT_UID', 'ActUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnArtifactMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('ART_UID', 'ArtUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('ART_UID', 'ArtUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnBoundMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('BOU_UID', 'BouUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('BOU_UID', 'BouUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnDataMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('DAT_UID', 'DatUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('DAT_UID', 'DatUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnDiagramMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('DIA_UID', 'DiaUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('DIA_UID', 'DiaUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnDocumentationMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('DOC_UID', 'DocUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('DOC_UID', 'DocUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnEventMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('EVN_UID', 'EvnUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('EVN_UID', 'EvnUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnExtensionMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('EXT_UID', 'ExtUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('EXT_UID', 'ExtUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnFlowMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('FLO_UID', 'FloUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('FLO_UID', 'FloUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnGatewayMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('GAT_UID', 'GatUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('GAT_UID', 'GatUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnLaneMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('LAN_UID', 'LanUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('LAN_UID', 'LanUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnLanesetMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('LNS_UID', 'LnsUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('LNS_UID', 'LnsUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnParticipantMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('PAR_UID', 'ParUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('PAR_UID', 'ParUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnProcessMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('PRO_UID', 'ProUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('PRO_UID', 'ProUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addForeignKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, 'BPMN_PROJECT', 'PRJ_UID', true, 32);

View File

@@ -65,7 +65,7 @@ class BpmnProjectMapBuilder
$tMap->setUseIdGenerator(false);
$tMap->addColumn('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addPrimaryKey('PRJ_UID', 'PrjUid', 'string', CreoleTypes::VARCHAR, true, 32);
$tMap->addColumn('PRJ_NAME', 'PrjName', 'string', CreoleTypes::VARCHAR, true, 255);