Interface LdapEntry

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDn()
      This returns the DN for this LdapEntry.
      LdapAttributes getLdapAttributes()
      This returns the LdapAttributes for this LdapEntry.
      void setDn​(java.lang.String dn)
      This sets the DN for this LdapEntry.
      void setEntry​(javax.naming.directory.SearchResult sr)
      This sets this LdapEntry with the supplied search result.
      void setLdapAttributes​(LdapAttributes a)
      This sets the attributes for this LdapEntry.
      javax.naming.directory.SearchResult toSearchResult()
      This returns a SearchResult that represents this entry.
    • Method Detail

      • getDn

        java.lang.String getDn()
        This returns the DN for this LdapEntry.
        Returns:
        String
      • getLdapAttributes

        LdapAttributes getLdapAttributes()
        This returns the LdapAttributes for this LdapEntry.
        Returns:
        LdapAttributes
      • setEntry

        void setEntry​(javax.naming.directory.SearchResult sr)
               throws javax.naming.NamingException
        This sets this LdapEntry with the supplied search result.
        Parameters:
        sr - SearchResult
        Throws:
        javax.naming.NamingException - if the search result cannot be read
      • setDn

        void setDn​(java.lang.String dn)
        This sets the DN for this LdapEntry.
        Parameters:
        dn - String
      • setLdapAttributes

        void setLdapAttributes​(LdapAttributes a)
        This sets the attributes for this LdapEntry.
        Parameters:
        a - LdapAttribute
      • toSearchResult

        javax.naming.directory.SearchResult toSearchResult()
        This returns a SearchResult that represents this entry.
        Returns:
        SearchResult