use of info.xiancloud.apidoc.handler.filter.FilterByUnits in project xian by happyyangyuan.
the class CustomizedMdApidocUnit method getFilter.
@Override
protected IUnitFilter getFilter(UnitRequest msg) {
IUnitFilter filter = new FilterByUnits();
String unitFilter = msg.getString("unitFilter");
if (!StringUtil.isEmpty(unitFilter)) {
String[] fullNameArr = unitFilter.split(",");
filter.setValues(Arrays.asList(fullNameArr));
}
return filter;
}
Aggregations