this.dao = dao;
}
private List<UnitOfMeasure> list(UomType type,Boolean active) {
ListPage<UnitOfMeasure> page = new ListPage<UnitOfMeasure>( Integer.MAX_VALUE );
UnitOfMeasure uom = new UnitOfMeasure( );
uom.setType(type);
uom.setActive( active );
page = super.dao.list(page, uom);
return page.getList();
}