/* * (non-Javadoc) * * @see * org.openiam.idm.srvc.user.service.UserDataService#getAttribute(java.lang * .String) */ @Transactional(readOnly = true) public UserAttribute getAttribute(String attrId) { if (attrId == null) { throw new NullPointerException("attrId is null"); } UserAttributeEntity attributeEntity = userAttributeDao.findById(attrId); return attributeEntity != null ? new UserAttribute(attributeEntity) : null; }