01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/presentation/tags/sakai_2-4-1/api/src/java/org/sakaiproject/api/app/presentation/Slide.java $
03: * $Id: Slide.java 8654 2006-05-02 01:40:40Z ggolden@umich.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.api.app.presentation;
21:
22: import java.io.Serializable;
23:
24: /**
25: *
26: * @author Mark Norton
27: *
28: * A slide is a single page of a presentation. Each slide has a type, which usually
29: * will be consistent throughout a presentation, but is not required to be so. Each
30: * slide may have an optional displayName.
31: */
32: public interface Slide extends java.io.Serializable {
33:
34: /**
35: * Return the Url for this slide.
36: * @return url of this slide.
37: */
38: public String getUrl();
39:
40: /**
41: * Set the url for this slide.
42: * @param url
43: */
44: public void setUrl(String url);
45:
46: /**
47: * Return the content associated with this slide.
48: *
49: * @author Mark Norton
50: */
51: public Serializable getContent();
52:
53: /**
54: * Set the content associated with this slide.
55: *
56: * @author Mark Norton
57: */
58: public void setContent(Serializable content);
59:
60: /**
61: * Get the display name (title) of this slide.
62: *
63: * @author Mark Norton
64: */
65: public String getDisplayName();
66:
67: /**
68: * Set the display name (title) of this slide.
69: *
70: * @author Mark Norton
71: */
72: public void setDisplayName(String name);
73:
74: /**
75: * Get the slide type. Slide type determines which kind of content
76: * is included in this slide.
77: *
78: * @author Mark Norton
79: */
80: public String getType();
81:
82: /**
83: * Set the slide type. Slide type identifies the kind of content
84: * included in this slide.
85: *
86: * @author Mark Norton
87: */
88: public void setType(String type);
89:
90: }
91:
92: /**********************************************************************************
93: *
94: * $Footer: $
95: *
96: ***********************************************************************************/
|