01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sections/tags/sakai_2-4-1/sections-app/src/java/org/sakaiproject/tool/section/filter/AuthorizationFilterConfigurationBean.java $
03: * $Id: AuthorizationFilterConfigurationBean.java 9245 2006-05-10 17:48:20Z jholtzman@berkeley.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2005, 2006 The Regents of the University of California and The Regents of the University of Michigan
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.section.filter;
21:
22: import java.util.*;
23:
24: /**
25: * Singleton bean to set up URL filtering by current user's role.
26: */
27: public class AuthorizationFilterConfigurationBean {
28: private List manageEnrollments;
29: private List manageTeachingAssistants;
30: private List manageAllSections;
31: private List viewAllSections;
32: private List viewOwnSections;
33:
34: public List getManageEnrollments() {
35: return manageEnrollments;
36: }
37:
38: public void setManageEnrollments(List manageEnrollments) {
39: this .manageEnrollments = manageEnrollments;
40: }
41:
42: public List getManageAllSections() {
43: return manageAllSections;
44: }
45:
46: public void setManageAllSections(List manageAllSections) {
47: this .manageAllSections = manageAllSections;
48: }
49:
50: public List getManageTeachingAssistants() {
51: return manageTeachingAssistants;
52: }
53:
54: public void setManageTeachingAssistants(
55: List manageTeachingAssistants) {
56: this .manageTeachingAssistants = manageTeachingAssistants;
57: }
58:
59: public List getViewOwnSections() {
60: return viewOwnSections;
61: }
62:
63: public void setViewOwnSections(List viewOwnSections) {
64: this .viewOwnSections = viewOwnSections;
65: }
66:
67: public List getViewAllSections() {
68: return viewAllSections;
69: }
70:
71: public void setViewAllSections(List viewAllSections) {
72: this.viewAllSections = viewAllSections;
73: }
74:
75: }
|