Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    org.sakaiproject.citation.impl.SampleSiteOsidConfiguration

Essentially, this class makes This class needs to make three decisions:

  1. Which Sakai properties need to be overridden XML configuration file is appropriate for this user?

    The Java code returns the name of XML file that describes the proper configuration. See getConfigurationXml() in SampleSiteOsidConfiguration.

  2. Which databases are available to this user?

    The Java code returns the name of an XML file that describes the database hierarchy. See getDatabaseHierarchyXml() in SampleSiteOsidConfiguration.

  3. What groups (if any) does this user belong to?

    Groups allow the Citation Helper to decide which portions of the database hierarchy are available to the current user. In the Search Categories & Databases XML documentation, you will see that each defined database can have associated database-groups.

    See getGroupIds() in SampleSiteOsidConfiguration for a simple implementation.

...