Class Deladminrole
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.Deladminrole
-
public class Deladminrole extends Object
This class is used byFortressAntTask
to loadAdminRole
s used to driveDelAdminMgr.deleteRole(org.apache.directory.fortress.core.model.AdminRole)
. 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.The class name, 'Deladminrole', is used for the xml tag in the load script.
<target name="all"> <FortressAdmin> <deladminrole> ... </deladminrole> </FortressAdmin> </target>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description Deladminrole()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRole(AdminRoleAnt role)
This method name, 'addRole', is used for the derived xml tag 'role' in the load script.List<AdminRoleAnt>
getRoles()
Used byFortressAntTask.deleteAdminRoles()
to retrieve list of AdminRoles as defined in input xml file.
-
-
-
Method Detail
-
addRole
public void addRole(AdminRoleAnt role)
This method name, 'addRole', is used for the derived xml tag 'role' in the load script.<deladminrole> <role name="DemoAdminUsers" </deladminrole>
- Parameters:
role
- contains extension ofAdminRole
.
-
getRoles
public List<AdminRoleAnt> getRoles()
Used byFortressAntTask.deleteAdminRoles()
to retrieve list of AdminRoles as defined in input xml file.- Returns:
- collection containing
AdminRoleAnt
s targeted for removal.
-
-