/** * Creates a new instance of callback * * @param entity entity * @param id entity ID * @param attributes list of attributes urns (null if default / empty if all / explicit for * selection) */ public GetRichAdminsWithAttributes(PerunEntity entity, int id, ArrayList<String> attributes) { this.entity = entity; this.entityId = id; // if null use default if (attributes == null) { this.attributes = JsonUtils.getAttributesListForUserTables(); } else { this.attributes = attributes; } }