use of cz.metacentrum.perun.audit.events.AttributesManagerEvents.AttributeChangedForFacility in project perun by CESNET.
the class urn_perun_facility_attribute_def_virt_voShortNames method resolveEvent.
private List<AuditEvent> resolveEvent(PerunSessionImpl sess, Facility facility) throws AttributeNotExistsException, WrongAttributeAssignmentException {
List<AuditEvent> resolvingMessages = new ArrayList<>();
AttributeDefinition attributeDefinition = sess.getPerunBl().getAttributesManagerBl().getAttributeDefinition(sess, NS_FACILITY_ATTR_VIRT + ":voShortNames");
resolvingMessages.add(new AttributeChangedForFacility(new Attribute(attributeDefinition), facility));
return resolvingMessages;
}
Aggregations