[TR-176] Allow abitrary context objects in SearchRequest Created: 31/Aug/11 Updated: 22/May/12 Resolved: 22/May/12
|Reporter:||Greg Maksa||Assignee:||Dyaa Albakour|
I propose the following changes to the SearchRequest interface:
* * *
void setContext(String Name, Object Value);
Object getContext(String Name);
* * *
As I have faced with the growing demand for more and more complex Control Parameters during my development I figured that rather than trying to squeeze everything into a simple Parameter String with setControl(String Name,String Value) method it would be much more simple to extend the interface with the abovementioned pair of methods
Not only would they provide greater flexibility and speed increase when passing information between components but later changes could be carried out much easier.
Should you have any queries on this please feel free to mail me.
|Comment by Dyaa Albakour [ 21/May/12 ]|
This patch contains a modification of the SearchRequest interface and the Request class to allow attaching context object as well as control strings
|Comment by Craig Macdonald [ 22/May/12 ]|
Committed to trunk r3616.