Interface LockOperationVote


  • public interface LockOperationVote
    Event sent before a lock is required. Event consumers may abort the lock process with abortOperation(reason).
    • Method Detail

      • getLockOperation

        LockOperation getLockOperation()
        Retrieve LockOperation from this event
        Returns:
        LockOperation
      • getUsername

        String getUsername()
        Return authenticated username for the lock notification
        Returns:
        username
      • getDocumentId

        Integer getDocumentId()
        Return Document ID for the lock notification
        Returns:
        documentId
      • getToken

        String getToken()
        Return Lock Token for the lock notification
        Returns:
        token
      • getAbortReason

        String getAbortReason()
        Retrieve the current abort reason
        Returns:
        abortReason
      • abortOperation

        void abortOperation​(String reason)
        Abort the vote
        Parameters:
        reason - describing WHY you abort the lock operation