Class Delsuffix


  • public class Delsuffix
    extends Object
    The class is used by FortressAntTask to create new Suffix used to drive SuffixP.delete(org.apache.directory.fortress.core.model.Suffix). It is not intended to be callable by programs outside of the Ant load utility. The class name itself maps to the xml tag used by load utility.

    This class name, 'Delsuffix', is used for the xml tag in the load script.

     
     <delsuffix>
       ...
     </delsuffix>
     
     

    This class is destructive as it will remove all nodes below the suffix using recursive delete function.
    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.

    Author:
    Apache Directory Project
    • Constructor Detail

      • Delsuffix

        public Delsuffix()
        All Ant data entities must have a default constructor.
    • Method Detail

      • addSuffix

        public void addSuffix​(Suffix suffix)
        This method name, 'addSuffix', is used for derived xml tag 'suffix' in the load script.
         
         <target name="all">
             <FortressAdmin>
                 <delsuffix>
                   ...
                 </delsuffix>
             </FortressAdmin>
         </target>
         
         

        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 reference to data element targeted for removal..