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