Package org.ldaptive

Class AbstractResult

    • Constructor Detail

      • AbstractResult

        public AbstractResult()
    • Method Detail

      • getResultCode

        public ResultCode getResultCode()
        Description copied from interface: Result
        Returns the result code.
        Specified by:
        getResultCode in interface Result
        Returns:
        result code
      • setResultCode

        public void setResultCode​(ResultCode code)
      • getMatchedDN

        public java.lang.String getMatchedDN()
        Description copied from interface: Result
        Returns the matched DN.
        Specified by:
        getMatchedDN in interface Result
        Returns:
        matched DN
      • setMatchedDN

        public void setMatchedDN​(java.lang.String dn)
      • getDiagnosticMessage

        public java.lang.String getDiagnosticMessage()
        Description copied from interface: Result
        Returns the diagnostic message.
        Specified by:
        getDiagnosticMessage in interface Result
        Returns:
        diagnostic message
      • setDiagnosticMessage

        public void setDiagnosticMessage​(java.lang.String message)
      • getReferralURLs

        public java.lang.String[] getReferralURLs()
        Description copied from interface: Result
        Returns the referral URLs.
        Specified by:
        getReferralURLs in interface Result
        Returns:
        referral URLs
      • addReferralURLs

        public void addReferralURLs​(java.lang.String... urls)
        Adds referral URLs to the result.
        Parameters:
        urls - to add
      • copyValues

        protected <T extends Result> void copyValues​(T result)
        Copies the property values from the supplied result to this result.
        Type Parameters:
        T - type of result
        Parameters:
        result - to copy from