git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@15644 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bb7fed3ddc
commit
4b0fd933e3
|
@ -91,7 +91,7 @@ public class FunctionalityHandler implements ResourceHandler<KGCUBEGenericFuncti
|
|||
psFunctionality.setInt(5, 0);
|
||||
psFunctionality.execute();
|
||||
for (Service service: functionality.getServices()){
|
||||
psServices.setInt(1, id);
|
||||
psServices.setInt(1,rootFunctionalityId);
|
||||
psServices.setString(2, service.getServiceName());
|
||||
psServices.setString(3, service.getServiceClass());
|
||||
psServices.setString(4, "1.00.00");
|
||||
|
@ -99,7 +99,7 @@ public class FunctionalityHandler implements ResourceHandler<KGCUBEGenericFuncti
|
|||
}
|
||||
|
||||
for (String portlet: functionality.getPortlets()){
|
||||
psPortlets.setInt(1, id);
|
||||
psPortlets.setInt(1, rootFunctionalityId);
|
||||
psPortlets.setString(2, portlet);
|
||||
psPortlets.execute();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue