Class DelpermOp
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.DelpermOp
-
public class DelpermOp extends Object
The class is used byFortressAntTask
to loadPermAnt
s used to driveAdminMgr.deletePermission(org.apache.directory.fortress.core.model.Permission)
. 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, 'DelpermOp', is used for the xml tag in the load script.
<target name="all"> <FortressAdmin> <delpermop> ... </delpermop> </FortressAdmin> </target>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description DelpermOp()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPermOp(PermAnt permission)
This method name, 'addPermOp', is used for derived xml tag 'permop' in the load script.List<PermAnt>
getPermOps()
Used byFortressAntTask.addPermOps()
to retrieve list of Permissions as defined in input xml file.
-
-
-
Method Detail
-
addPermOp
public void addPermOp(PermAnt permission)
This method name, 'addPermOp', is used for derived xml tag 'permop' in the load script.<delpermop> <permop opName="main" objName="/jsp/cal/cal1.jsp"/> <permop opName="8am" objName="/jsp/cal/cal2.jsp"/> <permop opName="9am" objName="/jsp/cal/cal2.jsp"/> <permop opName="10am" objName="/jsp/cal/cal2.jsp"/> <permop opName="11am" objName="/jsp/cal/cal2.jsp"/> <permop opName="12pm" objName="/jsp/cal/cal2.jsp"/> <permop opName="1pm" objName="/jsp/cal/cal2.jsp"/> <permop opName="2pm" objName="/jsp/cal/cal2.jsp"/> <permop opName="3pm" objName="/jsp/cal/cal2.jsp"/> <permop opName="4pm" objName="/jsp/cal/cal2.jsp"/> <permop opName="5pm" objName="/jsp/cal/cal2.jsp"/> <permop opName="6pm" objName="/jsp/cal/cal2.jsp"/> </delpermop>
- Parameters:
permission
- contains reference to data element targeted for removal..
-
getPermOps
public List<PermAnt> getPermOps()
Used byFortressAntTask.addPermOps()
to retrieve list of Permissions as defined in input xml file.- Returns:
- collection containing
PermAnt
s targeted for removal.
-
-