class LocalDhisResourceRepositoryImpl implements LocalDhisResourceRepository<T> {

    @Override
    public void applySaves( @Nonnull LocalDhisRepositoryPersistCallback<T> persistCallback, @Nonnull LocalDhisRepositoryResultCallback resultCallback )
    {
        applySaves( persistCallback, resultCallback, Collections.singleton( LocalDhisResourceState.SAVED_NEW ), true );
        applySaves( persistCallback, resultCallback, Collections.singleton( LocalDhisResourceState.SAVED_EXISTING ), false );
    }

    public  LocalDhisResourceRepositoryImpl( @Nonnull Class<T> resourceClass );

}