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


java.lang.Object
   org.sakaiproject.coursemanagement.impl.CourseManagementServiceFederatedImpl

CourseManagementServiceFederatedImpl
public class CourseManagementServiceFederatedImpl implements CourseManagementService(Code)

Federates multiple CourseManagementService implementations. Each individual implementation must follow the following pattern to participate in federation:

If the implementation doesn't have any information about a particular method and would like to defer to other impls in the chain, it should:

  • Throw an IdNotFoundException if the return type is an object and the method throws this exception
  • Return null if the return type is an object and the method does not throw IdNotFoundException
  • Throw UnsupportedOperationException if the return type is a primitive
Please ensure that your implementation is internally consistent. If you implement getEnrollments(String enrollmentSetEid), for instance, you should also implement the isEnrolled() methods. If you implement one but not the other, the data provided by the CourseManagementService will be dependent on how the client calls the API, rather than getting a consistent picture no matter which methods are called.


author:
   Josh Holtzman


Field Summary
protected static  Comparator<AcademicSession>startDateComparator
    


Method Summary
public  Map<String, String>findCourseOfferingRoles(String userEid)
    
public  Set<CourseOffering>findCourseOfferings(String courseSetEid, String academicSessionEid)
    
public  Map<String, String>findCourseSetRoles(String userEid)
    
public  List<CourseSet>findCourseSets(String category)
    
public  Set<EnrollmentSet>findCurrentlyEnrolledEnrollmentSets(String userId)
    
public  Set<EnrollmentSet>findCurrentlyInstructingEnrollmentSets(String userId)
    
public  Set<Section>findEnrolledSections(String userId)
    
public  EnrollmentfindEnrollment(String userId, String enrollmentSetEid)
    
public  Set<Section>findInstructingSections(String userId)
    
public  Set<Section>findInstructingSections(String userId, String academicSessionEid)
    
public  Map<String, String>findSectionRoles(String userEid)
    
public  AcademicSessiongetAcademicSession(String eid)
    
public  List<AcademicSession>getAcademicSessions()
    
public  CanonicalCoursegetCanonicalCourse(String canonicalCourseEid)
    
public  Set<CanonicalCourse>getCanonicalCourses(String courseSetEid)
    
public  Set<CourseSet>getChildCourseSets(String parentCourseSetEid)
    
public  Set<Section>getChildSections(String parentSectionEid)
    
public  CourseOfferinggetCourseOffering(String courseOfferingEid)
    
public  Set<Membership>getCourseOfferingMemberships(String courseOfferingEid)
    
public  Set<CourseOffering>getCourseOfferingsInCanonicalCourse(String canonicalCourseEid)
    
public  Set<CourseOffering>getCourseOfferingsInCourseSet(String courseSetEid)
    
public  CourseSetgetCourseSet(String eid)
    
public  Set<Membership>getCourseSetMemberships(String courseSetEid)
    
public  Set<CourseSet>getCourseSets()
    
public  List<AcademicSession>getCurrentAcademicSessions()
    
public  EnrollmentSetgetEnrollmentSet(String enrollmentSetEid)
    
public  Set<EnrollmentSet>getEnrollmentSets(String courseOfferingEid)
    
public  Map<String, String>getEnrollmentStatusDescriptions(Locale locale)
    
public  Set<Enrollment>getEnrollments(String enrollmentSetEid)
    
public  Set<CanonicalCourse>getEquivalentCanonicalCourses(String canonicalCourseEid)
    
public  Set<CourseOffering>getEquivalentCourseOfferings(String courseOfferingEid)
    
public  Map<String, String>getGradingSchemeDescriptions(Locale locale)
    
public  Set<String>getInstructorsOfRecordIds(String enrollmentSetEid)
    
public  Map<String, String>getMembershipStatusDescriptions(Locale locale)
    
public  SectiongetSection(String sectionEid)
    
public  List<String>getSectionCategories()
    
public  StringgetSectionCategoryDescription(String categoryCode)
    
public  Set<Membership>getSectionMemberships(String sectionEid)
    
public  Set<Section>getSections(String courseOfferingEid)
    
public  booleanisAcademicSessionDefined(String eid)
    
public  booleanisCanonicalCourseDefined(String eid)
    
public  booleanisCourseOfferingDefined(String eid)
    
public  booleanisCourseSetDefined(String eid)
    
public  booleanisEmpty(String courseSetEid)
    
public  booleanisEnrolled(String userId, Set<String> enrollmentSetEids)
    
public  booleanisEnrolled(String userId, String enrollmentSetEid)
    
public  booleanisEnrollmentSetDefined(String eid)
    
public  booleanisSectionDefined(String eid)
    
public  voidsetImplList(List<CourseManagementService> implList)
     Sets the list of implementations to consult.

Field Detail
startDateComparator
protected static Comparator<AcademicSession> startDateComparator(Code)





Method Detail
findCourseOfferingRoles
public Map<String, String> findCourseOfferingRoles(String userEid)(Code)



findCourseOfferings
public Set<CourseOffering> findCourseOfferings(String courseSetEid, String academicSessionEid) throws IdNotFoundException(Code)



findCourseSetRoles
public Map<String, String> findCourseSetRoles(String userEid)(Code)



findCourseSets
public List<CourseSet> findCourseSets(String category)(Code)



findCurrentlyEnrolledEnrollmentSets
public Set<EnrollmentSet> findCurrentlyEnrolledEnrollmentSets(String userId)(Code)



findCurrentlyInstructingEnrollmentSets
public Set<EnrollmentSet> findCurrentlyInstructingEnrollmentSets(String userId)(Code)



findEnrolledSections
public Set<Section> findEnrolledSections(String userId)(Code)



findEnrollment
public Enrollment findEnrollment(String userId, String enrollmentSetEid)(Code)



findInstructingSections
public Set<Section> findInstructingSections(String userId)(Code)



findInstructingSections
public Set<Section> findInstructingSections(String userId, String academicSessionEid) throws IdNotFoundException(Code)



findSectionRoles
public Map<String, String> findSectionRoles(String userEid)(Code)



getAcademicSession
public AcademicSession getAcademicSession(String eid) throws IdNotFoundException(Code)



getAcademicSessions
public List<AcademicSession> getAcademicSessions()(Code)



getCanonicalCourse
public CanonicalCourse getCanonicalCourse(String canonicalCourseEid) throws IdNotFoundException(Code)



getCanonicalCourses
public Set<CanonicalCourse> getCanonicalCourses(String courseSetEid) throws IdNotFoundException(Code)



getChildCourseSets
public Set<CourseSet> getChildCourseSets(String parentCourseSetEid) throws IdNotFoundException(Code)



getChildSections
public Set<Section> getChildSections(String parentSectionEid) throws IdNotFoundException(Code)



getCourseOffering
public CourseOffering getCourseOffering(String courseOfferingEid) throws IdNotFoundException(Code)



getCourseOfferingMemberships
public Set<Membership> getCourseOfferingMemberships(String courseOfferingEid) throws IdNotFoundException(Code)



getCourseOfferingsInCanonicalCourse
public Set<CourseOffering> getCourseOfferingsInCanonicalCourse(String canonicalCourseEid) throws IdNotFoundException(Code)



getCourseOfferingsInCourseSet
public Set<CourseOffering> getCourseOfferingsInCourseSet(String courseSetEid) throws IdNotFoundException(Code)



getCourseSet
public CourseSet getCourseSet(String eid) throws IdNotFoundException(Code)



getCourseSetMemberships
public Set<Membership> getCourseSetMemberships(String courseSetEid) throws IdNotFoundException(Code)



getCourseSets
public Set<CourseSet> getCourseSets()(Code)



getCurrentAcademicSessions
public List<AcademicSession> getCurrentAcademicSessions()(Code)



getEnrollmentSet
public EnrollmentSet getEnrollmentSet(String enrollmentSetEid) throws IdNotFoundException(Code)



getEnrollmentSets
public Set<EnrollmentSet> getEnrollmentSets(String courseOfferingEid) throws IdNotFoundException(Code)



getEnrollmentStatusDescriptions
public Map<String, String> getEnrollmentStatusDescriptions(Locale locale)(Code)



getEnrollments
public Set<Enrollment> getEnrollments(String enrollmentSetEid) throws IdNotFoundException(Code)



getEquivalentCanonicalCourses
public Set<CanonicalCourse> getEquivalentCanonicalCourses(String canonicalCourseEid) throws IdNotFoundException(Code)



getEquivalentCourseOfferings
public Set<CourseOffering> getEquivalentCourseOfferings(String courseOfferingEid) throws IdNotFoundException(Code)



getGradingSchemeDescriptions
public Map<String, String> getGradingSchemeDescriptions(Locale locale)(Code)



getInstructorsOfRecordIds
public Set<String> getInstructorsOfRecordIds(String enrollmentSetEid) throws IdNotFoundException(Code)



getMembershipStatusDescriptions
public Map<String, String> getMembershipStatusDescriptions(Locale locale)(Code)



getSection
public Section getSection(String sectionEid) throws IdNotFoundException(Code)



getSectionCategories
public List<String> getSectionCategories()(Code)



getSectionCategoryDescription
public String getSectionCategoryDescription(String categoryCode)(Code)



getSectionMemberships
public Set<Membership> getSectionMemberships(String sectionEid) throws IdNotFoundException(Code)



getSections
public Set<Section> getSections(String courseOfferingEid) throws IdNotFoundException(Code)



isAcademicSessionDefined
public boolean isAcademicSessionDefined(String eid)(Code)



isCanonicalCourseDefined
public boolean isCanonicalCourseDefined(String eid)(Code)



isCourseOfferingDefined
public boolean isCourseOfferingDefined(String eid)(Code)



isCourseSetDefined
public boolean isCourseSetDefined(String eid)(Code)



isEmpty
public boolean isEmpty(String courseSetEid)(Code)



isEnrolled
public boolean isEnrolled(String userId, Set<String> enrollmentSetEids)(Code)



isEnrolled
public boolean isEnrolled(String userId, String enrollmentSetEid)(Code)



isEnrollmentSetDefined
public boolean isEnrollmentSetDefined(String eid)(Code)



isSectionDefined
public boolean isSectionDefined(String eid)(Code)



setImplList
public void setImplList(List<CourseManagementService> implList)(Code)
Sets the list of implementations to consult. Implementations earlier in the list will override later ones.
Parameters:
  implList -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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