def get_viewable_children(self, spec=None, sort=None, skip=0, limit=0): spec = self._add_view_to_spec(spec) return Collection.get_children(self, spec=spec, sort=sort, skip=skip, limit=limit)
def get_sorted_children(self, spec=None, skip=0, limit=0): return Collection.get_children(self, spec=spec, sort=self.get_default_sort(), skip=skip, limit=limit)