Class PermAnt
- java.lang.Object
-
- org.apache.directory.fortress.core.model.FortEntity
-
- org.apache.directory.fortress.core.model.Permission
-
- org.apache.directory.fortress.core.ant.PermAnt
-
- All Implemented Interfaces:
Serializable
public class PermAnt extends Permission
Entity is used by custom Apache Ant task for special handling of collections. This is necessary because the Ant parser cannot deal with complex data attribute types. The class extends a base entity.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.directory.fortress.core.model.FortEntity
adminSession, contextId, modCode, modId, sequenceId
-
-
Constructor Summary
Constructors Constructor Description PermAnt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAntRoles()
Return the roles as a String.void
setAntRoles(String antRoles)
Accept a comma delimited String containing a list of Roles to be granted to a permission.-
Methods inherited from class org.apache.directory.fortress.core.model.Permission
addProperties, addProperty, delRole, equals, getAbstractName, getDescription, getDn, getInternalId, getObjId, getObjName, getOpName, getPaSets, getProperties, getProperty, getProps, getRoles, getType, getUsers, hashCode, isAdmin, setAbstractName, setAdmin, setDescription, setDn, setInternalId, setInternalId, setObjId, setObjName, setOpName, setPaSetName, setPaSets, setProps, setRole, setRoles, setType, setUser, setUsers, toString
-
Methods inherited from class org.apache.directory.fortress.core.model.FortEntity
getAdminSession, getContextId, getModCode, getModId, getSequenceId, setAdminSession, setContextId, setModCode, setSequenceId
-
-
-
-
Method Detail
-
getAntRoles
public String getAntRoles()
Return the roles as a String.- Returns:
- String contains a comma delimited set of role names assigned to permission.
-
setAntRoles
public void setAntRoles(String antRoles)
Accept a comma delimited String containing a list of Roles to be granted to a permission. This function will parse the String and call the setter on its parent.- Parameters:
antRoles
- contains a comma delimited set of role names.
-
-