@Override
 public List<FeeOrderPayableDetailView> getAllByField(String field, Object value) {
   Criteria criteria =
       getSession()
           .createCriteria(FeeOrderPayableDetailView.class)
           .add(Restrictions.eqOrIsNull(field, value));
   criteria.addOrder(Order.asc("indexNumber"));
   return criteria.list();
 }
 /**
  * Get Team by ID.
  *
  * @param cfbTeamId
  * @return
  */
 private CfbTeam getCfbTeamById(Integer cfbTeamId) {
   Criteria criteria = session.createCriteria(CfbTeam.class);
   criteria.add(Restrictions.eqOrIsNull("cfbTeamId", cfbTeamId));
   return (CfbTeam) criteria.list().get(0);
 }