@Override @Cacheable("status-cache") public Status findStatusById(String statusId) { if (statusId == null || statusId.equals("")) { return null; } if (log.isDebugEnabled()) { log.debug("Finding status : " + statusId); } Status status = em.find(Status.class, statusId); if (status != null) { // Find status's tags List<String> tags = getTags(keyspaceOperator, STATUS_CF, statusId, TAG_COLUMN_MIN_NAME, TAG_COLUMN_MAX_NAME); status.setTags(tags); status = Boolean.TRUE.equals(status.getRemoved()) ? null : status; } return status; }