Java Doc for CourseManager.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » section » api » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.section.api.CourseManager

All known Subclasses:   org.sakaiproject.component.section.sakai.CourseManagerImpl,  org.sakaiproject.component.section.CourseManagerHibernateImpl,
CourseManager
public interface CourseManager (Code)
Provides methods for adding a top-level course object, to which CourseSections can be associated, and for associating users with the course. The membership-related methods are intended for use in testing the standalone application only. In sakai, we will can use this as an external interface that allows for Course creation, but does not alter membership in the course.
author:
   Josh Holtzman




Method Summary
public  ParticipationRecordaddEnrollment(User user, Course course)
     Adds a student to a course.
public  ParticipationRecordaddInstructor(User user, Course course)
     Adds an instructor to a course.
public  ParticipationRecordaddTA(User user, Course course)
     Adds a TA to a course.
public  booleancourseExists(String siteContext)
     Checks to see whether a course exists in this site.
public  CoursecreateCourse(String siteContext, String title, boolean selfRegAllowed, boolean selfSwitchingAllowed, boolean externallyManaged)
     Creates a new Course object for this site.
Parameters:
  siteContext - The site context
Parameters:
  title - The title of the course or site
Parameters:
  selfRegAllowed - Whether to allow students to register for sections in this course.
Parameters:
  selfSwitchingAllowed - Whether to allow students to switch sections in this course.
Parameters:
  externallyManaged - Whether to flag this course as externally manager(read-only to the app).
public  voidremoveCourseMembership(String userUid, Course course)
     Removes a user from the course.
public  voidremoveOrphans(String siteContext)
     Removes any section membership record from a site that belongs to a user who is no longer associated with the site.



Method Detail
addEnrollment
public ParticipationRecord addEnrollment(User user, Course course)(Code)
Adds a student to a course. Useful for dataloading in standalone mode.
Parameters:
  user -
Parameters:
  course -



addInstructor
public ParticipationRecord addInstructor(User user, Course course)(Code)
Adds an instructor to a course. Useful for dataloading in standalone mode.
Parameters:
  user -
Parameters:
  course -



addTA
public ParticipationRecord addTA(User user, Course course)(Code)
Adds a TA to a course. Useful for dataloading in standalone mode.
Parameters:
  user -
Parameters:
  course -



courseExists
public boolean courseExists(String siteContext)(Code)
Checks to see whether a course exists in this site.
Parameters:
  siteContext - The site context



createCourse
public Course createCourse(String siteContext, String title, boolean selfRegAllowed, boolean selfSwitchingAllowed, boolean externallyManaged)(Code)
Creates a new Course object for this site.
Parameters:
  siteContext - The site context
Parameters:
  title - The title of the course or site
Parameters:
  selfRegAllowed - Whether to allow students to register for sections in this course.
Parameters:
  selfSwitchingAllowed - Whether to allow students to switch sections in this course.
Parameters:
  externallyManaged - Whether to flag this course as externally manager(read-only to the app). The newly created Course object.



removeCourseMembership
public void removeCourseMembership(String userUid, Course course)(Code)
Removes a user from the course.
Parameters:
  userUid -
Parameters:
  course -



removeOrphans
public void removeOrphans(String siteContext)(Code)
Removes any section membership record from a site that belongs to a user who is no longer associated with the site.
Parameters:
  siteContext - The site context from which to remove the orphaned records
Parameters:
  userUids - The current set of user ids that are a member of the site.Must not be null or empty.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.