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


javax.servlet.http.HttpServlet
   org.sakaiproject.portal.charon.SkinnableCharonPortal

SkinnableCharonPortal
public class SkinnableCharonPortal extends HttpServlet implements Portal(Code)

Charon is the Sakai Site based portal.


since:
   Sakai 2.4
version:
   $Rev: 29143 $


Field Summary
final protected static  StringPARAM_SAKAI_SITE
    


Method Summary
public  StringcalcSiteType(String siteId)
     Returns the type ("course", "project", "workspace", "mySpecialSiteType", etc) of the given site; special handling of returning "workspace" for user workspace sites.
public  MapconvertSiteToMap(HttpServletRequest req, Site s, String prefix, String currentSiteId, String myWorkspaceSiteId, boolean includeSummary, boolean expandSite, boolean resetTools, boolean doPages, String toolContextPath, boolean loggedIn)
    
public  List<Map>convertSitesToMaps(HttpServletRequest req, List mySites, String prefix, String currentSiteId, String myWorkspaceSiteId, boolean includeSummary, boolean expandSite, boolean resetTools, boolean doPages, String toolContextPath, boolean loggedIn)
    
public  voiddestroy()
     Shutdown the servlet.
public  voiddoError(HttpServletRequest req, HttpServletResponse res, Session session, int mode)
    
protected  voiddoGet(HttpServletRequest req, HttpServletResponse res)
     Respond to navigation / access requests.
Parameters:
  req - The servlet request.
Parameters:
  res - The servlet response.
public  voiddoLogin(HttpServletRequest req, HttpServletResponse res, Session session, String returnPath, boolean skipContainer)
    
public  voiddoLogout(HttpServletRequest req, HttpServletResponse res, Session session, String returnPath)
     Process a logout
Parameters:
  req - Request object
Parameters:
  res - Response object
Parameters:
  session - Current session
Parameters:
  returnPath - if not null, the path to use for the end-user browser redirectafter the logout is complete.
protected  voiddoPost(HttpServletRequest req, HttpServletResponse res)
     Respond to data posting requests.
protected  voiddoThrowableError(HttpServletRequest req, HttpServletResponse res, Throwable t)
    
public  voidforwardPortal(ActiveTool tool, HttpServletRequest req, HttpServletResponse res, ToolConfiguration p, String skin, String toolContextPath, String toolPathInfo)
    
public  voidforwardTool(ActiveTool tool, HttpServletRequest req, HttpServletResponse res, Placement p, String skin, String toolContextPath, String toolPathInfo)
    
public  StringgetPlacement(HttpServletRequest req, HttpServletResponse res, Session session, String placementId, boolean doPage)
    
public  StringgetPortalContext()
    
public  StringgetPortalPageUrl(ToolConfiguration p)
    
protected  StringgetScriptPath()
    
public  StringgetServletInfo()
     Access the Servlet's information display.
public  StringgetUserEidBasedSiteId(String userId)
    
public  voidincludeBottom(PortalRenderContext rcontext)
    
public  voidincludeLogin(PortalRenderContext rcontext, HttpServletRequest req, Session session)
    
public  PortalRenderContextincludePortal(HttpServletRequest req, HttpServletResponse res, Session session, String siteId, String toolId, String toolContextPath, String prefix, boolean doPages, boolean resetTools, boolean includeSummary, boolean expandSite)
    
public  MapincludeTool(HttpServletResponse res, HttpServletRequest req, ToolConfiguration placement)
    
public  voidincludeWorksite(PortalRenderContext rcontext, HttpServletResponse res, HttpServletRequest req, Session session, Site site, SitePage page, String toolContextPath, String portalPrefix)
    
public  voidinit(ServletConfig config)
     Initialize the servlet.
public  booleanisPortletPlacement(Placement placement)
    
protected  MappageListToMap(HttpServletRequest req, boolean loggedIn, Site site, SitePage page, String toolContextPath, String portalPrefix, boolean doPages, boolean resetTools, boolean includeSummary)
    
protected  voidpostLogin(HttpServletRequest req, HttpServletResponse res, Session session, String loginPath)
    
public  booleanredirectIfLoggedOut(HttpServletResponse res)
    
protected  voidsendPortalRedirect(HttpServletResponse res, String url)
     Send a redirect so our Portal window ends up at the url, via javascript.
public  voidsendResponse(PortalRenderContext rcontext, HttpServletResponse res, String template, String contentType)
    
public  voidsetupForward(HttpServletRequest req, HttpServletResponse res, Placement p, String skin)
    
protected  voidshowSession(PortalRenderContext rcontext, boolean html)
    
public  PortalRenderContextstartPageContext(String siteType, String title, String skin, HttpServletRequest request)
    

Field Detail
PARAM_SAKAI_SITE
final protected static String PARAM_SAKAI_SITE(Code)
Parameter value to indicate to look up a tool ID within a site





Method Detail
calcSiteType
public String calcSiteType(String siteId)(Code)
Returns the type ("course", "project", "workspace", "mySpecialSiteType", etc) of the given site; special handling of returning "workspace" for user workspace sites. This method is tightly coupled to site skinning.



convertSiteToMap
public Map convertSiteToMap(HttpServletRequest req, Site s, String prefix, String currentSiteId, String myWorkspaceSiteId, boolean includeSummary, boolean expandSite, boolean resetTools, boolean doPages, String toolContextPath, boolean loggedIn)(Code)



convertSitesToMaps
public List<Map> convertSitesToMaps(HttpServletRequest req, List mySites, String prefix, String currentSiteId, String myWorkspaceSiteId, boolean includeSummary, boolean expandSite, boolean resetTools, boolean doPages, String toolContextPath, boolean loggedIn)(Code)



destroy
public void destroy()(Code)
Shutdown the servlet.



doError
public void doError(HttpServletRequest req, HttpServletResponse res, Session session, int mode) throws ToolException, IOException(Code)



doGet
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code)
Respond to navigation / access requests.
Parameters:
  req - The servlet request.
Parameters:
  res - The servlet response. javax.servlet.ServletException. java.io.IOException.



doLogin
public void doLogin(HttpServletRequest req, HttpServletResponse res, Session session, String returnPath, boolean skipContainer) throws ToolException(Code)



doLogout
public void doLogout(HttpServletRequest req, HttpServletResponse res, Session session, String returnPath) throws ToolException(Code)
Process a logout
Parameters:
  req - Request object
Parameters:
  res - Response object
Parameters:
  session - Current session
Parameters:
  returnPath - if not null, the path to use for the end-user browser redirectafter the logout is complete. Leave null to use the configuredlogged out URL.
throws:
  IOException -



doPost
protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code)
Respond to data posting requests.
Parameters:
  req - The servlet request.
Parameters:
  res - The servlet response.
throws:
  ServletException -
throws:
  IOException -



doThrowableError
protected void doThrowableError(HttpServletRequest req, HttpServletResponse res, Throwable t)(Code)



forwardPortal
public void forwardPortal(ActiveTool tool, HttpServletRequest req, HttpServletResponse res, ToolConfiguration p, String skin, String toolContextPath, String toolPathInfo) throws ToolException, IOException(Code)



forwardTool
public void forwardTool(ActiveTool tool, HttpServletRequest req, HttpServletResponse res, Placement p, String skin, String toolContextPath, String toolPathInfo) throws ToolException(Code)
Forward to the tool - but first setup JavaScript/CSS etc that the tool will render



getPlacement
public String getPlacement(HttpServletRequest req, HttpServletResponse res, Session session, String placementId, boolean doPage) throws ToolException(Code)



getPortalContext
public String getPortalContext()(Code)



getPortalPageUrl
public String getPortalPageUrl(ToolConfiguration p)(Code)



getScriptPath
protected String getScriptPath()(Code)



getServletInfo
public String getServletInfo()(Code)
Access the Servlet's information display. servlet information.



getUserEidBasedSiteId
public String getUserEidBasedSiteId(String userId)(Code)
Compute the string that will identify the user site for this user - use the EID if possible
Parameters:
  userId - The user id The site "ID" but based on the user EID



includeBottom
public void includeBottom(PortalRenderContext rcontext)(Code)



includeLogin
public void includeLogin(PortalRenderContext rcontext, HttpServletRequest req, Session session)(Code)



includePortal
public PortalRenderContext includePortal(HttpServletRequest req, HttpServletResponse res, Session session, String siteId, String toolId, String toolContextPath, String prefix, boolean doPages, boolean resetTools, boolean includeSummary, boolean expandSite) throws ToolException, IOException(Code)



includeTool
public Map includeTool(HttpServletResponse res, HttpServletRequest req, ToolConfiguration placement) throws IOException(Code)



includeWorksite
public void includeWorksite(PortalRenderContext rcontext, HttpServletResponse res, HttpServletRequest req, Session session, Site site, SitePage page, String toolContextPath, String portalPrefix) throws IOException(Code)



init
public void init(ServletConfig config) throws ServletException(Code)
Initialize the servlet.
Parameters:
  config - The servlet config.
throws:
  ServletException -



isPortletPlacement
public boolean isPortletPlacement(Placement placement)(Code)



pageListToMap
protected Map pageListToMap(HttpServletRequest req, boolean loggedIn, Site site, SitePage page, String toolContextPath, String portalPrefix, boolean doPages, boolean resetTools, boolean includeSummary)(Code)



postLogin
protected void postLogin(HttpServletRequest req, HttpServletResponse res, Session session, String loginPath) throws ToolException(Code)
Send the POST request to login
Parameters:
  req -
Parameters:
  res -
Parameters:
  session -
throws:
  IOException -



redirectIfLoggedOut
public boolean redirectIfLoggedOut(HttpServletResponse res) throws IOException(Code)
Check for any just expired sessions and redirect true if we redirected, false if not



sendPortalRedirect
protected void sendPortalRedirect(HttpServletResponse res, String url) throws IOException(Code)
Send a redirect so our Portal window ends up at the url, via javascript.
Parameters:
  url - The redirect url



sendResponse
public void sendResponse(PortalRenderContext rcontext, HttpServletResponse res, String template, String contentType) throws IOException(Code)



setupForward
public void setupForward(HttpServletRequest req, HttpServletResponse res, Placement p, String skin) throws ToolException(Code)



showSession
protected void showSession(PortalRenderContext rcontext, boolean html)(Code)
Output some session information
Parameters:
  rcontext - The print writer
Parameters:
  html - If true, output in HTML, else in text.



startPageContext
public PortalRenderContext startPageContext(String siteType, String title, String skin, HttpServletRequest request)(Code)



Methods inherited from javax.servlet.http.HttpServlet
protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected long getLastModified(HttpServletRequest req)(Code)(Java Doc)
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(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.