[Dev] the AllCollection
Morgen Sagen
morgen at osafoundation.org
Wed Feb 15 08:58:42 PST 2006
I always use the repository servlet to help me visualize the sources
of a collection. For example here is the all collection with a
couple of "not mine" collections thrown in:
http://wiki.osafoundation.org/pub/Journal/
CollectionsMeeting20060214/AllCollection.png
On Feb 15, 2006, at 8:45 AM, John Anderson wrote:
> Hi:
>
> In yesterday's collection meeting we debated the complexity of the
> AllCollection. Here's the representation of All that makes it
> easiest for me to see what's going on.
>
> All = (mine - Trash) + AllInclusions
Actually, the order is slightly different:
All = (mine + allInclusions) - Trash
In other words, the Trash overrides allInclusions.
>
> mine = nonRecurringNotes - notMine
>
> nonRecurringNotes = notes with isGenerated == False
>
> nonMine = Union of all notMine collections in the sidebar
>
>
> where:
>
> All is an InclusionsExclusionsCollection
> Trash is a ListCollection
> AllInclusions is a ListCollection
> mine is a DifferenceCollection
> noRecurringNotes is a FilterCollection
> notes is a KindCollection of all Notes
> notMine is a Union collection
>
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev
More information about the Dev
mailing list