Java_QueryServiceUI_Explain.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <HTML>
  2. <HEAD>
  3. <!--
  4. Licensed Materials - Property of IBM
  5. IBM Cognos Products: DOCS
  6. (C) Copyright IBM Corp. 2011
  7. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  8. IBM Corp.
  9. -->
  10. <TITLE>IBM Cognos Java QueryServiceUI Program Sample</TITLE>
  11. <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css">
  12. </HEAD>
  13. <BODY>
  14. <p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif">&nbsp;IBM Cognos Sample Programs</p>
  15. <p class="FormLabel">QueryServiceUI.java - Perform Query Service operations.</p>
  16. <p class="formText">The Java QueryServiceUI sample program allows the user to perform various operations on a ROLAP cube.</p>
  17. <br>
  18. <!-- * * * * * * * * * -->
  19. <!-- -->
  20. <!-- Dependent Files -->
  21. <!-- -->
  22. <!-- * * * * * * * * * -->
  23. <p class="FormLabel">Dependent Files</p>
  24. <p class="formText">Associated files are contained under the java sample folder.<br>
  25. Additional files required for running are identified in the CLASSPATH definitions in run.bat or run.sh file.</p>
  26. <!-- * * * * * * * * * -->
  27. <!-- -->
  28. <!-- How To Run -->
  29. <!-- -->
  30. <!-- * * * * * * * * * -->
  31. <p class="FormLabel">How To Run The Sample Program</p>
  32. <p class="formText">Double click on the file run.bat for WINDOWS or run.sh for UNIX.<br><br>
  33. A window will be opened containing:<br>
  34. &nbsp;&nbsp;&nbsp;&nbsp;- Cube dropdown box with a list of available cubes<br>
  35. &nbsp;&nbsp;&nbsp;&nbsp;- Query Service options dropdown box<br>
  36. &nbsp;&nbsp;&nbsp;&nbsp;- Run Option command button<br>
  37. &nbsp;&nbsp;&nbsp;&nbsp;- Server URL text box<br>
  38. &nbsp;&nbsp;&nbsp;&nbsp;- Output Pane<br>
  39. <br>
  40. Select a cube and a Query Service option, then click on the 'Run Option' button to run the sample program.</p>
  41. <!-- * * * * * * * * * -->
  42. <!-- -->
  43. <!-- Expected Results -->
  44. <!-- -->
  45. <!-- * * * * * * * * * -->
  46. <p class="FormLabel">Expected Results</p>
  47. <p class="formText">The 'Get Cube State' option will display the current cube state.<br>
  48. The 'Start Cube' option will send a request to start the cube.<br>
  49. The 'Stop Cube When Not In Use' option will send a request to stop the cube as soon as it is not in use.<br>
  50. The 'Stop Cube Immediately' option will send a request to stop the cube whether it is in use or not.<br>
  51. The 'Restart Cube' option will send a request to restart the cube.<br>
  52. The 'Refresh Data Cache' option will send a request to refresh the data cache for the cube.<br>
  53. The 'Refresh Member Cache' option will send a request to refresh the member cache for the cube.<br>
  54. The 'Refresh Cube Security' option will send a request to refesh the cube security.</p>
  55. <!-- * * * * * * * * * -->
  56. <!-- -->
  57. <!-- Documentation -->
  58. <!-- -->
  59. <!-- * * * * * * * * * -->
  60. <p class="FormLabel">Documentation</p>
  61. <p class="formText">The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.</p>
  62. <p class="formText">Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.</p>
  63. </BODY>
  64. </HTML>