try {
con = DbHandler.getConnection();
Collection<CentreBean> col = UserRelation.retrieveCentreList(
con, Dispatcher.getInstance().getUser(userId),
(UserBean) UserFinderBase.findByPrimaryKey(con,
new UserKey(userToEdit)), centreStatus,
ucrStatus, allPossible);
BeanSorter.sort(BeanSorter.getLocale(Dispatcher.getInstance()
.getUser(userId)), col, "centrename");
return col;
} finally {