git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@15632 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1810e8e70d
commit
0185c7c40e
|
@ -80,13 +80,14 @@ public class FunctionalityHandler implements ResourceHandler<KGCUBEGenericFuncti
|
||||||
psFunctionality.setNull(4, Types.INTEGER);
|
psFunctionality.setNull(4, Types.INTEGER);
|
||||||
psFunctionality.setInt(5, 0);
|
psFunctionality.setInt(5, 0);
|
||||||
psFunctionality.execute();
|
psFunctionality.execute();
|
||||||
|
int rootFunctionalityId=id;
|
||||||
id++;
|
id++;
|
||||||
|
|
||||||
for (Functionality functionality: mainFunctionality.getFunctionalities()){
|
for (Functionality functionality: mainFunctionality.getFunctionalities()){
|
||||||
psFunctionality.setInt(1, id);
|
psFunctionality.setInt(1, id);
|
||||||
psFunctionality.setString(2, functionality.getName());
|
psFunctionality.setString(2, functionality.getName());
|
||||||
psFunctionality.setString(3, functionality.getDescription());
|
psFunctionality.setString(3, functionality.getDescription());
|
||||||
psFunctionality.setNull(4, Types.INTEGER);
|
psFunctionality.setInt(4, rootFunctionalityId);
|
||||||
psFunctionality.setInt(5, 0);
|
psFunctionality.setInt(5, 0);
|
||||||
psFunctionality.execute();
|
psFunctionality.execute();
|
||||||
for (Service service: functionality.getServices()){
|
for (Service service: functionality.getServices()){
|
||||||
|
|
Loading…
Reference in New Issue