org.tm4j.panckoucke.impl.store.PanckouckeStore .getTopicMapReferences(java.util.List li,boolean all)
Description
Returns a List of TopicmapReferences.
On each call, this method generates a new shallow copy of the
TopicMapReference-Cache.
In Order to minimize object creation, you may pass a java.util.List
to the method which will be filled with the cached TopicMapReferences
and will be returned to the caller.
Since the contents of the Cache are added to li, it may be a good
idea to empty the List before calling this method.
Parameters | ||
---|---|---|
boolean | all | |
java.util.List | li | if true, all TopicMapReferences, which were created in the current lifecyle of the PanckouckeStore are returned. If false, the list only include those TopicMapReferences that are PENDING, OPENING or ACCESSIBLE according to their State-Property |
Returns
a List of TopicMapReferences. The List may be empty but it is never null.
If the Cache is empty and no List was passed to the method, the returned
List is unmodifiable.
Meta Data (1)