138139140141142143144145146147148
private boolean vldExist(Integer id, Integer siteId, WebErrors errors) { if (errors.ifNull(id, "id")) { return true; } ContentTag entity = manager.findById(id); if (errors.ifNotExist(entity, ContentTag.class, id)) { return true; } return false; }