public class Delsuffix extends Object
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.
Constructor and Description |
---|
Delsuffix()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addSuffix(Suffix suffix)
This method name, 'addSuffix', is used for derived xml tag 'suffix' in the load script.
|
List<Suffix> |
getSuffixes()
Used by
FortressAntTask.deleteSuffixes() to retrieve list of Suffixes as defined in input xml file. |
public Delsuffix()
public void addSuffix(Suffix suffix)
<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.
suffix
- contains reference to data element targeted for removal..public List<Suffix> getSuffixes()
FortressAntTask.deleteSuffixes()
to retrieve list of Suffixes as defined in input xml file.Suffix
s targeted for removal.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621