01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-api/src/java/org/sakaiproject/tool/assessment/data/ifc/grading/MediaIfc.java $
03: * $Id: MediaIfc.java 14745 2006-09-15 20:19:46Z daisyf@stanford.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.tool.assessment.data.ifc.grading;
21:
22: import java.io.Serializable;
23: import java.util.Date;
24:
25: public interface MediaIfc extends Serializable {
26:
27: Long getMediaId();
28:
29: void setMediaId(Long mediaId);
30:
31: ItemGradingIfc getItemGradingData();
32:
33: void setItemGradingData(ItemGradingIfc itemGradingData);
34:
35: byte[] getMedia();
36:
37: void setMedia(byte[] media);
38:
39: Long getFileSize();
40:
41: void setFileSize(Long fileSize);
42:
43: void setMimeType(String mimeType);
44:
45: String getMimeType();
46:
47: String getDescription();
48:
49: void setDescription(String pdescription);
50:
51: String getLocation();
52:
53: void setLocation(String location);
54:
55: String getFilename();
56:
57: void setFilename(String filename);
58:
59: boolean getIsLink();
60:
61: void setIsLink(boolean isLink);
62:
63: boolean getIsHtmlInline();
64:
65: void setIsHtmlInline(boolean isHtmlInline);
66:
67: Integer getStatus();
68:
69: void setStatus(Integer status);
70:
71: String getCreatedBy();
72:
73: void setCreatedBy(String createdBy);
74:
75: Date getCreatedDate();
76:
77: void setCreatedDate(Date createdDate);
78:
79: String getLastModifiedBy();
80:
81: void setLastModifiedBy(String lastModifiedBy);
82:
83: Date getLastModifiedDate();
84:
85: void setLastModifiedDate(Date lastModifiedDate);
86:
87: String getDuration();
88:
89: void setDuration(String duration);
90:
91: boolean getDurationIsOver();
92:
93: void setDurationIsOver(boolean durationIsOver);
94:
95: String getTimeAllowed();
96:
97: void setTimeAllowed(String timeAllowed);
98:
99: }
|