Class AddpermObj
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.AddpermObj
-
public class AddpermObj extends Object
The class is used byFortressAntTask
to loadPermObj
s used to driveAdminMgr.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>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description AddpermObj()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPermObj(PermObj permObj)
This method name, 'addPermObj', is used for derived xml tag 'permobj' in the load script.List<PermObj>
getPermObjs()
Used byFortressAntTask.addPermObjs()
to retrieve list of PermObjs as defined in input xml file.
-
-
-
Method Detail
-
addPermObj
public void addPermObj(PermObj permObj)
This method name, 'addPermObj', is used for derived xml tag 'permobj' in the load script.<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>
- Parameters:
permObj
- contains reference to data element targeted for insertion..
-
getPermObjs
public List<PermObj> getPermObjs()
Used byFortressAntTask.addPermObjs()
to retrieve list of PermObjs as defined in input xml file.- Returns:
- collection containing
PermObj
s targeted for insertion.
-
-