01: /**********************************************************************************
02: *
03: * $Id: AuthorizationFilterConfigurationBean.java 9271 2006-05-10 21:52:49Z ray@media.berkeley.edu $
04: *
05: ***********************************************************************************
06: *
07: * Copyright (c) 2005 The Regents of the University of California, The MIT Corporation
08: *
09: * Licensed under the Educational Community License, Version 1.0 (the "License");
10: * you may not use this file except in compliance with the License.
11: * You may obtain a copy of the License at
12: *
13: * http://www.opensource.org/licenses/ecl1.php
14: *
15: * Unless required by applicable law or agreed to in writing, software
16: * distributed under the License is distributed on an "AS IS" BASIS,
17: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18: * See the License for the specific language governing permissions and
19: * limitations under the License.
20: *
21: **********************************************************************************/package org.sakaiproject.tool.gradebook.ui;
22:
23: import java.util.*;
24:
25: /**
26: * Singleton bean to set up URL filtering by current user's role.
27: */
28: public class AuthorizationFilterConfigurationBean {
29: private List userAbleToEditPages;
30: private List userAbleToGradePages;
31: private List userGradablePages;
32:
33: public List getUserAbleToEditPages() {
34: return userAbleToEditPages;
35: }
36:
37: public void setUserAbleToEditPages(List userAbleToEditPages) {
38: this .userAbleToEditPages = userAbleToEditPages;
39: }
40:
41: public List getUserAbleToGradePages() {
42: return userAbleToGradePages;
43: }
44:
45: public void setUserAbleToGradePages(List userAbleToGradePages) {
46: this .userAbleToGradePages = userAbleToGradePages;
47: }
48:
49: public List getUserAbleToViewOwnGradesPages() {
50: return userGradablePages;
51: }
52:
53: public void setUserAbleToViewOwnGradesPages(List userGradablePages) {
54: this.userGradablePages = userGradablePages;
55: }
56: }
|