01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/trunk/samigo-api/src/java/org/sakaiproject/tool/assessment/data/ifc/grading/MediaIfc.java $
03: * $Id: MediaIfc.java 11438 2006-06-30 20:06:03Z 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.assessment;
21:
22: import java.io.Serializable;
23: import java.util.Date;
24:
25: public interface AttachmentIfc extends Serializable {
26:
27: public static Long ASSESSMENT_ATTACHMENT = new Long(1);
28: public static Long SECTION_ATTACHMENT = new Long(2);
29: public static Long ITEM_ATTACHMENT = new Long(3);
30: public static Integer ACTIVE_STATUS = new Integer(1);
31: public static Integer INACTIVE_STATUS = new Integer(0);
32:
33: Long getAttachmentId();
34:
35: void setAttachmentId(Long attachmentId);
36:
37: void setResourceId(String resourceId);
38:
39: String getResourceId();
40:
41: String getFilename();
42:
43: void setFilename(String filename);
44:
45: void setMimeType(String mimeType);
46:
47: String getMimeType();
48:
49: Long getFileSize();
50:
51: void setFileSize(Long fileSize);
52:
53: String getDescription();
54:
55: void setDescription(String pdescription);
56:
57: String getLocation();
58:
59: void setLocation(String location);
60:
61: Boolean getIsLink();
62:
63: void setIsLink(Boolean isLink);
64:
65: Integer getStatus();
66:
67: void setStatus(Integer status);
68:
69: String getCreatedBy();
70:
71: void setCreatedBy(String createdBy);
72:
73: Date getCreatedDate();
74:
75: void setCreatedDate(Date createdDate);
76:
77: String getLastModifiedBy();
78:
79: void setLastModifiedBy(String lastModifiedBy);
80:
81: Date getLastModifiedDate();
82:
83: void setLastModifiedDate(Date lastModifiedDate);
84:
85: }
|