001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-api/src/java/org/sakaiproject/tool/assessment/data/ifc/assessment/AssessmentBaseIfc.java $
003: * $Id: AssessmentBaseIfc.java 9269 2006-05-10 21:31:31Z daisyf@stanford.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the"License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package org.sakaiproject.tool.assessment.data.ifc.assessment;
021:
022: import java.util.Date;
023: import java.util.HashMap;
024: import java.util.Set;
025:
026: import org.sakaiproject.tool.assessment.data.ifc.shared.TypeIfc;
027:
028: public interface AssessmentBaseIfc extends java.io.Serializable {
029:
030: public static Integer ACTIVE_STATUS = new Integer(1);
031: public static Integer INACTIVE_STATUS = new Integer(0);
032: public static Integer DEAD_STATUS = new Integer(2);
033: public static String METADATAQUESTIONS_ISINSTRUCTOREDITABLE = "metadataQuestions_isInstructorEditable";
034: public static String HASMETADATAFORQUESTIONS = "hasMetaDataForQuestions";
035: public static String SHOWFEEDBACKAUTHORING = "showFeedbackAuthoring";
036:
037: Long getAssessmentBaseId();
038:
039: void setAssessmentBaseId(Long id);
040:
041: Boolean getIsTemplate();
042:
043: void setIsTemplate(Boolean isTemplate);
044:
045: Long getParentId();
046:
047: void setParentId(Long parentId);
048:
049: String getTitle();
050:
051: void setTitle(String title);
052:
053: String getDescription();
054:
055: void setDescription(String description);
056:
057: String getComments();
058:
059: void setComments(String comments);
060:
061: Integer getInstructorNotification();
062:
063: void setInstructorNotification(Integer instructorNotification);
064:
065: Integer getTesteeNotification();
066:
067: void setTesteeNotification(Integer testeeNotification);
068:
069: Integer getMultipartAllowed();
070:
071: void setMultipartAllowed(Integer multipartAllowed);
072:
073: Long getTypeId();
074:
075: void setTypeId(Long typeId);
076:
077: Integer getStatus();
078:
079: void setStatus(Integer status);
080:
081: String getCreatedBy();
082:
083: void setCreatedBy(String createdBy);
084:
085: Date getCreatedDate();
086:
087: void setCreatedDate(Date createdDate);
088:
089: String getLastModifiedBy();
090:
091: void setLastModifiedBy(String lastModifiedBy);
092:
093: Date getLastModifiedDate();
094:
095: void setLastModifiedDate(Date lastModifiedDate);
096:
097: AssessmentAccessControlIfc getAssessmentAccessControl();
098:
099: void setAssessmentAccessControl(
100: AssessmentAccessControlIfc assessmentAccessControl);
101:
102: EvaluationModelIfc getEvaluationModel();
103:
104: void setEvaluationModel(EvaluationModelIfc evaluationModel);
105:
106: AssessmentFeedbackIfc getAssessmentFeedback();
107:
108: void setAssessmentFeedback(AssessmentFeedbackIfc assessmentFeedback);
109:
110: Set getSecuredIPAddressSet();
111:
112: void setSecuredIPAddressSet(Set securedIPAddressSet);
113:
114: Set getAssessmentMetaDataSet();
115:
116: void setAssessmentMetaDataSet(Set assessmentMetaDataSet);
117:
118: HashMap getAssessmentMetaDataMap(Set assessmentMetaDataSet);
119:
120: HashMap getAssessmentMetaDataMap();
121:
122: String getAssessmentMetaDataByLabel(String label);
123:
124: void addAssessmentMetaData(String label, String entry);
125:
126: void updateAssessmentMetaData(String label, String entry);
127:
128: TypeIfc getType();
129:
130: }
|