viewpoint.setVpOwner( viewpointOwner );
viewpoint.setVpDesc( viewpointDescription );
viewpoint.setVpScope( viewpointScope );
viewpoint.setVpValueParams( viewpointString );
viewpoint.setVpCreationDate(new Timestamp(System.currentTimeMillis()));
viewpointDAO.insertViewpoint(viewpoint);
} catch (EMFUserError e) {
logger.error("Impossible to save viewpoint [" + viewpointName + "]", e);
throw new SpagoBIServiceException(SERVICE_NAME, "Impossible to check if a viewpoint with name [" + viewpointName + "] already exists", e);
}