class EventServiceImpl implements EventService, LocalDhisRepositoryPersistCallback<Event> {

    @HystrixCommand( ignoreExceptions = { DhisConflictException.class, UnauthorizedException.class } )
    @Override
    public boolean delete( @Nonnull String eventId )
    {
        return resourceRepositoryTemplate.deleteById( eventId, Event::new );
    }

    @Autowired public  EventServiceImpl( @Nonnull @Qualifier( "userDhis2RestTemplate" ) RestTemplate restTemplate, @Nonnull RequestCacheService requestCacheService, @Nonnull PolledProgramRetriever polledProgramRetriever );

}