class EventServiceImpl implements EventService, LocalDhisRepositoryPersistCallback<Event> {

    @HystrixCommand( ignoreExceptions = UnauthorizedException.class )
    @Nonnull
    @Override
    public Optional<Event> findOneById( @Nonnull String eventId )
    {
        return resourceRepositoryTemplate.findOneById( eventId, this::_findOneById );
    }

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

}