@SuppressWarnings("unchecked")
public <T extends Restriction> RestrictionHolder getHolder() {
Long restrictionHolderId = Params.getLong("restriction.holder.id");
String restrictionType = Params.get("restrictionType");
RestrictionHolder holer = null;
if ("user".equals(restrictionType)) {
holer = (RestrictionHolder) entityDao.get(User.class, restrictionHolderId);
} else if ("group".equals(restrictionType)) {
holer = (RestrictionHolder) entityDao.get(Group.class, restrictionHolderId);
} else {