Package pt.webdetails.cdf.dd.cdf

Examples of pt.webdetails.cdf.dd.cdf.CdfTemplates.save()


      Object result = cdfTemplates.load();
      JsonUtils.buildJsonResult( out, true, result );
    } else if ( method.equals( OPERATION_SAVE ) ) {
      String file = requestParams.getStringParameter( REQUEST_PARAM_FILE, null ),
        structure = requestParams.getStringParameter( CdeConstants.MethodParams.CDF_STRUCTURE, null );
      cdfTemplates.save( file, structure );
      JsonUtils.buildJsonResult( out, true, null );
    }
  }

  @Exposed( accessLevel = AccessLevel.PUBLIC )
View Full Code Here


    if ( OPERATION_LOAD.equalsIgnoreCase( operation ) ) {
      result = cdfTemplates.load();

    } else if ( OPERATION_SAVE.equalsIgnoreCase( operation ) ) {
      cdfTemplates.save( file, cdfStructure );
    }

    JsonUtils.buildJsonResult( response.getOutputStream(), true, result );
  }
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.