org.gcube.vremanagement.vremodeler.impl
Class ModelerService

java.lang.Object
  extended by org.gcube.vremanagement.vremodeler.impl.ModelerService

public class ModelerService
extends Object


Constructor Summary
ModelerService()
           
 
Method Summary
 String checkStatus(org.gcube.common.core.types.VOID var)
           
 void deployVRE(org.gcube.common.core.types.VOID var)
           
 int getCloudVMs(org.gcube.common.core.types.VOID r)
           
 org.gcube.vremanagement.vremodeler.stubs.VREDescription getDescription(org.gcube.common.core.types.VOID var)
           
 org.gcube.vremanagement.vremodeler.stubs.FunctionalityList getFunctionality(org.gcube.common.core.types.VOID var)
          Return an xml with the selectable functionalities String
 org.gcube.vremanagement.vremodeler.stubs.FunctionalityNodes getFunctionalityNodes(org.gcube.common.core.types.VOID var)
          return an XML containing the GHN list
 String getQuality(org.gcube.common.core.types.VOID var)
          Return an XML with Quality parameter to insert
protected  ModelerResource getResource()
           
 boolean isUseCloud(org.gcube.common.core.types.VOID r)
           
 void renewVRE(Calendar request)
           
 void setCloudVMs(int numberOfVMs)
           
 void setDescription(org.gcube.vremanagement.vremodeler.stubs.VREDescription request)
           
 void setFunctionality(org.gcube.vremanagement.vremodeler.stubs.SetFunctionality request)
           
 void setGHNs(org.gcube.vremanagement.vremodeler.stubs.GHNArray request)
          Set the GHNs for deploying
 void setQuality(String request)
          Sets Quality parameters
 void setUseCloud(boolean val)
           
 void setVREtoPendingState(org.gcube.common.core.types.VOID var)
          set the DL state to Pending
 void undeployVRE(org.gcube.common.core.types.VOID var)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelerService

public ModelerService()
Method Detail

getResource

protected ModelerResource getResource()
                               throws org.globus.wsrf.ResourceException
Throws:
org.globus.wsrf.ResourceException

setDescription

public void setDescription(org.gcube.vremanagement.vremodeler.stubs.VREDescription request)
                    throws org.gcube.common.core.faults.GCUBEFault
Parameters:
request - void
Throws:
RemoteException - -
org.gcube.common.core.faults.GCUBEFault

getDescription

public org.gcube.vremanagement.vremodeler.stubs.VREDescription getDescription(org.gcube.common.core.types.VOID var)
                                                                       throws org.gcube.common.core.faults.GCUBEFault
Parameters:
request - void
Returns:
VoidType
Throws:
RemoteException - -
org.gcube.common.core.faults.GCUBEFault

getFunctionalityNodes

public org.gcube.vremanagement.vremodeler.stubs.FunctionalityNodes getFunctionalityNodes(org.gcube.common.core.types.VOID var)
                                                                                  throws org.gcube.common.core.faults.GCUBEFault
return an XML containing the GHN list

Parameters:
request - void
Returns:
List of GHNs on the system
Throws:
@throws - GCUBEFault - if the cloud is selected as Architecture or something fails on db
org.gcube.common.core.faults.GCUBEFault

setGHNs

public void setGHNs(org.gcube.vremanagement.vremodeler.stubs.GHNArray request)
             throws org.gcube.common.core.faults.GCUBEFault
Set the GHNs for deploying

Parameters:
request - array of GHNs ids
Throws:
org.gcube.common.core.faults.GCUBEFault - - if the clud is selected as Architecture or something fails on db

getFunctionality

public org.gcube.vremanagement.vremodeler.stubs.FunctionalityList getFunctionality(org.gcube.common.core.types.VOID var)
                                                                            throws org.gcube.common.core.faults.GCUBEFault
Return an xml with the selectable functionalities String

Parameters:
request - void
Returns:
an xml String containing selectable functionalities
Throws:
org.gcube.common.core.faults.GCUBEFault - -

setFunctionality

public void setFunctionality(org.gcube.vremanagement.vremodeler.stubs.SetFunctionality request)
                      throws org.gcube.common.core.faults.GCUBEFault
Throws:
org.gcube.common.core.faults.GCUBEFault - -

getQuality

public String getQuality(org.gcube.common.core.types.VOID var)
                  throws org.gcube.common.core.faults.GCUBEFault
Return an XML with Quality parameter to insert

Parameters:
request - void
Returns:
a XML format String
Throws:
org.gcube.common.core.faults.GCUBEFault - -

setQuality

public void setQuality(String request)
                throws org.gcube.common.core.faults.GCUBEFault
Sets Quality parameters

Parameters:
request -
Throws:
org.gcube.common.core.faults.GCUBEFault - -

setVREtoPendingState

public void setVREtoPendingState(org.gcube.common.core.types.VOID var)
                          throws org.gcube.common.core.faults.GCUBEFault
set the DL state to Pending

Parameters:
request -
Throws:
org.gcube.common.core.faults.GCUBEFault - -

deployVRE

public void deployVRE(org.gcube.common.core.types.VOID var)
               throws org.gcube.common.core.faults.GCUBEFault
Parameters:
request -
Throws:
org.gcube.common.core.faults.GCUBEFault - -

checkStatus

public String checkStatus(org.gcube.common.core.types.VOID var)
                   throws Exception
Parameters:
var -
Returns:
Throws:
Exception

undeployVRE

public void undeployVRE(org.gcube.common.core.types.VOID var)
                 throws org.gcube.common.core.faults.GCUBEFault
Parameters:
request -
Throws:
RemoteException - -
org.gcube.common.core.faults.GCUBEFault

setUseCloud

public void setUseCloud(boolean val)
                 throws Exception
Parameters:
val - boolean
Throws:
Exception

isUseCloud

public boolean isUseCloud(org.gcube.common.core.types.VOID r)
                   throws Exception
Parameters:
r - VOID
Returns:
Throws:
Exception

setCloudVMs

public void setCloudVMs(int numberOfVMs)
                 throws Exception
Parameters:
numberOfVMs -
Throws:
Exception

getCloudVMs

public int getCloudVMs(org.gcube.common.core.types.VOID r)
                throws Exception
Parameters:
r - VOID
Returns:
Throws:
Exception

renewVRE

public void renewVRE(Calendar request)
              throws org.gcube.common.core.faults.GCUBEFault
Throws:
org.gcube.common.core.faults.GCUBEFault


Copyright © 2013. All Rights Reserved.