public final class OrgUnitP extends Object
User
class or PermObj
class. The OrgUnit entity itself is stored in two separate locations in the ldap tree one
for each entity listed above. The type of OU entity is set via the enum attribute OrgUnit.Type
which is equal to 'PERM' or 'USER'.
This class performs data validations. The methods of this class are called by internal Fortress manager impl classes
DelAdminMgrImpl
and DelReviewMgrImpl
but is also called by PermP.validate(org.apache.directory.fortress.core.model.PermObj, boolean)
method and UserP.validate(org.apache.directory.fortress.core.model.UserRole)
functions
which ensure the entities are related to valid OU entries. This class is not intended to be called external
to Fortress Core itself. This class will accept Fortress entity OrgUnit
, validate its contents and forward on to it's
corresponding DAO class OrgUnitDAO
for data access.
Class will throw SecurityException
to caller in the event of security policy, data constraint violation or system
error internal to DAO object. This class will forward DAO exceptions (FinderException
,
CreateException
,UpdateException
,RemoveException
),
or ValidationException
as SecurityException
s with appropriate
error id from GlobalErrIds
.
This class uses synchronized data sets (ouCache
but is thread safe.
Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621