sortFields.add(new SortField(SearchFilter.CREATE_TIME, "obj.createTime"));
sortFields.add(new SortField(SearchFilter.UPDATE_TIME, "obj.updateTime"));
sortFields.add(new SortField(SearchFilter.SERVICE_TYPE_ID, "obj.id"));
sortFields.add(new SortField(SearchFilter.SERVICE_TYPE, "obj.name"));
}
<BUG>@Override
@SuppressWarnings("unchecked")
protected RangerServiceDef populateViewBean(XXServiceDefBase xServiceDef) {
RangerServiceDef serviceDef = super.populateViewBean((T) xServiceDef);
</BUG>
Long serviceDefId = xServiceDef.getId();

sortFields.add(new SortField(SearchFilter.CREATE_TIME, "obj.createTime"));
sortFields.add(new SortField(SearchFilter.UPDATE_TIME, "obj.updateTime"));
sortFields.add(new SortField(SearchFilter.SERVICE_TYPE_ID, "obj.id"));
sortFields.add(new SortField(SearchFilter.SERVICE_TYPE, "obj.name"));
}
@Override
protected V populateViewBean(T xServiceDef) {
V serviceDef = super.populateViewBean((T) xServiceDef);
Long serviceDefId = xServiceDef.getId();
