Java Doc for SectionAwareness.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.SectionAwareness

All known Subclasses:   org.sakaiproject.component.section.SectionAwarenessHibernateImpl,  org.sakaiproject.component.section.sakai.SectionAwarenessImpl,
SectionAwareness
public interface SectionAwareness (Code)

Provides section awareness to tools needing read-only access to section information, such as section membership.


author:
   Ray Davis
author:
   Josh Holtzman


Field Summary
final public static  StringINSTRUCTOR_MARKER
    
final public static  StringSTUDENT_MARKER
    
final public static  StringTA_MARKER
    


Method Summary
public  ListfindSiteMembersInRole(String siteContext, Role role, String pattern)
     Finds site members in the given context and org.sakaiproject.section.api.facade.Role Role with a matching name or display id.
public  StringgetCategoryName(String categoryId, Locale locale)
     Gets the localized name of a given category.
public  CourseSectiongetSection(String sectionUuid)
     Gets a org.sakaiproject.section.api.coursemanagement.CourseSection CourseSection by its uuid.
public  ListgetSectionCategories(String siteContext)
     Gets the list of section categories.
public  ListgetSectionMembers(String sectionId)
     Gets the full membership of the given section.
public  ListgetSectionMembersInRole(String sectionUuid, Role role)
     Gets the members of a given section that play a given role in the section.
public  ListgetSections(String siteContext)
     Gets the sections associated with this site context.
public  ListgetSectionsInCategory(String siteContext, String categoryId)
     Lists the sections in this context that are a member of the given category.
public  ListgetSiteMembersInRole(String siteContext, Role role)
     Gets the site membership for a given context.
public  ListgetUnassignedMembersInRole(String siteContext, Role role)
     Gets all users who are members of a site but are members of zero sections within the site.
public  booleanisSectionMemberInRole(String sectionId, String personId, Role role)
     Checks whether a user plays a particular org.sakaiproject.section.api.facade.Role Role in a section.
public  booleanisSiteMemberInRole(String siteContext, String userUid, Role role)
     Checks whether a user plays a particular org.sakaiproject.section.api.facade.Role Role in a given site context.

Field Detail
INSTRUCTOR_MARKER
final public static String INSTRUCTOR_MARKER(Code)
The permission "marker" indicating that a role is the instructor role



STUDENT_MARKER
final public static String STUDENT_MARKER(Code)
The permission "marker" indicating that a role is the student role



TA_MARKER
final public static String TA_MARKER(Code)
The permission "marker" indicating that a role is the ta role





Method Detail
findSiteMembersInRole
public List findSiteMembersInRole(String siteContext, Role role, String pattern)(Code)
Finds site members in the given context and org.sakaiproject.section.api.facade.Role Role with a matching name or display id. Pattern matching is TBD, but will probably match in any of the following cases:
  • Display Name = pattern*
  • Sort Name = pattern*
  • Display Id (installation defined, either Email or enterprise id) = pattern*

Parameters:
  siteContext - The site context
Parameters:
  role - The role the user must play in this context
Parameters:
  pattern - The pattern the user's name or id must match A java.util.List List oforg.sakaiproject.section.api.coursemanagement.ParticipationRecordParticipationRecords representing the users in the given site, playingthe given role, that match the string pattern.



getCategoryName
public String getCategoryName(String categoryId, Locale locale)(Code)
Gets the localized name of a given category.
Parameters:
  categoryId - A string identifying the category
Parameters:
  locale - The locale of the client An internationalized string to display for this category.



getSection
public CourseSection getSection(String sectionUuid)(Code)
Gets a org.sakaiproject.section.api.coursemanagement.CourseSection CourseSection by its uuid.
Parameters:
  sectionUuid -



getSectionCategories
public List getSectionCategories(String siteContext)(Code)
Gets the list of section categories. In sakai 2.1, there will be only a single set of categories. They will not be configurable on a per-course or per-context bases. In future versions, the list of categories will be configurable at the site level.
Parameters:
  siteContext - The site context A List of unique Strings that identify the available sectioncategories. These should be internationalized for display usingSectionAwareness.getCategoryName(StringLocale) getCategoryName.



getSectionMembers
public List getSectionMembers(String sectionId)(Code)
Gets the full membership of the given section.
Parameters:
  sectionId - A java.util.List List oforg.sakaiproject.section.api.coursemanagement.ParticipationRecordParticipationRecords representing the users in aorg.sakaiproject.section.api.coursemanagement.CourseSection CourseSection.



getSectionMembersInRole
public List getSectionMembersInRole(String sectionUuid, Role role)(Code)
Gets the members of a given section that play a given role in the section.
Parameters:
  sectionUuid -
Parameters:
  role - A java.util.List List oforg.sakaiproject.section.api.coursemanagement.ParticipationRecordParticipationRecords representing the users in aorg.sakaiproject.section.api.coursemanagement.CourseSection CourseSectionthat play a given org.sakaiproject.section.api.facade.Role Role.



getSections
public List getSections(String siteContext)(Code)
Gets the sections associated with this site context.
Parameters:
  siteContext - The site context The List oforg.sakaiproject.section.api.coursemanagement.CourseSection CourseSectionsassociated with this site context.



getSectionsInCategory
public List getSectionsInCategory(String siteContext, String categoryId)(Code)
Lists the sections in this context that are a member of the given category.
Parameters:
  siteContext - The site context
Parameters:
  categoryId - A List of org.sakaiproject.section.api.coursemanagement.CourseSection CourseSections



getSiteMembersInRole
public List getSiteMembersInRole(String siteContext, Role role)(Code)
Gets the site membership for a given context.
Parameters:
  siteContext - The site context A java.util.List List oforg.sakaiproject.section.api.coursemanagement.ParticipationRecordParticipationRecords representing the users in the given site, playingthe given org.sakaiproject.section.api.facade.Role Role.



getUnassignedMembersInRole
public List getUnassignedMembersInRole(String siteContext, Role role)(Code)
Gets all users who are members of a site but are members of zero sections within the site.
Parameters:
  siteContext - The site context
Parameters:
  role - The role that the user must play in the given site A List of ParticipationRecords



isSectionMemberInRole
public boolean isSectionMemberInRole(String sectionId, String personId, Role role)(Code)
Checks whether a user plays a particular org.sakaiproject.section.api.facade.Role Role in a section.
Parameters:
  sectionId -
Parameters:
  personId -
Parameters:
  role - Whether the user plays a particular role in a section.



isSiteMemberInRole
public boolean isSiteMemberInRole(String siteContext, String userUid, Role role)(Code)
Checks whether a user plays a particular org.sakaiproject.section.api.facade.Role Role in a given site context.
Parameters:
  siteContext - The site context
Parameters:
  userUid - The user's unique id
Parameters:
  role - The role we're checking Whether this user plays this role in this context.



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