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


org.sakaiproject.component.section.support.IntegrationSupport

All known Subclasses:   org.sakaiproject.component.section.support.IntegrationSupportImpl,
IntegrationSupport
public interface IntegrationSupport (Code)
Provides methods for manipulating users, courses, sections, and memberships. Implementations do not provide any authorization, so they are to be used for integration testing only.
author:
   Josh Holtzman




Method Summary
public  ParticipationRecordaddSectionMembership(String userUid, String sectionUuid, Role role)
     Adds a user to a section under the given role.
public  ParticipationRecordaddSiteMembership(String userUid, String siteContext, Role role)
     Adds a user to a site (or "Course").
public  CoursecreateCourse(String siteContext, String title, boolean externallyManaged, boolean selfRegistrationAllowed, boolean selfSwitchingAllowed)
     Creates a new course.
public  CourseSectioncreateSection(String courseUuid, String title, String category, Integer maxEnrollments, String location, Time startTime, Time endTime, boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday)
     Creates a new section.
public  UsercreateUser(String userUid, String displayName, String sortName, String displayId)
     Creates a new user.
public  UserfindUser(String userUid)
     Finds a user by their uuid.
public  SetgetAllSectionMemberships(String userUid, String siteContext)
     Gets all of the section-scoped ParticipationRecords for a user in a given site.
public  ListgetAllSiteMemberships(String userUid)
     Gets all of the site-scoped ParticipationRecords for a user.
public  voidremoveSectionMembership(String userUid, String sectionUuid)
     Removes a user from membership in a section.
public  voidremoveSiteMembership(String userUid, String siteContext)
     Removes a user from a site (or "Course").



Method Detail
addSectionMembership
public ParticipationRecord addSectionMembership(String userUid, String sectionUuid, Role role)(Code)
Adds a user to a section under the given role.
Parameters:
  userUid -
Parameters:
  sectionUuid -
Parameters:
  role -



addSiteMembership
public ParticipationRecord addSiteMembership(String userUid, String siteContext, Role role)(Code)
Adds a user to a site (or "Course").
Parameters:
  userUid -
Parameters:
  siteContext -
Parameters:
  role -



createCourse
public Course createCourse(String siteContext, String title, boolean externallyManaged, boolean selfRegistrationAllowed, boolean selfSwitchingAllowed)(Code)
Creates a new course.
Parameters:
  siteContext -
Parameters:
  title -
Parameters:
  externallyManaged -
Parameters:
  selfRegistrationAllowed -
Parameters:
  selfSwitchingAllowed -



createSection
public CourseSection createSection(String courseUuid, String title, String category, Integer maxEnrollments, String location, Time startTime, Time endTime, boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday)(Code)
Creates a new section.
Parameters:
  courseUuid -
Parameters:
  title -
Parameters:
  category -
Parameters:
  maxEnrollments -
Parameters:
  location -
Parameters:
  startTime -
Parameters:
  endTime -
Parameters:
  monday -
Parameters:
  tuesday -
Parameters:
  wednesday -
Parameters:
  thursday -
Parameters:
  friday -
Parameters:
  saturday -
Parameters:
  sunday -



createUser
public User createUser(String userUid, String displayName, String sortName, String displayId)(Code)
Creates a new user.
Parameters:
  userUid -
Parameters:
  displayName -
Parameters:
  sortName -
Parameters:
  displayId -



findUser
public User findUser(String userUid)(Code)
Finds a user by their uuid.
Parameters:
  userUid -



getAllSectionMemberships
public Set getAllSectionMemberships(String userUid, String siteContext)(Code)
Gets all of the section-scoped ParticipationRecords for a user in a given site. The returned Set should contain either enrollment, instructor, or TA records, since a user can not play different roles in the sections belonging to a single site.
Parameters:
  userUid -
Parameters:
  siteContext -



getAllSiteMemberships
public List getAllSiteMemberships(String userUid)(Code)
Gets all of the site-scoped ParticipationRecords for a user. This can be a mix of enrollments and instructor or TA records, since a user can play different roles in different sites.
Parameters:
  userUid -



removeSectionMembership
public void removeSectionMembership(String userUid, String sectionUuid)(Code)
Removes a user from membership in a section.
Parameters:
  userUid -
Parameters:
  sectionUuid -



removeSiteMembership
public void removeSiteMembership(String userUid, String siteContext)(Code)
Removes a user from a site (or "Course").
Parameters:
  userUid -
Parameters:
  siteContext -



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