on 2008 Jun 24 5:29 AM
Hi all,
How can i construct a QueryFilter Object and pass the input value to the parameter using this.
How can i work with the validations.
Thanks in advance,
Sudheer.
Hi,
Go through [this help doc.|http://help.sap.com/saphelp_nwce10/helpdata/en/44/6359a603b13674e10000000a114a6b/content.htm]
Example:
Person person = this.getPersonService().findByPersonId(
QueryFilterFactory.createFilter(personId));
Sampath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We use Query Filter to pass our paramater to perform a query operation.
We can create it from the operation tab of our application service.
try this sample code
java.util.List emp = getEmployeeService().findByPersonalID(new com.sap.caf.rt.bol.util.QueryFilter(personalID));
Object[] values = employees.toArray();
The QueryFilter is present in "com.sap.caf.rt.bol.util"
If you get an error you can create an new instance of this class.
Like:-
new com.sap.caf.rt.bol.util.QueryFilter(personalID)
I hope your error will be resolved
Reward if helpful.
Thanks,
Chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.