Package it.eng.spagobi.analiticalmodel.document.dao

Examples of it.eng.spagobi.analiticalmodel.document.dao.IViewpointDAO.insertViewpoint()


    aViewpoint.setVpOwner(ownerVP);
    aViewpoint.setVpDesc(descVP);
    aViewpoint.setVpScope(scopeVP);
    aViewpoint.setVpValueParams(contentVP);
    aViewpoint.setVpCreationDate(new Timestamp(System.currentTimeMillis()));
    biViewpointDAO.insertViewpoint(aViewpoint);

    // set data in response
    response.setAttribute(SpagoBIConstants.PUBLISHER_NAME, "ExecuteBIObjectPageParameter");

    logger.debug("OUT");
View Full Code Here


        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);
      }
       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.