Skip to Content.
Sympa Menu

grouper-dev - Retrieving group subjects via the new Subject API

Subject: Grouper Developers Forum

List archive

Retrieving group subjects via the new Subject API


Chronological Thread 
  • From: blair christensen <>
  • To:
  • Subject: Retrieving group subjects via the new Subject API
  • Date: Thu, 26 May 2005 11:22:40 -0700

The Subject API provides three methods for retrieving subjects:

* getSubject(id)
* search(searchValue)
* searchByIdentifier(id)

The uuid that we assign to groups is an obvious candidate to use as the
id for retrieving groups. However, I suspect that the most typical
scenario, at least outside of the Grouper internals, will involve
retrieving groups-as-subject by the group name. As such, would it
make sense to have the Grouper source adapter attempt to retrieve
groups by both id and name? Internally this would be just a few
more lines of code and would certainly make the adapter more user
friendly.

In addition, would we want to allow stems|namespaces to be used as
subjects as well? I would think not but if there is a viable reason
for doing so it would be easy enough to support them.




Archive powered by MHonArc 2.6.16.

Top of Page