Versions Compared

Key

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

...

transitions are navigation or selection clicks:

Gallery Tool Services

Traditional Sakai tool design calls for the creation of an application service that encapsulates the business logic. A simple gallery service is proposed that would be layered over the Content Hosting service.

GalleryService

The GalleryService provides management of galleries:

  1. Find a gallery by id
  2. Find a gallery by reference
  3. Get a list of galleries in a collection
  4. Get gallery information
  5. Set gallery information

Creation of and editing of galleries is deferred.

The Gallery object represents an ordered set of images, mapped onto a ContentHosting collection. It must provide the following capabilities:

  1. Get id
  2. Get reference
  3. Get an image by id
  4. Get an image by reference
  5. Get an ordered list of images
  6. Get representative image id
  7. Set representative iamge id
  8. Get next image
  9. Get previous image
  10. Get nth image