Class TransactionInfo

    • Constructor Detail

      • TransactionInfo

        public TransactionInfo​(boolean isCommit)
        Creates a TransactionInfo object
        Parameters:
        isCommit -
      • TransactionInfo

        public TransactionInfo​(Element transactionInfo)
                        throws DavException
        Creates a TransactionInfo object from the given 'transactionInfo' element. The 'transactionInfo' must have the following form:
        
          <!ELEMENT transactioninfo (transactionstatus) >
          <!ELEMENT transactionstatus ( commit | rollback ) >
          <!ELEMENT commit EMPTY >
          <!ELEMENT rollback EMPTY >
         
        Parameters:
        transactionInfo - as present in the UNLOCK request body.
        Throws:
        IllegalArgumentException - if the given transactionInfo element is not valid.
        DavException