public class Addadminroleinheritance extends Object
FortressAntTask
to load Relationship
s used to
drive AdminMgr.addInheritance(org.apache.directory.fortress.core.model.Role,
org.apache.directory.fortress.core.model.Role)
.
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, 'Addadminroleinheritance', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<addadminroleinheritance>
...
</addadminroleinheritance>
</FortressAdmin>
</target>
Constructor and Description |
---|
Addadminroleinheritance()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRelationship(Relationship relationship)
This method name, 'addRelationship', is used for derived xml tag 'relationship' in the load script.
|
List<Relationship> |
getRelationships()
Used by
FortressAntTask.addAddadminrole(org.apache.directory.fortress.core.ant.Addadminrole)
to retrieve list of Roles as defined in input xml file. |
public Addadminroleinheritance()
public void addRelationship(Relationship relationship)
<addadminroleinheritance>
<relationship child="ar2" parent="ar1"/>
<relationship child="ar3" parent="ar1"/>
<relationship child="ar4" parent="ar1"/>
</addadminroleinheritance>
relationship
- contains reference to data element targeted for insertion..public List<Relationship> getRelationships()
FortressAntTask.addAddadminrole(org.apache.directory.fortress.core.ant.Addadminrole)
to retrieve list of Roles as defined in input xml file.Relationship
s targeted for insertion.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621