Description:
This is an integrated context implementation helper delegate class for
the AgentFacade class. "Integrated" means that Samigo (Tests and Quizzes)
is running within the context of the Sakai portal and authentication
mechanisms, and therefore makes calls on Sakai for things it needs.
Note: To customize behavior you can add your own helper class to the
Spring injection via the integrationContext.xml for your context.
The particular integrationContext.xml to be used is selected by the
build process.
Sakai Project Copyright (c) 2005
author: Ed Smiley author: based on code originally in AgentFacade
isFileUploadAvailable() This is a kludge to work around a JSF scriptlet dependency introduced by cwen
on org.sakaiproject.component.cover.ServerConfigurationService.
Called by AgentFacade from an instance. In integrated just wrap the above.
Parameters: agentString - the agent string for current AgentFacade instance role string
This gets the current site id and transforms it into the realm.
From there it asks the AuthzGroupService for the roles of the given users
Parameters: inUsers - the Collection of users who have their roles looked up.This is a Collection of userId Strings Returns the map of users as keys and their roles as values.If the user is not in the realm then they will have a null role.
This is a kludge to work around a JSF scriptlet dependency introduced by cwen
on org.sakaiproject.component.cover.ServerConfigurationService.
true unless it is turned off