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


java.lang.Object
   org.sakaiproject.tool.roster.RosterTool

RosterTool
public class RosterTool (Code)

author:
   rshastri Rashmi Shastri
version:
   $Id: RosterTool.java 1378 2005-08-25 16:25:41Z rshastri@iupui.edu $

Inner Class :public class DecoratedParticipant

Field Summary
final public static  StringCSV_DELIM
    
final public static  StringSORT_ASC
    
final public static  StringSORT_DESC
    
protected  ProfileManagerprofileManager
    
protected  RosterManagerrosterManager
    

Constructor Summary
public  RosterTool()
    

Method Summary
public  voidexportRosterCsv(ActionEvent event)
    
public  intgetAllUserCount()
    
public  StringgetCustomPhotoText()
    
public  StringgetDisplayedSection()
    
public  StringgetFacet()
    
public  StringgetIdPhotoText()
    
public  DecoratedParticipantgetParticipant()
    
public  StringgetPrintFriendlyTitle()
    
public  StringgetPrintFriendlyUrl()
    
public  ProfileManagergetProfileManager()
    
public  ListgetRoleStats()
    
public  ListgetRoster()
    
public  RosterManagergetRosterManager()
    
public  StringgetSelectedView()
    
public  StringgetTitle()
    
public  ListgetViewMenuItems()
    
public  booleanisRenderExportButton()
    
public  booleanisRenderOfficialId()
    
public  booleanisRenderPhotoColumn()
    
public  booleanisRenderPrivacyMessage()
     Determine whether privacy message should be displayed.
public  booleanisRenderRoster()
    
public  booleanisRenderRosterUpdateInfo()
    
public  booleanisRenderSectionsColumn()
    
public  booleanisRenderViewMenu()
    
public  booleanisShowCustomPhoto()
    
public  booleanisShowIdPhoto()
    
public  booleanisShowTool()
    
public  booleanisSortLastNameAscending()
    
public  booleanisSortLastNameDescending()
    
public  booleanisSortRoleAscending()
    
public  booleanisSortRoleDescending()
    
public  booleanisSortSectionsAscending()
    
public  booleanisSortSectionsDescending()
    
public  booleanisSortUserIdAscending()
    
public  booleanisSortUserIdDescending()
    
public  booleanisUserMayViewRoster()
    
public  StringprocessActionDisplayProfile()
    
public  StringprocessActionToggleCustomPhotos()
    
public  StringprocessActionToggleIdPhotos()
    
public  StringprocessCancel()
    
public  StringprocessValueChangeForView(ValueChangeEvent vce)
    
public static  voidprotectAgainstInstantDeletion(HttpServletResponse response)
     Try to head off a problem with downloading files from a secure HTTPS connection to Internet Explorer. When IE sees it's talking to a secure server, it decides to treat all hints or instructions about caching as strictly as possible.
public  voidsetProfileManager(ProfileManager profileService)
    
public  voidsetRosterManager(RosterManager rosterManager)
    
public  voidsetSelectedView(String selected)
    
public  voidsetViewMenuItems(List menuItems)
    
public  StringtoggleLastNameSort()
    
public  StringtoggleRoleSort()
    
public  StringtoggleSectionsSort()
    
public  StringtoggleUserIdSort()
    

Field Detail
CSV_DELIM
final public static String CSV_DELIM(Code)



SORT_ASC
final public static String SORT_ASC(Code)



SORT_DESC
final public static String SORT_DESC(Code)



profileManager
protected ProfileManager profileManager(Code)



rosterManager
protected RosterManager rosterManager(Code)




Constructor Detail
RosterTool
public RosterTool()(Code)




Method Detail
exportRosterCsv
public void exportRosterCsv(ActionEvent event)(Code)
Export the current roster view to a csv file
Parameters:
  event -



getAllUserCount
public int getAllUserCount()(Code)



getCustomPhotoText
public String getCustomPhotoText()(Code)



getDisplayedSection
public String getDisplayedSection()(Code)



getFacet
public String getFacet()(Code)



getIdPhotoText
public String getIdPhotoText()(Code)



getParticipant
public DecoratedParticipant getParticipant()(Code)



getPrintFriendlyTitle
public String getPrintFriendlyTitle()(Code)



getPrintFriendlyUrl
public String getPrintFriendlyUrl()(Code)



getProfileManager
public ProfileManager getProfileManager()(Code)



getRoleStats
public List getRoleStats()(Code)



getRoster
public List getRoster()(Code)



getRosterManager
public RosterManager getRosterManager()(Code)



getSelectedView
public String getSelectedView()(Code)



getTitle
public String getTitle()(Code)



getViewMenuItems
public List getViewMenuItems()(Code)
Returns the list of items to populate the "View" menu



isRenderExportButton
public boolean isRenderExportButton()(Code)



isRenderOfficialId
public boolean isRenderOfficialId()(Code)



isRenderPhotoColumn
public boolean isRenderPhotoColumn()(Code)



isRenderPrivacyMessage
public boolean isRenderPrivacyMessage()(Code)
Determine whether privacy message should be displayed. Will be shown if roster.privacy.display in sakai.properties is "true" and the user does not have roster.viewhidden permission



isRenderRoster
public boolean isRenderRoster()(Code)



isRenderRosterUpdateInfo
public boolean isRenderRosterUpdateInfo()(Code)



isRenderSectionsColumn
public boolean isRenderSectionsColumn()(Code)



isRenderViewMenu
public boolean isRenderViewMenu()(Code)



isShowCustomPhoto
public boolean isShowCustomPhoto()(Code)



isShowIdPhoto
public boolean isShowIdPhoto()(Code)



isShowTool
public boolean isShowTool()(Code)



isSortLastNameAscending
public boolean isSortLastNameAscending()(Code)



isSortLastNameDescending
public boolean isSortLastNameDescending()(Code)



isSortRoleAscending
public boolean isSortRoleAscending()(Code)



isSortRoleDescending
public boolean isSortRoleDescending()(Code)



isSortSectionsAscending
public boolean isSortSectionsAscending()(Code)



isSortSectionsDescending
public boolean isSortSectionsDescending()(Code)



isSortUserIdAscending
public boolean isSortUserIdAscending()(Code)



isSortUserIdDescending
public boolean isSortUserIdDescending()(Code)



isUserMayViewRoster
public boolean isUserMayViewRoster()(Code)



processActionDisplayProfile
public String processActionDisplayProfile()(Code)



processActionToggleCustomPhotos
public String processActionToggleCustomPhotos()(Code)



processActionToggleIdPhotos
public String processActionToggleIdPhotos()(Code)



processCancel
public String processCancel()(Code)



processValueChangeForView
public String processValueChangeForView(ValueChangeEvent vce)(Code)



protectAgainstInstantDeletion
public static void protectAgainstInstantDeletion(HttpServletResponse response)(Code)
Try to head off a problem with downloading files from a secure HTTPS connection to Internet Explorer. When IE sees it's talking to a secure server, it decides to treat all hints or instructions about caching as strictly as possible. Immediately upon finishing the download, it throws the data away. Unfortunately, the way IE sends a downloaded file on to a helper application is to use the cached copy. Having just deleted the file, it naturally isn't able to find it in the cache. Whereupon it delivers a very misleading error message like: "Internet Explorer cannot download roster from sakai.yoursite.edu. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." There are several ways to turn caching off, and so to be safe we use several ways to turn it back on again. This current workaround should let IE users save the files to disk. Unfortunately, errors may still occur if a user attempts to open the file directly in a helper application from a secure web server. TODO Keep checking on the status of this.



setProfileManager
public void setProfileManager(ProfileManager profileService)(Code)



setRosterManager
public void setRosterManager(RosterManager rosterManager)(Code)



setSelectedView
public void setSelectedView(String selected)(Code)



setViewMenuItems
public void setViewMenuItems(List menuItems)(Code)



toggleLastNameSort
public String toggleLastNameSort()(Code)



toggleRoleSort
public String toggleRoleSort()(Code)



toggleSectionsSort
public String toggleSectionsSort()(Code)



toggleUserIdSort
public String toggleUserIdSort()(Code)



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.