springside 笔记
????? 好长时间没有看ssh的东西,最近看了下springside3.2.1用的东西都比较新,由于公司一直用是websphere,还停在jdk1.4的级别,真是悲啊!
???? 今天主要看了下PropertyFilter这个类,功能先不说,感觉很有创意,但不会用,搞了好半天才基本上用上了,看来有些新的东西是要看看,先记录一下。
直接贴段代码看下.
List<Department> deptList =null;List<PropertyFilter> list =new LinkedList<PropertyFilter>();list.add(new PropertyFilter("LIKES_deptname_OR_description_OR_deptid_OR_companyid",""));list.add(new PropertyFilter("LES_deptid_OR_companyid",2));deptList = departmentManager.find(list);for(Department depart:deptList){ System.out.println(depart.getDeptid());}
?
????