use of cz.metacentrum.perun.audit.events.ServicesManagerEvents.DestinationCreated in project perun by CESNET.
the class ServicesManagerBlImpl method createDestination.
public Destination createDestination(PerunSession sess, Destination destination) throws DestinationExistsException {
if (getServicesManagerImpl().destinationExists(sess, destination))
throw new DestinationExistsException(destination);
destination = getServicesManagerImpl().createDestination(sess, destination);
getPerunBl().getAuditer().log(sess, new DestinationCreated(destination));
return destination;
}
Aggregations