use of com.amalto.workbench.webservices.WSPutDataCluster in project tmdm-studio-se by Talend.
the class DataContainerInteractiveHandler method doDeployWSObject.
@Override
public boolean doDeployWSObject(TMDMService service, Object wsObj) {
if (wsObj != null) {
WSPutDataCluster wsPutDataCluster = new WSPutDataCluster((WSDataCluster) wsObj);
service.putDataCluster(wsPutDataCluster);
return true;
}
return false;
}
use of com.amalto.workbench.webservices.WSPutDataCluster in project tmdm-studio-se by Talend.
the class DataClusterService method createDataCluster.
public boolean createDataCluster(TMDMService service, String dName) {
try {
// $NON-NLS-1$ //$NON-NLS-2$
WSPutDataCluster wsDataCluster = new WSPutDataCluster(new WSDataCluster(dName, "", ""));
service.putDataCluster(wsDataCluster);
return true;
} catch (WebServiceException ex) {
log.error(ex.getMessage(), ex);
}
return false;
}
Aggregations