Package it.eng.spagobi.services.proxy

Examples of it.eng.spagobi.services.proxy.ContentServiceProxy.saveSubObject()


      //***SpagoBIAccessUtils sbiutils = new SpagoBIAccessUtils();
      ContentServiceProxy proxy=new ContentServiceProxy(userUniqueIdentifier,session);
      try {
/**        byte[] response = sbiutils.saveSubObject(spagoBIBaseUrl, jcrPath, analysisName,
            analysisDescription, user, visibilityBoolean, xmlString);*/
                String result=proxy.saveSubObject(documentId, analysisName,analysisDescription,
            visibilityBoolean, xmlString);   

        //*****String message = new String(response);
                logger.debug("result save subobject: " + result);       
                session.setAttribute("saveSubObjectMessage", result);
View Full Code Here


        visibilityBoolean = "true";
       
       //ContentServiceProxy proxy=new ContentServiceProxy(user,session);
       ContentServiceProxy proxy=new ContentServiceProxy(userUniqueIdentifier,session);
        try {
                String result=proxy.saveSubObject(documentId, analysisName,analysisDescription,
                                  visibilityBoolean, xmlString);   
                logger.debug("result save subobject: " + result);
            session.setAttribute("saveSubObjectMessage", result);
            // if the saving operation has no success, the previous
            if (result.toUpperCase().startsWith("KO")) this.analysisName = recoveryAnalysisName;
View Full Code Here

    String isPublic = "false";
    if (PUBLIC_SCOPE.equalsIgnoreCase(scope))
      isPublic = "true";

    serviceResponse = contentServiceProxy.saveSubObject(documentId, name,
        description, isPublic, new String(analysisState.store()));

    return serviceResponse;
  }
 
View Full Code Here

   
      String isPublic = "false";
      if (PUBLIC_SCOPE.equalsIgnoreCase(analysisMetadata.getScope()))
        isPublic = "true";
   
    serviceResponse = contentServiceProxy.saveSubObject(documentId,
        analysisMetadata.getName(),
        analysisMetadata.getDescription(),
        isPublic,
        new String(analysisState.store()) );
   
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.