public class AddpermObj extends Object
FortressAntTask
to load PermObj
s used to drive
AdminMgr.addPermObj(org.apache.directory.fortress.core.model.PermObj)
.
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, 'AddpermObj', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<addpermobj>
...
</addpermobj>
</FortressAdmin>
</target>
Constructor and Description |
---|
AddpermObj()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPermObj(PermObj permObj)
This method name, 'addPermObj', is used for derived xml tag 'permobj' in the load script.
|
List<PermObj> |
getPermObjs()
Used by
FortressAntTask.addPermObjs() to retrieve list of PermObjs as defined in input xml file. |
public AddpermObj()
public void addPermObj(PermObj permObj)
<addpermobj>
<permobj objName="/jsp/cal/cal1.jsp" description="Fortress Web Demo App Object 1" ou="demoapps1" type="Ant"/>
<permobj objName="/jsp/cal/cal2.jsp" description="Fortress Web Demo App Object 2" ou="demoapps1" type="Ant"/>
</addpermobj>
permObj
- contains reference to data element targeted for insertion..public List<PermObj> getPermObjs()
FortressAntTask.addPermObjs()
to retrieve list of PermObjs as defined in input xml file.PermObj
s targeted for insertion.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621