Java Doc for DecorationFactory.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » decoration » 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 » Portal » jetspeed 2.1.3 » org.apache.jetspeed.decoration 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jetspeed.decoration.DecorationFactory

All known Subclasses:   org.apache.jetspeed.decoration.DecorationFactoryImpl,
DecorationFactory
public interface DecorationFactory (Code)
Factory class used for locating Decorations and Themes for Fragments and pages.
See Also:   org.apache.jetspeed.decoration.Decoration
See Also:   org.apache.jetspeed.decoration.PortletDecoration
See Also:   org.apache.jetspeed.decoration.LayoutDecoration
See Also:   org.apache.jetspeed.decoration.Theme
author:
   Scott T. Weaver


Field Summary
 StringDEFAULT_NESTED_LAYOUT_PORTLET_DECORATOR
    


Method Summary
 voidclearCache(RequestContext requestContext)
     Clears the lookup cache of all previous located pathes.
 DecorationgetDecoration(Page page, Fragment fragment, RequestContext requestContext)
     Returns a Decoration for a specific Fragment contained within the specified Page.
Parameters:
  page - Current page
Parameters:
  fragment - Fragment whose decoration we require.
Parameters:
  requestContext - Current portal request.
 StringgetDefaultDesktopLayoutDecoration()
     Get the default desktop layout decoration to be used when selected layout decoration does not support /desktop.
 StringgetDefaultDesktopPortletDecoration()
     Get the default desktop portlet decoration to be used when selected portlet decoration does not support /desktop.
 SetgetDesktopPageDecorations(RequestContext request)
     Get the portal-wide list of available desktop page decorations.
 SetgetDesktopPortletDecorations(RequestContext request)
     Get the portal-wide list of desktop portlet decorations.
 LayoutDecorationgetLayoutDecoration(String name, RequestContext requestContext)
     Returns a named layout Decoration appropriate to the current request conetext.
Parameters:
  name - Formal name of the decoration.
Parameters:
  requestContext - Current portal request.
 StringgetLayoutDecorationsBasePath()
     Get the path to the layout decorations directory.
 ListgetLayouts(RequestContext request)
     Get the portal-wide list of available layouts.
 SetgetPageDecorations(RequestContext request)
     Get the portal-wide list of page decorations.
 PortletDecorationgetPortletDecoration(String name, RequestContext requestContext)
     Returns a names portlet Decoration appropriate to the current request conetext.
Parameters:
  name - Formal name of the decoration.
Parameters:
  requestContext - Current portal request.
 SetgetPortletDecorations(RequestContext request)
     Get the portal-wide list of portlet decorations.
 StringgetPortletDecorationsBasePath()
     Get the path to the portlet decorations directory.
 ThemegetTheme(Page page, RequestContext requestContext)
     Returns a theme containing all of the Decorations for all of the layouts on the current page.
Parameters:
  page - Page whose theme we are requesting
Parameters:
  requestContext - Current portal request.
 booleanisDesktopEnabled(RequestContext requestContext)
     Indicates whether /desktop is enabled for the current portal request. Located here due to range of jetspeed components which need this information and already have a DecorationFactory reference.
Parameters:
  requestContext - current portal request.
 voidsetDefaultDesktopLayoutDecoration(String newOne)
     Set the default desktop layout decoration to be used when selected layout decoration does not support /desktop.
 voidsetDefaultDesktopPortletDecoration(String newOne)
     Set the default desktop portlet decoration to be used when selected portlet decoration does not support /desktop.

Field Detail
DEFAULT_NESTED_LAYOUT_PORTLET_DECORATOR
String DEFAULT_NESTED_LAYOUT_PORTLET_DECORATOR(Code)
Default nested layout portlet decorator





Method Detail
clearCache
void clearCache(RequestContext requestContext)(Code)
Clears the lookup cache of all previous located pathes. This only clears the cache the RequestContext's current user. This will generally delegate the cache operation to the PathResolverCache currently in use.
Parameters:
  requestContext - Current portal request.
See Also:   RequestContext
See Also:   PathResolverCache



getDecoration
Decoration getDecoration(Page page, Fragment fragment, RequestContext requestContext)(Code)
Returns a Decoration for a specific Fragment contained within the specified Page.
Parameters:
  page - Current page
Parameters:
  fragment - Fragment whose decoration we require.
Parameters:
  requestContext - Current portal request. Decoration requested. If the decoration does not exist, anempty Decoration will be created "in memory" and a message should be loggedinforming the admin that non-existent decoration has been requested.
See Also:   Page
See Also:   Fragment
See Also:   RequestContext



getDefaultDesktopLayoutDecoration
String getDefaultDesktopLayoutDecoration()(Code)
Get the default desktop layout decoration to be used when selected layout decoration does not support /desktop. default desktop layout decoration.



getDefaultDesktopPortletDecoration
String getDefaultDesktopPortletDecoration()(Code)
Get the default desktop portlet decoration to be used when selected portlet decoration does not support /desktop. default desktop portlet decoration.



getDesktopPageDecorations
Set getDesktopPageDecorations(RequestContext request)(Code)
Get the portal-wide list of available desktop page decorations. A list of desktop skins of type String



getDesktopPortletDecorations
Set getDesktopPortletDecorations(RequestContext request)(Code)
Get the portal-wide list of desktop portlet decorations. A list of desktop skins of type String



getLayoutDecoration
LayoutDecoration getLayoutDecoration(String name, RequestContext requestContext)(Code)
Returns a named layout Decoration appropriate to the current request conetext.
Parameters:
  name - Formal name of the decoration.
Parameters:
  requestContext - Current portal request. Decoration requested. If the decoration does not exist, anempty Decoration will be created "in memory" and a message should be loggedinforming the admin that non-existent decoration has been requested.
See Also:   LayoutDecoration
See Also:   RequestContext



getLayoutDecorationsBasePath
String getLayoutDecorationsBasePath()(Code)
Get the path to the layout decorations directory. path to layout decorations directory



getLayouts
List getLayouts(RequestContext request)(Code)
Get the portal-wide list of available layouts. A list of layout portlets of type LayoutInfo



getPageDecorations
Set getPageDecorations(RequestContext request)(Code)
Get the portal-wide list of page decorations. A list of page decorations of type String



getPortletDecoration
PortletDecoration getPortletDecoration(String name, RequestContext requestContext)(Code)
Returns a names portlet Decoration appropriate to the current request conetext.
Parameters:
  name - Formal name of the decoration.
Parameters:
  requestContext - Current portal request. Decoration requested. If the decoration does not exist, anempty Decoration will be created "in memory" and a message should be loggedinforming the admin that non-existent decoration has been requested.
See Also:   RequestContext
See Also:   PortletDecoration



getPortletDecorations
Set getPortletDecorations(RequestContext request)(Code)
Get the portal-wide list of portlet decorations. A list of portlet decorations of type String



getPortletDecorationsBasePath
String getPortletDecorationsBasePath()(Code)
Get the path to the portlet decorations directory. path to portlet decorations directory



getTheme
Theme getTheme(Page page, RequestContext requestContext)(Code)
Returns a theme containing all of the Decorations for all of the layouts on the current page.
Parameters:
  page - Page whose theme we are requesting
Parameters:
  requestContext - Current portal request. Theme for this page based on the current portal request.
See Also:   Theme
See Also:   RequestContext



isDesktopEnabled
boolean isDesktopEnabled(RequestContext requestContext)(Code)
Indicates whether /desktop is enabled for the current portal request. Located here due to range of jetspeed components which need this information and already have a DecorationFactory reference.
Parameters:
  requestContext - current portal request. true if /desktop is enabled for the current portal request, otherwise false



setDefaultDesktopLayoutDecoration
void setDefaultDesktopLayoutDecoration(String newOne)(Code)
Set the default desktop layout decoration to be used when selected layout decoration does not support /desktop.



setDefaultDesktopPortletDecoration
void setDefaultDesktopPortletDecoration(String newOne)(Code)
Set the default desktop portlet decoration to be used when selected portlet decoration does not support /desktop.



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