public class DelpermOp extends Object
FortressAntTask
to load PermAnt
s used to drive
AdminMgr.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>
Constructor and Description |
---|
DelpermOp()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPermOp(PermAnt permission)
This method name, 'addPermOp', is used for derived xml tag 'permop' in the load script.
|
List<PermAnt> |
getPermOps()
Used by
FortressAntTask.addPermOps() to retrieve list of Permissions as defined in input xml file. |
public DelpermOp()
public void addPermOp(PermAnt permission)
<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>
permission
- contains reference to data element targeted for removal..public List<PermAnt> getPermOps()
FortressAntTask.addPermOps()
to retrieve list of Permissions as defined in input xml file.PermAnt
s targeted for removal.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621