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


org.apache.jetspeed.layout.JetspeedPowerTool

JetspeedPowerTool
public interface JetspeedPowerTool (Code)
JetspeedPowerTool
author:
   David Sean Taylor
version:
   $Id: JetspeedPowerTool.java 516448 2007-03-09 16:25:47Z ate $


Field Summary
final public static  StringDECORATOR_TYPE
    
final public static  StringFRAGMENT_ATTR
    
final public static  StringFRAGMENT_PROCESSING_ERROR_PREFIX
    
final public static  StringGENERIC_TEMPLATE_TYPE
    
final public static  StringHIDDEN
    
final public static  StringLAYOUT_ATTR
    
final public static  StringLAYOUT_TEMPLATE_TYPE
    


Method Summary
 StringdecorateAndInclude(ContentFragment f)
    

Decorate and include fragment content.

 StringgetAbsoluteUrl(String relativePath)
    
 StringgetBasePath()
    
 ListgetColumnSizes()
    
 List[]getColumns()
    
 ObjectgetComponent(String name)
    
 ContentFragmentgetCurrentFragment()
    
 ContentFragmentgetCurrentLayout()
    
 PortletEntitygetCurrentPortletEntity()
    
 TemplateDescriptorgetDecoration(String path, String templateType)
    
 ListgetDecoratorActions()
     Gets the list of decorator actions for a window.
 booleangetLoggedOn()
    
 PortletModegetMappedPortletMode()
    
 WindowStategetMappedWindowState()
    
 PagegetPage()
    
 StringgetPageBasePath()
    
 ListgetPageDecoratorActions()
     Gets the list of decorator actions for a page.
 PortletEntitygetPortletEntity(ContentFragment f)
    
Parameters:
  f - Fragment whose PortletEntity we want toretreive.
 PortletModegetPortletMode()
    
 SubjectgetSubject()
    
 TemplateDescriptorgetTemplate(String path, String templateType)
     Retreives a template using Jetspeed's
See Also:   org.apache.jetspeed.locator.TemplateLocator
Parameters:
  path - Expected to the template.
 StringgetTitle(PortletEntity entity, ContentFragment f)
    
 StringgetTitle(PortletEntity entity)
    
 WindowStategetWindowState()
    
 StringincludeDecoration(String template, String templateType)
    
 StringincludeTemplate(String template, String templateType)
    
 booleanisHidden(ContentFragment f)
     Checks the the visibilty of this fragment with respect to the current RenderReqeust.
 StringrenderPortletEntity(String entityId, String portletId)
    
 voidsetCurrentFragment(ContentFragment f)
    
 voidsetCurrentLayout()
    

Field Detail
DECORATOR_TYPE
final public static String DECORATOR_TYPE(Code)



FRAGMENT_ATTR
final public static String FRAGMENT_ATTR(Code)



FRAGMENT_PROCESSING_ERROR_PREFIX
final public static String FRAGMENT_PROCESSING_ERROR_PREFIX(Code)



GENERIC_TEMPLATE_TYPE
final public static String GENERIC_TEMPLATE_TYPE(Code)



HIDDEN
final public static String HIDDEN(Code)



LAYOUT_ATTR
final public static String LAYOUT_ATTR(Code)



LAYOUT_TEMPLATE_TYPE
final public static String LAYOUT_TEMPLATE_TYPE(Code)





Method Detail
decorateAndInclude
String decorateAndInclude(ContentFragment f) throws Exception(Code)

Decorate and include fragment content.


Parameters:
  f - Fragment to include and decorate
throws:
  Exception - String path to the decorator.



getAbsoluteUrl
String getAbsoluteUrl(String relativePath)(Code)



getBasePath
String getBasePath()(Code)



getColumnSizes
List getColumnSizes()(Code)



getColumns
List[] getColumns()(Code)



getComponent
Object getComponent(String name)(Code)



getCurrentFragment
ContentFragment getCurrentFragment()(Code)



getCurrentLayout
ContentFragment getCurrentLayout()(Code)



getCurrentPortletEntity
PortletEntity getCurrentPortletEntity() throws Exception(Code)

throws:
  Exception -



getDecoration
TemplateDescriptor getDecoration(String path, String templateType) throws TemplateLocatorException(Code)



getDecoratorActions
List getDecoratorActions()(Code)
Gets the list of decorator actions for a window. Each window (on each page) has its own collection of actionAccess flags associated with it. A list of actions available to the current window, filtered bysecurty access and current state.
throws:
  Exception -



getLoggedOn
boolean getLoggedOn()(Code)



getMappedPortletMode
PortletMode getMappedPortletMode() throws Exception(Code)
Gets the internal (portal) portlet mode for a current portlet window (fragment) The portlet mode of the current window
throws:
  Exception -



getMappedWindowState
WindowState getMappedWindowState() throws Exception(Code)
Gets the internal (portal) window state for the current portlet window (fragment) The window state for the current window
throws:
  Exception -



getPage
Page getPage()(Code)



getPageBasePath
String getPageBasePath()(Code)



getPageDecoratorActions
List getPageDecoratorActions() throws Exception(Code)
Gets the list of decorator actions for a page. Each layout fragment on a page has its own collection of actionAccess flags associated with it. A list of actions available to the current window, filtered bysecurty access and current state.
throws:
  Exception -



getPortletEntity
PortletEntity getPortletEntity(ContentFragment f) throws Exception(Code)

Parameters:
  f - Fragment whose PortletEntity we want toretreive. The PortletEntity represented by the current fragment.
throws:
  Exception -



getPortletMode
PortletMode getPortletMode() throws Exception(Code)
Gets the portlet mode for a current portlet window (fragment) The portlet mode of the current window
throws:
  Exception -



getSubject
Subject getSubject()(Code)



getTemplate
TemplateDescriptor getTemplate(String path, String templateType) throws TemplateLocatorException(Code)
Retreives a template using Jetspeed's
See Also:   org.apache.jetspeed.locator.TemplateLocator
Parameters:
  path - Expected to the template. This may actually be changed by theTL service based the capability and localization informationprovided by the client.
Parameters:
  templateType - Type off template we are interested in. Template object containng the pertinent information required toinlcude the request template path in the current response
throws:
  TemplateLocatorException - if the path does not exist.



getTitle
String getTitle(PortletEntity entity, ContentFragment f)(Code)

getTitle

Returns the appropriate for the title based on locale prferences
Parameters:
  entity -



getTitle
String getTitle(PortletEntity entity)(Code)

getTitle

Returns the appropriate for the title based on locale prferences
Parameters:
  entity -



getWindowState
WindowState getWindowState() throws Exception(Code)
Gets the window state for the current portlet window (fragment) The window state for the current window
throws:
  Exception -



includeDecoration
String includeDecoration(String template, String templateType) throws IOException(Code)



includeTemplate
String includeTemplate(String template, String templateType) throws IOException(Code)



isHidden
boolean isHidden(ContentFragment f)(Code)
Checks the the visibilty of this fragment with respect to the current RenderReqeust.
Parameters:
  f - Fragment whether or not the Fragment in question should be consideredvisible during rendering.



renderPortletEntity
String renderPortletEntity(String entityId, String portletId)(Code)



setCurrentFragment
void setCurrentFragment(ContentFragment f)(Code)

Parameters:
  f -



setCurrentLayout
void setCurrentLayout()(Code)



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