public class Addorgunit extends Object
FortressAntTask
to create new OrgUnit
s used
to drive DelAdminMgr.add(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, 'Addorgunit', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<addorgunit>
...
</addorgunit>
</FortressAdmin>
</target>
Constructor and Description |
---|
Addorgunit()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addOrgUnit(OrgUnitAnt ou)
This method name, 'addOrgUnit', is used for derived xml tag 'orgunit' in the load script.
|
List<OrgUnitAnt> |
getOrgUnits()
Used by
FortressAntTask.addOrgunits() to retrieve list of OrgUnits as defined in input xml file. |
public Addorgunit()
public void addOrgUnit(OrgUnitAnt ou)
<addorgunit>
<orgunit name="demousrs1" typeName="USER" description="Test User Org 1 for User on Tomcat Calendar App"/>
<orgunit name="demousrs2" typename="USER" description="Test User Org 2 for User on Tomcat Calendar App"/>
<orgunit name="demoapps1" typeName="PERM" description="Test Perm Org 1 for Permission on Tomcat Calendar App"/>
<orgunit name="demoapps2" typename="PERM" description="Test Perm Org 2 for Permission on Tomcat Calendar App"/>
</addorgunit>
ou
- contains reference to data element targeted for insertion..public List<OrgUnitAnt> getOrgUnits()
FortressAntTask.addOrgunits()
to retrieve list of OrgUnits as defined in input xml file.OrgUnit
s targeted for insertion.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621