class ArchetypePreferencesManager {

    public void initializeCustomPreference(final String identifier) {
        final PreferenceScopeResolutionStrategyInfo info =
                workbenchPreferenceScopeResolutionStrategies.getSpaceInfoFor(identifier);
        archetypePreferences.load(info);
        archetypePreferences.save(info);
    }

    public  ArchetypePreferencesManager();
    @Inject public  ArchetypePreferencesManager(final PreferenceScopeFactory scopeFactory,
                                       final WorkbenchPreferenceScopeResolutionStrategies workbenchPreferenceScopeResolutionStrategies,
                                       final ArchetypePreferences archetypePreferences,
                                       final OrganizationalUnitService ouService);

}