public class AddpermOp extends Object
FortressAntTask
to load PermAnt
s used to drive
AdminMgr.addPermission(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, 'AddpermOp', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<addpermop>
...
</addpermop>
</FortressAdmin>
</target>
Constructor and Description |
---|
AddpermOp()
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 AddpermOp()
public void addPermOp(PermAnt permission)
<addpermop>
<permop opName="main" objName="/jsp/cal/cal1.jsp" type="Ant"/>
<permop opName="8am" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="9am" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="10am" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="11am" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="12pm" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="1pm" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="2pm" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="3pm" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="4pm" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="5pm" objName="/jsp/cal/cal2.jsp" type="Ant"/>
<permop opName="6pm" objName="/jsp/cal/cal2.jsp" type="Ant"/>
</addpermop>
permission
- contains reference to data element targeted for insertion..public List<PermAnt> getPermOps()
FortressAntTask.addPermOps()
to retrieve list of Permissions as defined in input xml file.PermAnt
s targeted for insertion.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621