Source Code Cross Referenced for Authz.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » section » api » facade » manager » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.section.api.facade.manager 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**********************************************************************************
002:         * $URL: https://source.sakaiproject.org/svn/sections/tags/sakai_2-4-1/sections-api/src/java/org/sakaiproject/section/api/facade/manager/Authz.java $
003:         * $Id: Authz.java 19769 2006-12-19 20:49:32Z jholtzman@berkeley.edu $
004:         ***********************************************************************************
005:         *
006:         * Copyright (c) 2005, 2006 The Regents of the University of California and The Regents of the University of Michigan
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.section.api.facade.manager;
021:
022:        /**
023:         * A facade that provides answers to the section manager's authorization questions.
024:         * 
025:         * @author <a href="mailto:jholtzman@berkeley.edu">Josh Holtzman</a>
026:         *
027:         */
028:        public interface Authz {
029:
030:            /**
031:             * Returns whether the current user can manage (add, edit, delete) sections.
032:             * 
033:             * @param siteContext
034:             * @param userUid The user's uid
035:             * 
036:             * @return
037:             */
038:            public boolean isSectionManagementAllowed(String userUid,
039:                    String siteContext);
040:
041:            /**
042:             * Returns whether the current user can view all sections and their enrollments.
043:             * 
044:             * @param siteContext
045:             * @param userUid The user's uid
046:             * 
047:             * @return
048:             */
049:            public boolean isViewAllSectionsAllowed(String userUid,
050:                    String siteContext);
051:
052:            /**
053:             * Returns whether the current user can change section options in the site.
054:             * 
055:             * @param siteContext
056:             * @param userUid The user's uid
057:             * 
058:             * @return
059:             */
060:            public boolean isSectionOptionsManagementAllowed(String userUid,
061:                    String siteContext);
062:
063:            /**
064:             * Returns whether the current user can change section enrollments.
065:             * 
066:             * @param siteContext
067:             * @param userUid The user's uid
068:             * 
069:             * @return
070:             */
071:            public boolean isSectionEnrollmentMangementAllowed(String userUid,
072:                    String siteContext);
073:
074:            /**
075:             * Returns whether the current user can change TA assignments to sections.
076:             * 
077:             * @param siteContext
078:             * @param userUid The user's uid
079:             * 
080:             * @return
081:             */
082:            public boolean isSectionTaManagementAllowed(String userUid,
083:                    String siteContext);
084:
085:            /**
086:             * Returns whether the current user is a student in the course
087:             * 
088:             * @param userUid
089:             * @param siteContext
090:             * @return
091:             */
092:            public boolean isViewOwnSectionsAllowed(String userUid,
093:                    String siteContext);
094:
095:            /**
096:             * Returns whether the user can be assigned to specific sections.  In general, a TA
097:             * can be assigned to a section, while an instructor can not (since they are site-wide
098:             * administrators).
099:             * 
100:             * @param userUid
101:             * @param siteContext
102:             * @return
103:             */
104:            public boolean isSectionAssignable(String userUid,
105:                    String siteContext);
106:
107:            /**
108:             * Returns the role description for a user in a particular context.  This isn't strictly
109:             * authz, but it doesn't seem to require its own facade.
110:             * 
111:             * @param userUid
112:             * @param siteContext
113:             * @return
114:             */
115:            public String getRoleDescription(String userUid, String siteContext);
116:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.