Class SuffixP

    • Constructor Detail

      • SuffixP

        public SuffixP()
    • Method Detail

      • add

        public final void add​(Suffix suffix)
                       throws SecurityException
        Add a new suffix to the Directory Information Tree (DIT). After added the node will be listed in domain component format, i.e. dc=companyName, dc=com, or dc=orgName, dc=org.
        Parameters:
        suffix - contains the dc name and top level dc for target node.
        Throws:
        SecurityException - in event of validation or system error.
      • delete

        public final void delete​(Suffix suffix)
                          throws SecurityException
        Remove the suffix along with descendant nodes. This is a destructive method which will remove all DIT nodes under the specified.

        This method is destructive and will remove all nodes below.
        Extreme care should be taken during execution to ensure target dn is correct and permanent removal of data is intended. There is no 'undo' for this operation.

        Parameters:
        suffix - contains the dc name and top level dc for target node.
        Throws:
        SecurityException - in event of validation or system error.