Class AdminRoleAnt
- java.lang.Object
-
- org.apache.directory.fortress.core.model.FortEntity
-
- org.apache.directory.fortress.core.model.Role
-
- org.apache.directory.fortress.core.model.AdminRole
-
- org.apache.directory.fortress.core.ant.AdminRoleAnt
-
- All Implemented Interfaces:
Serializable
,Administrator
,Constraint
,Graphable
public class AdminRoleAnt extends AdminRole
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.- 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 AdminRoleAnt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOSPs()
Default constructor required for all Ant entities.String
getOSUs()
Return the comma delimited OU string.void
setOSPs(String osPs)
Set the list of Perm OUs as a comma delimited string.void
setOSUs(String osUs)
Load an OU into the collection of OUs stored by collection.-
Methods inherited from class org.apache.directory.fortress.core.model.AdminRole
equals, getBeginRange, getEndRange, getOsPSet, getOsUSet, getRoleRangeRaw, hashCode, isBeginInclusive, isEndInclusive, setBeginInclusive, setBeginRange, setEndInclusive, setEndRange, setOsP, setOsPSet, setOsU, setOsUSet, setRoleRangeRaw, toString
-
Methods inherited from class org.apache.directory.fortress.core.model.Role
addProperties, delParent, getBeginDate, getBeginLockDate, getBeginTime, getChildren, getConstraints, getDayMask, getDescription, getDn, getEndDate, getEndLockDate, getEndTime, getGidNumber, getId, getName, getOccupants, getParents, getProperties, getRawData, getTimeout, isTemporalSet, setBeginDate, setBeginLockDate, setBeginTime, setChildren, setDayMask, setDescription, setDn, setEndDate, setEndLockDate, setEndTime, setGidNumber, setId, setId, setName, setOccupant, setOccupants, setParent, setParents, setRawData, setTimeout, toString
-
Methods inherited from class org.apache.directory.fortress.core.model.FortEntity
getAdminSession, getContextId, getModCode, getModId, getSequenceId, setAdminSession, setContextId, setModCode, setSequenceId
-
-
-
-
Method Detail
-
getOSPs
public String getOSPs()
Default constructor required for all Ant entities.- Returns:
- String containing OSPs.
-
setOSPs
public void setOSPs(String osPs)
Set the list of Perm OUs as a comma delimited string. This method will convert from that format to the AdminRole native format which is collection of Strings.- Parameters:
osPs
- The list of Perm OUs
-
getOSUs
public String getOSUs()
Return the comma delimited OU string.- Returns:
- String containing OSUs.
-
setOSUs
public void setOSUs(String osUs)
Load an OU into the collection of OUs stored by collection.- Parameters:
osUs
- contains OU name.
-
-