getParents(Categorizable child) hits catCache.getParents(child) that's great
then if we want to filter by relation_type we don't
getParents(Categorizable child, String relationType)
I think we should call getParents(child) that will use cache and then filter by relationType in another list and return it.
I see the same with getChildren
getChildren(Categorizable parent) hits cache but
getChildren(Categorizable parent, String orderBy) don't
getChildren(Categorizable parent, String orderBy,String relationType) don't
We can call getChildren(parent) that hits cache and in a copy of the list filter and sort.
This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.
getParents(Categorizable child)
hitscatCache.getParents(child)
that's greatthen if we want to filter by relation_type we don't
getParents(Categorizable child, String relationType)
I think we should call
getParents(child)
that will use cache and then filter by relationType in another list and return it.I see the same with getChildren
getChildren(Categorizable parent)
hits cache butgetChildren(Categorizable parent, String orderBy)
don'tgetChildren(Categorizable parent, String orderBy,String relationType)
don'tWe can call
getChildren(parent)
that hits cache and in a copy of the list filter and sort.