...
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:
- Find a gallery by id
- Find a gallery by reference
- Get a list of galleries in a collection
- Get gallery information
- Set gallery information
Creation of and editing of galleries is deferred.
Gallery
The Gallery object represents an ordered set of images, mapped onto a ContentHosting collection. It must provide the following capabilities:
- Get id
- Get reference
- Get an image by id
- Get an image by reference
- Get an ordered list of images
- Get representative image id
- Set representative iamge id
- Get next image
- Get previous image
- Get nth image