[Building Sakai] proposal to deal with Gradebook / Lessons interaction

Charles Hedrick hedrick at rutgers.edu
Mon Jul 1 11:57:03 PDT 2013


Ugh. I was thinking of isExternalAssignmentVisible. Other approaches would be needed for the other methods. Still, I do believe it would be feasible to do it by this approach rather than actually modifying the Assignment and Samigo ExternalAssignmentProvider's. I'd be willing to do the code if people agreed on this approach.


On Jul 1, 2013, at 12:14 PM, Charles Hedrick <hedrick at rutgers.edu> wrote:

> I propose adding to ExternalAssignmentProvider one more method:
> 
> registerInterceptor (class)
> 
> the class has the same profile as the existing ones, but with Boolean rather than boolean.  The methods are prepared to handle assessment IDs from any tool, not just their own. They will return a value, or null if they're not interested. 
> 
> If more than one tool register interceptors they should all be called. The first one to return a value is used. If they return null, go on to the next one.
> 
> The Lesons implementation will guarantee to use sufficient caching that they do not add significant overhead for items they're not interested in.
> 
> My understanding is that some tool other than Lessons does something similar with groups. Hence a general design rather than Lesson-specific hacks.
> 



More information about the sakai-dev mailing list