directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: [Mitosis] Distinction between leaves and branches
Date Thu, 31 May 2007 19:45:30 GMT
Hi Emmanuel,

Emmanuel Lecharny schrieb:
> 
> It would then be interesting to store a kind of virtual attribute
> which hold the number of descendant within each entry. If this number
> is 0, then this is a leaf.

Just for info, there are already some (non-standardized) attributes for
such information.

hasSubordinates: Contains TRUE or FALSE. Defined in X.501. Implemented
by OpenLDAP and IBM Tivoli.

numSubordinates: Contains the number of direct subordinates, 0 means
leaf. There is only an outdated internet draft
http://www.faqs.org/ftp/internet-drafts/draft-boreham-numsubordinates-01.txt
Implemented by Sun Directory and IBM Tivoli.

subordinateCount: Novell eDirectory propriety attribute, works like
numSubordinates.

The Studio browser uses this information to decide if a branch is
expandable or not.

Or should this attribute contain the number of *all* subordinates
(recursively) of an entry?

Regards,
StefanS

Mime
View raw message