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


java.lang.Object
   org.sakaiproject.tool.gradebook.ui.InitializableBean
      org.sakaiproject.tool.gradebook.ui.GradebookDependentBean
         org.sakaiproject.tool.gradebook.ui.EnrollmentTableBean

All known Subclasses:   org.sakaiproject.tool.gradebook.ui.RosterBean,  org.sakaiproject.tool.gradebook.ui.CourseGradeDetailsBean,  org.sakaiproject.tool.gradebook.ui.AssignmentDetailsBean,
EnrollmentTableBean
abstract public class EnrollmentTableBean extends GradebookDependentBean implements Paging,Serializable(Code)
This is an abstract base class for gradebook dependent backing beans that support searching, sorting, and paging student data.

Inner Class :public class GradingEventRow implements Serializable

Field Summary
final static  Comparator<EnrollmentRecord>ENROLLMENT_DISPLAY_UID_COMPARATOR
    
final static  Comparator<EnrollmentRecord>ENROLLMENT_DISPLAY_UID_NUMERIC_COMPARATOR
    
final static  Comparator<EnrollmentRecord>ENROLLMENT_NAME_COMPARATOR
    

Constructor Summary
public  EnrollmentTableBean()
    

Method Summary
public  voidchangePagingState(ValueChangeEvent valueChange)
     This method more or less turns a JSF input component (namely the Sakai Pager tag) into a JSF command component.
public  voidclear(ActionEvent event)
    
protected  ListfinalizeSortingAndPaging(List list)
    
public  intgetDataRows()
    
public  intgetFirstRow()
    
public  StringgetGraderNameForId(String graderId)
    
public  intgetMaxDisplayedRows()
    
protected  MapgetOrderedEnrollmentMap()
    
public  StringgetSearchString()
    
public  ListgetSectionFilterSelectItems()
    
public  IntegergetSelectedSectionFilterValue()
    
public  StringgetSelectedSectionUid()
    
abstract public  StringgetSortColumn()
    
protected  ListgetWorkingEnrollments()
    
protected  voidinit()
    
public  booleanisAllSectionsSelected()
    
public  booleanisEmptyEnrollments()
    
public  booleanisEnrollmentSort()
    
abstract public  booleanisSortAscending()
    
public  voidsearch(ActionEvent event)
    
public  voidsetFirstRow(int firstRow)
    
public  voidsetMaxDisplayedRows(int maxDisplayedRows)
    
public  voidsetSearchString(String searchString)
    
public  voidsetSelectedSectionFilterValue(Integer selectedSectionFilterValue)
    
abstract public  voidsetSortAscending(boolean sortAscending)
    
abstract public  voidsetSortColumn(String sortColumn)
    
public  voidsort(ActionEvent event)
    

Field Detail
ENROLLMENT_DISPLAY_UID_COMPARATOR
final static Comparator<EnrollmentRecord> ENROLLMENT_DISPLAY_UID_COMPARATOR(Code)
A comparator that sorts enrollments by student display UID (for installations where a student UID is not a number)



ENROLLMENT_DISPLAY_UID_NUMERIC_COMPARATOR
final static Comparator<EnrollmentRecord> ENROLLMENT_DISPLAY_UID_NUMERIC_COMPARATOR(Code)
A comparator that sorts enrollments by student display UID (for installations where a student UID is a number)



ENROLLMENT_NAME_COMPARATOR
final static Comparator<EnrollmentRecord> ENROLLMENT_NAME_COMPARATOR(Code)
A comparator that sorts enrollments by student sortName




Constructor Detail
EnrollmentTableBean
public EnrollmentTableBean()(Code)




Method Detail
changePagingState
public void changePagingState(ValueChangeEvent valueChange)(Code)
This method more or less turns a JSF input component (namely the Sakai Pager tag) into a JSF command component. We want the Pager to cause immediate pseudo-navigation to a new state, throwing away any score input values without bothering to validate them. But because the Pager is a UIInput component, it doesn't have an action method that will be called before full validation is done. Instead, we declare our Pager input tag to be immediate, set this valueChangeListener, and explicitly jump over all other intervening phases directly to the rendering phase, which should then pick up the new paging values.



clear
public void clear(ActionEvent event)(Code)



finalizeSortingAndPaging
protected List finalizeSortingAndPaging(List list)(Code)



getDataRows
public int getDataRows()(Code)



getFirstRow
public int getFirstRow()(Code)



getGraderNameForId
public String getGraderNameForId(String graderId)(Code)



getMaxDisplayedRows
public int getMaxDisplayedRows()(Code)



getOrderedEnrollmentMap
protected Map getOrderedEnrollmentMap()(Code)



getSearchString
public String getSearchString()(Code)



getSectionFilterSelectItems
public List getSectionFilterSelectItems()(Code)



getSelectedSectionFilterValue
public Integer getSelectedSectionFilterValue()(Code)



getSelectedSectionUid
public String getSelectedSectionUid()(Code)



getSortColumn
abstract public String getSortColumn()(Code)



getWorkingEnrollments
protected List getWorkingEnrollments()(Code)



init
protected void init()(Code)



isAllSectionsSelected
public boolean isAllSectionsSelected()(Code)



isEmptyEnrollments
public boolean isEmptyEnrollments()(Code)



isEnrollmentSort
public boolean isEnrollmentSort()(Code)



isSortAscending
abstract public boolean isSortAscending()(Code)



search
public void search(ActionEvent event)(Code)



setFirstRow
public void setFirstRow(int firstRow)(Code)



setMaxDisplayedRows
public void setMaxDisplayedRows(int maxDisplayedRows)(Code)



setSearchString
public void setSearchString(String searchString)(Code)



setSelectedSectionFilterValue
public void setSelectedSectionFilterValue(Integer selectedSectionFilterValue)(Code)



setSortAscending
abstract public void setSortAscending(boolean sortAscending)(Code)



setSortColumn
abstract public void setSortColumn(String sortColumn)(Code)



sort
public void sort(ActionEvent event)(Code)



Methods inherited from org.sakaiproject.tool.gradebook.ui.GradebookDependentBean
public List findMatchingEnrollments(String searchString, String optionalSectionUid)(Code)(Java Doc)
public Authn getAuthnService()(Code)(Java Doc)
public String getAuthzLevel()(Code)(Java Doc)
public List getAvailableEnrollments()(Code)(Java Doc)
public List getAvailableSections()(Code)(Java Doc)
public String getDownloadFileName(String prefix)(Code)(Java Doc)
Gradebook getGradebook()(Code)(Java Doc)
public GradebookBean getGradebookBean()(Code)(Java Doc)
Long getGradebookId()(Code)(Java Doc)
public GradebookManager getGradebookManager()(Code)(Java Doc)
String getGradebookUid()(Code)(Java Doc)
public String getLocalizedString(String key)(Code)(Java Doc)
public String getLocalizedString(String key, String[] params)(Code)(Java Doc)
public String getPageName()(Code)(Java Doc)
public PreferencesBean getPreferencesBean()(Code)(Java Doc)
public SectionAwareness getSectionAwareness()(Code)(Java Doc)
public List getSectionEnrollments(String sectionUid)(Code)(Java Doc)
public UserDirectoryService getUserDirectoryService()(Code)(Java Doc)
public String getUserUid()(Code)(Java Doc)
public boolean isUserAbleToEditAssessments()(Code)(Java Doc)
public boolean isUserAbleToGradeAll()(Code)(Java Doc)
public boolean isUserAbleToGradeSection(String sectionUid)(Code)(Java Doc)
public void setGradebookBean(GradebookBean gradebookBean)(Code)(Java Doc)
public void setPageName(String pageName)(Code)(Java Doc)
public void setPreferencesBean(PreferencesBean preferencesBean)(Code)(Java Doc)

Methods inherited from org.sakaiproject.tool.gradebook.ui.InitializableBean
public void endProcessUpdates()(Code)(Java Doc)
public void endProcessValidators()(Code)(Java Doc)
protected void init()(Code)(Java Doc)
public boolean isNotValidated()(Code)(Java Doc)
public void setConfigured(boolean isConfigured)(Code)(Java Doc)
public void setNotValidated(boolean notValidated)(Code)(Java Doc)
public void startRenderResponse()(Code)(Java Doc)

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.