setMember(cra.getUserId());
Firm firm = queryFirst(PROC_READ_FIRM, readSql, Firm.class, args, cra, authDataCrit);
if (firm != null && !Strings.isNullOrEmpty(firm.getAttributes())) {
JsonHelper jsh = new JsonHelper();
firm.setAttributesMap(jsh.deserialize(firm.getAttributes(), Map.class));
}
return firm;
}
private Firm readFirm(long firmId, CommonRequestArgs cra) {
return readFirm(firmId, null, null, null, cra);