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


org.sakaiproject.portal.api.PortalService

All known Subclasses:   org.sakaiproject.portal.service.PortalServiceImpl,
PortalService
public interface PortalService (Code)
Portal Service acts as a focus for all Portal based activities, the service implementation should act as a holder to enable the varous webapps to communicate with one annother.
author:
   ieb
since:
   Sakai 2.4
version:
   $Rev: 29143 $


Field Summary
final public static  StringPLACEMENT_ATTRIBUTE
     A portal request scope attribute that reprenset the placement id of the current request.
final public static  StringTOOL_PORTLET_APP_NAME
    
final public static  StringTOOL_PORTLET_CONTEXT_PATH
     this is the property in the tool config that defines the portlet context of tool.
final public static  StringTOOL_PORTLET_NAME
    


Method Summary
 voidaddHandler(Portal portal, PortalHandler handler)
     Add a PortalHandler to the portal Handler map for the named context.
 voidaddPortal(Portal portal)
    
 voidaddRenderEngine(String context, PortalRenderEngine vengine)
     add a render engine to the available render engines.
Parameters:
  context - -the context to rengister the render engine in, as there may bemore than one portal in a sakai instance, you need to register therender engine against a context.
 StringdecodeToolState(Map<String, String[]> params, String placementId)
     Inverts the operation of encodeToolState, and returns the URL stub which was supplied for the supplied placementId.
 Map<String, String[]>encodeToolState(String placementId, String URLstub)
     Returns a parameter map suitable for appending to a portal URL, representing that the URL state of a tool being shown with the specified placementId will be equal to the URLstub.
 Map<String, PortalHandler>getHandlerMap(Portal portal)
     Get the PortalHandler map for the portal Context.
 Iterator<PortletApplicationDescriptor>getRegisteredApplications()
    
 PortalRenderEnginegetRenderEngine(String context, HttpServletRequest request)
    
 StringgetResetState()
    
 StringgetResetStateParam()
    
 StoredStategetStoredState()
     get the StoredState object that is used to hold initial request state on direct access to a portlet state or on GET or POST that requires other initial actions.
 StyleAbleProvidergetStylableService()
    
 booleanisEnableDirect()
     Is the direct URL mechnism enabled in the configation file.
 booleanisResetRequested(HttpServletRequest req)
    
 StoredStatenewStoredState(String marker, String replacement)
    
 voidremoveHandler(Portal portal, String urlFragment)
    
 voidremovePortal(Portal portal)
    
 voidremoveRenderEngine(String context, PortalRenderEngine vengine)
     remove a render engine from the avaialble render engines
Parameters:
  context - -the context to deregister the render engine from, as there may bemore than one portal in a sakai instance, you need to deregisterthe render engine from a context.
 voidsetResetState(String state)
     ste the state of the portal reset flag.
 voidsetStoredState(StoredState storedstate)
    

Field Detail
PLACEMENT_ATTRIBUTE
final public static String PLACEMENT_ATTRIBUTE(Code)
A portal request scope attribute that reprenset the placement id of the current request. It should be a string, and should be implimented where the request is portlet dispatched.



TOOL_PORTLET_APP_NAME
final public static String TOOL_PORTLET_APP_NAME(Code)
this is the property in the tool config that defines the name of the portlet application



TOOL_PORTLET_CONTEXT_PATH
final public static String TOOL_PORTLET_CONTEXT_PATH(Code)
this is the property in the tool config that defines the portlet context of tool. At the moment we assume that this is in the read-only properties of the tool, but there could be a generic tool placement that enabled any portlet to be mounted



TOOL_PORTLET_NAME
final public static String TOOL_PORTLET_NAME(Code)
this is the property in the tool config that defines the name of the portlet





Method Detail
addHandler
void addHandler(Portal portal, PortalHandler handler)(Code)
Add a PortalHandler to the portal Handler map for the named context.
Parameters:
  portal -
Parameters:
  handler -



addPortal
void addPortal(Portal portal)(Code)
Remove a portal from the portal service this should perform all the necessary cleanup
Parameters:
  portal -



addRenderEngine
void addRenderEngine(String context, PortalRenderEngine vengine)(Code)
add a render engine to the available render engines.
Parameters:
  context - -the context to rengister the render engine in, as there may bemore than one portal in a sakai instance, you need to register therender engine against a context. The context should match thecontext used by the portal to retrieve its render engine. This isdependant on the Portal implementation details.
Parameters:
  vengine - the render engine implementation to register with the portalservice



decodeToolState
String decodeToolState(Map<String, String[]> params, String placementId)(Code)
Inverts the operation of encodeToolState, and returns the URL stub which was supplied for the supplied placementId. Will return null if there was no special state registered.



encodeToolState
Map<String, String[]> encodeToolState(String placementId, String URLstub)(Code)
Returns a parameter map suitable for appending to a portal URL, representing that the URL state of a tool being shown with the specified placementId will be equal to the URLstub. URLstub may contain anchor state, which the portal implementation may honour if it is capable. The Map may also include the encoded state of other placements if they are being shown in the current render state.



getHandlerMap
Map<String, PortalHandler> getHandlerMap(Portal portal)(Code)
Get the PortalHandler map for the portal Context.
Parameters:
  portal -



getRegisteredApplications
Iterator<PortletApplicationDescriptor> getRegisteredApplications()(Code)
Get an Iterator of Portlet Application Descriptors from the whole of the application



getRenderEngine
PortalRenderEngine getRenderEngine(String context, HttpServletRequest request)(Code)
get a render engine possibly based on the request
Parameters:
  context - -the context from whcih to take the render engine.
Parameters:
  request -



getResetState
String getResetState()(Code)
get the state of the state of the portal reset flag



getResetStateParam
String getResetStateParam()(Code)
Get the parameter used to communicate reset state operations on the URL



getStoredState
StoredState getStoredState()(Code)
get the StoredState object that is used to hold initial request state on direct access to a portlet state or on GET or POST that requires other initial actions.



getStylableService
StyleAbleProvider getStylableService()(Code)
Get the implimentation of the StylableService from the portal impl



isEnableDirect
boolean isEnableDirect()(Code)
Is the direct URL mechnism enabled in the configation file.



isResetRequested
boolean isResetRequested(HttpServletRequest req)(Code)
Was a reset requested
Parameters:
  req -



newStoredState
StoredState newStoredState(String marker, String replacement)(Code)
Create a new Stored State
Parameters:
  marker - the mark within the URL
Parameters:
  replacement - and the replacement text on restoration



removeHandler
void removeHandler(Portal portal, String urlFragment)(Code)
Remove the Portal Handler identitied by the URL fragment associated with the portal Context
Parameters:
  portal -
Parameters:
  urlFragment -



removePortal
void removePortal(Portal portal)(Code)
Add a portal to the portal service
Parameters:
  portal -



removeRenderEngine
void removeRenderEngine(String context, PortalRenderEngine vengine)(Code)
remove a render engine from the avaialble render engines
Parameters:
  context - -the context to deregister the render engine from, as there may bemore than one portal in a sakai instance, you need to deregisterthe render engine from a context. The context should match thecontext used by the portal to retrieve its render engine. This isdependant on the Portal implementation details.
Parameters:
  vengine -



setResetState
void setResetState(String state)(Code)
ste the state of the portal reset flag.
Parameters:
  state -



setStoredState
void setStoredState(StoredState storedstate)(Code)
set the StoredState of the request for later retrieval
Parameters:
  storedstate -



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