001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-api/src/java/org/sakaiproject/api/app/messageforums/PermissionLevel.java $
003: * $Id: PermissionLevel.java 9227 2006-05-15 15:02:42Z cwen@iupui.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2003, 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.api.app.messageforums;
021:
022: public interface PermissionLevel extends MutableEntity {
023:
024: public static final String NEW_FORUM = "newForum";
025: public static final String NEW_TOPIC = "newTopic";
026: public static final String NEW_RESPONSE = "newResponse";
027: public static final String NEW_RESPONSE_TO_RESPONSE = "newResponseToResponse";
028: public static final String MOVE_POSTING = "movePosting";
029: public static final String CHANGE_SETTINGS = "changeSettings";
030: public static final String POST_TO_GRADEBOOK = "postToGradebook";
031: public static final String READ = "read";
032: public static final String MARK_AS_READ = "markAsRead";
033: public static final String MODERATE_POSTINGS = "moderatePostings";
034: public static final String DELETE_OWN = "deleteOwn";
035: public static final String DELETE_ANY = "deleteAny";
036: public static final String REVISE_OWN = "reviseOwn";
037: public static final String REVISE_ANY = "reviseAny";
038:
039: public String getName();
040:
041: public void setName(String name);
042:
043: public String getTypeUuid();
044:
045: public void setTypeUuid(String typeUuid);
046:
047: public Boolean getChangeSettings();
048:
049: public void setChangeSettings(Boolean changeSettings);
050:
051: public Boolean getDeleteAny();
052:
053: public void setDeleteAny(Boolean deleteAny);
054:
055: public Boolean getDeleteOwn();
056:
057: public void setDeleteOwn(Boolean deleteOwn);
058:
059: public Boolean getMarkAsRead();
060:
061: public void setMarkAsRead(Boolean markAsRead);
062:
063: public Boolean getModeratePostings();
064:
065: public void setModeratePostings(Boolean moderatePostings);
066:
067: public Boolean getMovePosting();
068:
069: public void setMovePosting(Boolean movePosting);
070:
071: public Boolean getNewForum();
072:
073: public void setNewForum(Boolean newForum);
074:
075: public Boolean getNewResponse();
076:
077: public void setNewResponse(Boolean newResponse);
078:
079: public Boolean getNewTopic();
080:
081: public void setNewTopic(Boolean newTopic);
082:
083: public Boolean getPostToGradebook();
084:
085: public void setPostToGradebook(Boolean postToGradebook);
086:
087: public Boolean getRead();
088:
089: public void setRead(Boolean read);
090:
091: public Boolean getNewResponseToResponse();
092:
093: public void setNewResponseToResponse(Boolean newResponseToResponse);
094:
095: public Boolean getReviseAny();
096:
097: public void setReviseAny(Boolean reviseAny);
098:
099: public Boolean getReviseOwn();
100:
101: public void setReviseOwn(Boolean reviseOwn);
102:
103: public PermissionLevel clone();
104:
105: }
|