Package org.ldaptive

Class ModifyDnRequest

    • Field Detail

      • oldModifyDn

        private String oldModifyDn
        DN to modify.
      • newModifyDn

        private String newModifyDn
        New DN.
      • deleteOldRDn

        private boolean deleteOldRDn
        Whether to delete the old RDN attribute.
    • Constructor Detail

      • ModifyDnRequest

        public ModifyDnRequest()
        Default constructor.
      • ModifyDnRequest

        public ModifyDnRequest​(String oldDn,
                               String newDn)
        Creates a new modify dn request.
        Parameters:
        oldDn - to modify
        newDn - to rename to
    • Method Detail

      • getDn

        public String getDn()
        Returns the DN to modify.
        Returns:
        DN
      • setDn

        public void setDn​(String dn)
        Sets the DN to modify.
        Parameters:
        dn - to modify
      • getNewDn

        public String getNewDn()
        Returns the new DN.
        Returns:
        DN
      • setNewDn

        public void setNewDn​(String dn)
        Sets the new DN.
        Parameters:
        dn - to rename to
      • getDeleteOldRDn

        public boolean getDeleteOldRDn()
        Returns whether to delete the old RDN attribute.
        Returns:
        whether to delete the old RDN attribute
      • setDeleteOldRDn

        public void setDeleteOldRDn​(boolean b)
        Sets whether to delete the old RDN attribute.
        Parameters:
        b - whether to delete the old RDN attribute