Class Deluserorgunitinheritance
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.Deluserorgunitinheritance
-
public class Deluserorgunitinheritance extends Object
The class is used byFortressAntTask
to loadRelationship
s used to driveDelAdminMgr.deleteInheritance( org.apache.directory.fortress.core.model.OrgUnit, 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, 'Deluserorgunitinheritance', is used for the xml tag in the load script.
<target name="all"> <FortressAdmin> <deluserorgunitinheritance> ... </deluserorgunitinheritance> </FortressAdmin> </target>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description Deluserorgunitinheritance()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRelationship(Relationship relationship)
This method name, 'addRelationship', is used for derived xml tag 'relationship' in the load script.List<Relationship>
getRelationships()
Used byFortressAntTask.deleteUserOrgunitInheritances()
to retrieve list of User OrgUnit relationships as defined in input xml file.
-
-
-
Method Detail
-
addRelationship
public void addRelationship(Relationship relationship)
This method name, 'addRelationship', is used for derived xml tag 'relationship' in the load script.<deluserorgunitinheritance> <relationship child="ou2" parent="ou1"/> <relationship child="ou3" parent="ou1"/> <relationship child="ou4" parent="ou1"/> </deluserorgunitinheritance>
- Parameters:
relationship
- contains reference to data element targeted for removal.
-
getRelationships
public List<Relationship> getRelationships()
Used byFortressAntTask.deleteUserOrgunitInheritances()
to retrieve list of User OrgUnit relationships as defined in input xml file.- Returns:
- collection containing
Relationship
s targeted for removal.
-
-