Class VersionServiceImpl

  • All Implemented Interfaces:
    org.uberfire.ext.editor.commons.version.VersionService

    @ApplicationScoped
    public class VersionServiceImpl
    extends Object
    implements org.uberfire.ext.editor.commons.version.VersionService
    • Constructor Detail

      • VersionServiceImpl

        public VersionServiceImpl()
    • Method Detail

      • getVersions

        public List<org.uberfire.java.nio.base.version.VersionRecord> getVersions​(org.uberfire.backend.vfs.Path path)
        Specified by:
        getVersions in interface org.uberfire.ext.editor.commons.version.VersionService
      • getPathToPreviousVersion

        public org.uberfire.backend.vfs.Path getPathToPreviousVersion​(String uri)
        Specified by:
        getPathToPreviousVersion in interface org.uberfire.ext.editor.commons.version.VersionService
      • restore

        public org.uberfire.backend.vfs.Path restore​(org.uberfire.backend.vfs.Path _path,
                                                     String comment,
                                                     String branchName)
        Specified by:
        restore in interface org.uberfire.ext.editor.commons.version.VersionService