Class LockDAO

    • Constructor Detail

      • LockDAO

        public LockDAO()
    • Method Detail

      • acquire

        public boolean acquire​(Lock lock,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: ILockDAO
        acquire a lock
        Specified by:
        acquire in interface ILockDAO
        Returns:
        true if the lock is acquire, false if not
      • release

        public void release​(Lock lock,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: ILockDAO
        release a lock
        Specified by:
        release in interface ILockDAO
      • refresh

        public boolean refresh​(Lock lock,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: ILockDAO
        refresh expired date for a lock
        Specified by:
        refresh in interface ILockDAO
        Returns:
        return true if the lock is extended, false if the lock was been lost
      • closeAll

        public void closeAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: ILockDAO
        Release all
        Specified by:
        closeAll in interface ILockDAO