Interface IInfobaseUpdateConflictResolver.IConflictResolveAssist

  • Enclosing interface:
    IInfobaseUpdateConflictResolver

    public static interface IInfobaseUpdateConflictResolver.IConflictResolveAssist
    Conflict resolve assist to allow conflict resolver to operate with infobase configuration changes. Assist is passed to the IInfobaseUpdateConflictResolver to support with 1C:Enterprise interaction operations.
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • dumpInfobaseObjects

        void dumpInfobaseObjects​(Set<String> platformQualifiedNames,
                                 Path destination)
                          throws InfobaseSynchronizationException
        Dumps the specified infobase objects as platform XML files to the provided destination folder. Client may specify objects to dump with a set of 1C:Enterprise platform qualified names.
        Parameters:
        platformQualifiedNames - a set of 1C:Enterprise platform qualified names, cannot be null
        destination - the destination folder, cannot be null
        Throws:
        InfobaseSynchronizationException - if request failed
      • loadProjectObjects

        void loadProjectObjects​(Set<org.eclipse.emf.ecore.EObject> projectObjects)
                         throws InfobaseSynchronizationException
        Loads the provided project model objects to the infobase.
        Parameters:
        projectObjects - a set of project model object to load, cannot be null
        Throws:
        InfobaseSynchronizationException - if request failed
      • mergeInfobaseChanges

        CompletableFuture<Boolean> mergeInfobaseChanges​(org.eclipse.core.resources.IProject project,
                                                        Set<String> projectChanges,
                                                        Path infobaseChangesLocation,
                                                        Set<String> infobaseChanges,
                                                        boolean fullLoadRequested)
                                                 throws InfobaseSynchronizationException
        Merges the provided project changes with infobase changes. Returns merge result.
        Parameters:
        project - the merging project, cannot be null
        projectChanges - a set of project model object changes as symbolic links to merge, cannot be null
        infobaseChangesLocation - a directory with infobase changes as EDT resources to merge, cannot be null
        infobaseChanges - a set of infobase changes as symbolic links to merge, cannot be null
        fullLoadRequested - whether the full dump and full reload was requested by the 1C:Enteprise (for example due to incompatible metadata objects remove or rename)
        Returns:
        a merge result, true if merge was successfully fished, false if merge was aborted
        Throws:
        InfobaseSynchronizationException - if merge failed
      • createTempDirectory

        Path createTempDirectory​(String prefix)
                          throws InfobaseSynchronizationException
        Creates the new temp directory to use for infobase operations.
        Parameters:
        prefix - the prefix of the temp directory, cannot be null
        Returns:
        the new temp directory to use for infobase operations, never null
        Throws:
        InfobaseSynchronizationException - if request failed