Caliber RM Java SDk support
I am using CaliberRM java SDk to build an application where we required a search/filter functionality to search for a particular set of requirements like lets say i need all the requirements whose version in 1.0 or i need all the requirements whose due date is some particular date.
I have looked into the SDK but i found only tracing support but no search feature. It will be very helpful if someone can provide me information on this.
RE: Caliber RM Java SDk support
You can access the Requirement Grid server side filters and output the results via the SDK. So you could create your filter/search criteria within Caliber and then call it through the SDK. I have attached some sample code that shows how this can be done.
To access the filters, open the Caliber Author and select View | Requirement Grid
The Requirement Grid filter (as shown below) will open:
You can create a new filter by clicking on the …
The code attached just uses the sample BusinessRequirementOnly filter. Please let me know if this helps meet your needs.
Please note: The sample code attached will iterate through all Projects and apply the filter. You can narrow it down to one project by updating the line of code below:
//Query Project_p object - * will return all projects
rv.insert_string("Project_p::name LIKE 'MyProject'");
If the project name includes a space you will need to escape it like shown below:
rv.insert_string("Project_p::name LIKE \"Address?Book\"");