Class VFSLockServiceImpl

  • All Implemented Interfaces:
    org.uberfire.backend.vfs.VFSLockService

    @ApplicationScoped
    public class VFSLockServiceImpl
    extends Object
    implements org.uberfire.backend.vfs.VFSLockService
    Errai RPC endpoint exposing a VFSLockService.
    • Constructor Detail

      • VFSLockServiceImpl

        public VFSLockServiceImpl()
    • Method Detail

      • releaseLock

        public org.uberfire.backend.vfs.impl.LockResult releaseLock​(org.uberfire.backend.vfs.Path path)
                                                             throws IllegalArgumentException,
                                                                    org.uberfire.java.nio.IOException
        Specified by:
        releaseLock in interface org.uberfire.backend.vfs.VFSLockService
        Throws:
        IllegalArgumentException
        org.uberfire.java.nio.IOException
      • forceReleaseLock

        public org.uberfire.backend.vfs.impl.LockResult forceReleaseLock​(org.uberfire.backend.vfs.Path path)
                                                                  throws IllegalArgumentException,
                                                                         org.uberfire.java.nio.IOException
        Specified by:
        forceReleaseLock in interface org.uberfire.backend.vfs.VFSLockService
        Throws:
        IllegalArgumentException
        org.uberfire.java.nio.IOException
      • retrieveLockInfo

        public org.uberfire.backend.vfs.impl.LockInfo retrieveLockInfo​(org.uberfire.backend.vfs.Path path)
                                                                throws IllegalArgumentException,
                                                                       org.uberfire.java.nio.IOException
        Specified by:
        retrieveLockInfo in interface org.uberfire.backend.vfs.VFSLockService
        Throws:
        IllegalArgumentException
        org.uberfire.java.nio.IOException
      • retrieveLockInfos

        public List<org.uberfire.backend.vfs.impl.LockInfo> retrieveLockInfos​(org.uberfire.backend.vfs.Path path,
                                                                              boolean excludeOwnedLocks)
                                                                       throws IllegalArgumentException,
                                                                              org.uberfire.java.nio.IOException
        Specified by:
        retrieveLockInfos in interface org.uberfire.backend.vfs.VFSLockService
        Throws:
        IllegalArgumentException
        org.uberfire.java.nio.IOException