class SpaceArchetypeTablePresenter extends AbstractArchetypeTablePresenter {

    @Override
    public Promise<Void> loadPreferences(final PaginatedArchetypeList paginatedList) {
        return promises.create(
                (resolve, reject) -> archetypePreferences.load(spaceScopedResolutionStrategySupplier.get(),
                                                               loadPreferencesSuccessCallback(paginatedList, resolve),
                                                               loadPreferencesErrorCallback(reject)));
    }

    @Inject public  SpaceArchetypeTablePresenter(final View view,
                                        final ArchetypeListPresenter archetypeListPresenter,
                                        final BusyIndicatorView busyIndicatorView,
                                        final TranslationService ts,
                                        final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                        final ArchetypePreferences archetypePreferences,
                                        final Caller<ArchetypeService> archetypeService,
                                        final PreferenceScopeFactory preferenceScopeFactory,
                                        final Promises promises,
                                        final SpaceScopedResolutionStrategySupplier spaceScopedResolutionStrategySupplier,
                                        final WorkspaceProjectContext projectContext,
                                        final OrganizationalUnitController organizationalUnitController);

}