[smartweb-user] Is null or is not null ? That is the question
Brought to you by:
rlogiacco
From: Giuseppe C. <gco...@sm...> - 2008-10-12 02:45:03
|
Hi,looking and testing SearchInfo functionality I noted with regred that there wasn't possibility to filter using (i thinkg the most popular ) restricion "is null" or "is not null". I don't want ,for sure, to replace everywhere the power of Hibernate Criteria but.. As smartweb user I would like to have this functionality..I report a simple test case : Suppose i have a list of bean Contract with a "expirationDate" property that determ expiration time ...it can become really simple to filter them and know all expired : info.addFilterRestriction("dateEnd",SearchInfo.IS_NOT_NULL) ! As smartweb developer I can provide their implementation and test..on BusinessObjectFactory and SearchInfo classes.. What do u think about it ? -- Giuseppe Contartese mail: gco...@sm... mobile: +393939064135 Smartlab s.r.l. via E.Q. Visconti, 103 00192 Roma Tel. +39067886641 Fax: +391782233798 |