public InputStream getResourceAsStream(String deploymentId, String resourceName) {
return commandExecutor.execute(new GetDeploymentResourceCmd(deploymentId, resourceName));
}
public InputStream getResourceAsStreamById(String deploymentId, String resourceId) {
return commandExecutor.execute(new GetDeploymentResourceForIdCmd(deploymentId, resourceId));
}