org.sakaiproject.api.app.presentation
Interface Presentation

All Superinterfaces:
Serializable
All Known Implementing Classes:
PrPresentation

public interface Presentation
extends Serializable

The Presentation class allows content to be grouped together in a ordered, linear sequence. In addition to the list of content slides, a wait slide may be included to be displayed before the presentation starts. If no wait slide is present, nothing is displayed.

Author:
Mark Norton

Field Summary
static String PRESENTATION_AUTHOR
           
static String PRESENTATION_CREATED
           
static String PRESENTATION_TITLE
           
 
Method Summary
 void addSlide(Slide slide)
          Append a slide to the end of the slide list.
 void deleteSlide(int position)
          Delete the slide at the position given.
 org.osid.shared.Id getId()
          Get the Id of this presentation.
 String getModificationDate()
           
 Slide getSlide(int offset)
          Return the slide at the given offset.
 int getSlideCount()
          Get the number of slides in the slide set associated with this presentation.
 List getSlides()
          Return an iterator which lists the slides in this presentation.
 String getTitle()
           
 void insertSlide(int position, Slide slide)
          Insert a slide at the position given.
 void setId(org.osid.shared.Id id)
          Set the Id of this presentation.
 

Field Detail

PRESENTATION_TITLE

public static final String PRESENTATION_TITLE
See Also:
Constant Field Values

PRESENTATION_AUTHOR

public static final String PRESENTATION_AUTHOR
See Also:
Constant Field Values

PRESENTATION_CREATED

public static final String PRESENTATION_CREATED
See Also:
Constant Field Values
Method Detail

getId

public org.osid.shared.Id getId()
Get the Id of this presentation.


setId

public void setId(org.osid.shared.Id id)
Set the Id of this presentation.


getTitle

public String getTitle()

getModificationDate

public String getModificationDate()

getSlides

public List getSlides()
Return an iterator which lists the slides in this presentation.


getSlide

public Slide getSlide(int offset)
Return the slide at the given offset.

Throws:
Throws - INVALID_OFFSET if the offset is less than zero or greater than max.

addSlide

public void addSlide(Slide slide)
Append a slide to the end of the slide list.


getSlideCount

public int getSlideCount()
Get the number of slides in the slide set associated with this presentation.


deleteSlide

public void deleteSlide(int position)
Delete the slide at the position given.

Throws:
Throws - INVALID_OFFSET if the offset is less than zero or greater than max.

insertSlide

public void insertSlide(int position,
                        Slide slide)
Insert a slide at the position given.

Throws:
Throws - INVALID_OFFSET if the offset is less than zero or greater than max.