Class Delorgunit
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.Delorgunit
-
public class Delorgunit extends Object
The class is used byFortressAntTask
to deleteOrgUnit
s used to driveDelAdminMgr.delete(org.apache.directory.fortress.core.model.OrgUnit)
. 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, 'Delorgunit', is used for the xml tag in the load script.
<target name="all"> <FortressAdmin> <delorgunit> ... </delorgunit> </FortressAdmin> </target>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description Delorgunit()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOrgUnit(OrgUnitAnt ou)
This method name, 'addOrgUnit', is used for derived xml tag 'orgunit' in the load script.List<OrgUnitAnt>
getOrgUnits()
Used byFortressAntTask.addOrgunits()
to retrieve list of OrgUnits as defined in input xml file.
-
-
-
Method Detail
-
addOrgUnit
public void addOrgUnit(OrgUnitAnt ou)
This method name, 'addOrgUnit', is used for derived xml tag 'orgunit' in the load script.<delorgunit> <orgunit name="demousrs1" typeName="USER"/> <orgunit name="demousrs2" typename="USER"/> <orgunit name="demoapps1" typeName="PERM"/> <orgunit name="demoapps2" typename="PERM"/> </delorgunit>
- Parameters:
ou
- contains reference to data element targeted for deletion..
-
getOrgUnits
public List<OrgUnitAnt> getOrgUnits()
Used byFortressAntTask.addOrgunits()
to retrieve list of OrgUnits as defined in input xml file.- Returns:
- collection containing
OrgUnit
s targeted for removal.
-
-