Search in sources :

Example 1 with FilterByGroups

use of info.xiancloud.apidoc.handler.filter.FilterByGroups in project xian by happyyangyuan.

the class GroupMdApidocUnit method getFilter.

@Override
protected IUnitFilter getFilter(UnitRequest request) {
    IUnitFilter filter = new FilterByGroups();
    filter.setValues(new ArrayList<String>() {

        {
            add(request.getString("groupName"));
        }
    });
    return filter;
}
Also used : IUnitFilter(info.xiancloud.apidoc.handler.filter.IUnitFilter) FilterByGroups(info.xiancloud.apidoc.handler.filter.FilterByGroups)

Aggregations

FilterByGroups (info.xiancloud.apidoc.handler.filter.FilterByGroups)1 IUnitFilter (info.xiancloud.apidoc.handler.filter.IUnitFilter)1