[gradebook2-dev] GRBK-894 groundwork for exporting multiple selected sections

Thomas Amsler tpamsler at ucdavis.edu
Wed Mar 16 21:09:19 PDT 2011


+1 for adding a new method that handles a List<String> of section UIDs.
-1 for passing in a comma separated section UIDs string.

We have at least one use case already where we have deprecated one of
our gradebook2 internal API calls after replacing it with a new one.
We could also keep the existing API that expects a single section UID
and just dispatch the call to the new method.

-- Thomas

On Wed, Mar 16, 2011 at 3:34 PM, Jon Gorrono <jpgorrono at ucdavis.edu> wrote:
> The current getRoster API method has a since sectionUid String param
> (GRBK-525 just built onto that)... in order to get a list of section
> uids (for GRBK-894) in there I propose to use a comma separated list
> as the String value for sectionUid and change the name and description
> of the param
>
>
> otherwise we would have to add a new method signature and deprecate the old.
>
> public Roster getRoster(String gradebookUid, Long gradebookId,
>                        Integer numberLimit, Integer numberOffset, String sectionUuid,
>                        String searchCriteria, String searchField, String sortField,
> boolean includeCMId, boolean isDescending, boolean isShowWeighted)
>
> .. I'll start coding that way for GRBK-894 so shout if you think it
> ought to be a separate method
>
>
> --
> Jon Gorrono
> PGP Key: 0x5434509D -
> http{pgp.mit.edu:11371/pks/lookup?search=0x5434509D&op=index}
> GSWoT Introducer - {GSWoT:US75 5434509D Jon P. Gorrono <jpgorrono - gswot.org>}
> http{sysdev.ucdavis.edu}
>


More information about the gradebook2-dev mailing list