Package | Description |
---|---|
org.apache.jetspeed.aggregator | |
org.apache.jetspeed.components.portletentity | |
org.apache.jetspeed.container | |
org.apache.jetspeed.decoration | |
org.apache.jetspeed.layout | |
org.apache.jetspeed.mockobjects.request | |
org.apache.jetspeed.om.page |
This package represents an Object Model for manipulating
portal "pages" describing the layout process for a specific
page to the aggregation engine.
|
org.apache.jetspeed.request |
Modifier and Type | Method and Description |
---|---|
ContentFragment |
RenderingJob.getFragment()
The content fragment to hold the rendered output of this job
|
Modifier and Type | Method and Description |
---|---|
RenderingJob |
PortletRenderer.createRenderingJob(ContentFragment fragment,
RequestContext request)
Create a rendering job for the specified content fragment.
|
void |
PageAggregator.renderContent(RequestContext rc,
ContentFragment root)
Defines the interface for rendering content for a page.
|
void |
PortletRenderer.renderNow(ContentFragment fragment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
void |
PortletRenderer.renderNow(ContentFragment fragment,
RequestContext request)
Renders the specified fragment immediately.
|
void |
PortletRenderer.renderNow(ContentFragment fragment,
RequestContext request,
boolean spawned)
Render the specified fragment immediately.
|
Modifier and Type | Method and Description |
---|---|
PortletEntity |
PortletEntityAccessComponent.generateEntityFromFragment(ContentFragment fragment)
generateEntityFromFragment
|
String |
PortletEntityAccessComponent.generateEntityKey(ContentFragment fragment)
generateEntityKey
|
PortletEntity |
PortletEntityAccessComponent.getPortletEntityForFragment(ContentFragment fragment)
getPortletEntityForFragment
|
void |
PortletEntityAccessComponent.updatePortletEntity(PortletEntity portletEntity,
ContentFragment fragment)
updatePortletEntity
|
Modifier and Type | Method and Description |
---|---|
ContentFragment |
PortletWindow.getFragment() |
ContentFragment |
PortletEntity.getFragment() |
Modifier and Type | Method and Description |
---|---|
void |
PortletEntity.setFragment(ContentFragment fragment) |
Modifier and Type | Method and Description |
---|---|
Decoration |
Theme.getDecoration(ContentFragment fragment)
Returns a a Decoration for the requested fragment.
|
Decoration |
DecorationFactory.getDecoration(ContentPage page,
ContentFragment fragment,
RequestContext requestContext)
Returns a Decoration for a specific
Fragment contained
within the specified Page . |
Modifier and Type | Method and Description |
---|---|
ContentFragment |
PageLayoutComponent.addFragmentAtRowColumn(ContentPage contentPage,
ContentFragment contentFragment,
int row,
int column)
Add fragment to page at specified row column layout position
returning associated content fragment.
|
ContentFragment |
PageLayoutComponent.addFragmentReference(ContentFragment contentFragment,
String id)
Add fragment reference to fragment returning associated
content fragment.
|
ContentFragment |
PageLayoutComponent.addFragmentReference(ContentFragment contentFragment,
String id,
int row,
int column)
Add fragment reference to fragment with specified row and
column returning associated content fragment.
|
ContentFragment |
PageLayoutComponent.addFragmentReference(ContentPage contentPage,
String id)
Add fragment reference to page returning associated content
fragment.
|
ContentFragment |
PageLayoutComponent.addPortlet(ContentFragment contentFragment,
String type,
String name)
Add portlet to fragment returning associated content fragment.
|
ContentFragment |
PageLayoutComponent.addPortlet(ContentFragment contentFragment,
String type,
String name,
int row,
int column)
Add portlet to fragment with specified row and column returning
associated content fragment.
|
ContentFragment |
PageLayoutComponent.addPortlet(ContentPage contentPage,
String type,
String name)
Add portlet to page returning associated content fragment.
|
ContentFragment |
JetspeedPowerTool.getCurrentFragment()
The Power Tool tracks which fragment is being rendered.
|
ContentFragment |
JetspeedPowerTool.getCurrentLayout()
The Power Tool tracks which layout is being rendered.
|
ContentFragment |
PortletPlacementContext.getFragmentAtNewCoordinate(Coordinate coordinate)
Retrieve a portlet fragment for the given coordinate.
|
ContentFragment |
PortletPlacementContext.getFragmentAtOldCoordinate(Coordinate coordinate)
Retrieve the old portlet fragment for the given coordinate (prior to placement).
|
ContentFragment |
PortletPlacementContext.getFragmentById(String fragmentId)
Retrieve a fragment by fragment id.
|
Modifier and Type | Method and Description |
---|---|
Coordinate |
PortletPlacementContext.add(ContentFragment fragment,
Coordinate coordinate)
Add a portlet to its managed page.
|
ContentFragment |
PageLayoutComponent.addFragmentAtRowColumn(ContentPage contentPage,
ContentFragment contentFragment,
int row,
int column)
Add fragment to page at specified row column layout position
returning associated content fragment.
|
ContentFragment |
PageLayoutComponent.addFragmentReference(ContentFragment contentFragment,
String id)
Add fragment reference to fragment returning associated
content fragment.
|
ContentFragment |
PageLayoutComponent.addFragmentReference(ContentFragment contentFragment,
String id,
int row,
int column)
Add fragment reference to fragment with specified row and
column returning associated content fragment.
|
ContentFragment |
PageLayoutComponent.addPortlet(ContentFragment contentFragment,
String type,
String name)
Add portlet to fragment returning associated content fragment.
|
ContentFragment |
PageLayoutComponent.addPortlet(ContentFragment contentFragment,
String type,
String name,
int row,
int column)
Add portlet to fragment with specified row and column returning
associated content fragment.
|
String |
JetspeedPowerTool.decorateAndInclude(ContentFragment fragment)
Decorate and include fragment content.
|
List<KeyValue<String,HeadElement>> |
JetspeedPowerTool.getHeadElements(ContentFragment fragment)
Returns all the contributed head elements from the fragment and its child fragments.
|
PortletWindow |
JetspeedPowerTool.getPortletWindow(ContentFragment fragment)
Return the associated PortletWindow for a given fragment
|
String |
JetspeedPowerTool.getTitle(ContentFragment fragment)
Returns the appropriate for the title based on locale preferences
|
boolean |
JetspeedPowerTool.isHidden(ContentFragment fragment)
Checks the the visibilty of this fragment with respect to the current
RenderReqeust.
|
Coordinate |
PortletPlacementContext.moveAbsolute(ContentFragment fragment,
Coordinate coordinate)
Move a portlet fragment to a new absolute position as specified in the Coordinate parameter.
|
Coordinate |
PortletPlacementContext.moveAbsolute(ContentFragment fragment,
Coordinate coordinate,
boolean addFragment)
Move a portlet fragment to a new absolute position as specified in the Coordinate parameter.
|
Coordinate |
PortletPlacementContext.moveDown(ContentFragment fragment)
Move a portlet relative to its current position DOWN one row.
|
Coordinate |
PortletPlacementContext.moveLeft(ContentFragment fragment)
Move a portlet relative to its current position LEFT one column.
|
Coordinate |
PortletPlacementContext.moveRight(ContentFragment fragment)
Move a portlet relative to its current position RIGHT one column.
|
Coordinate |
PortletPlacementContext.moveUp(ContentFragment fragment)
Move a portlet relative to its current position UP one row.
|
Coordinate |
PortletPlacementContext.remove(ContentFragment fragment)
Remove the specified fragment.
|
void |
PageLayoutComponent.reorderColumns(ContentFragment targetFragment,
int maxColumns)
Reorder portlet columns locations over maxColumns
|
void |
JetspeedPowerTool.setCurrentFragment(ContentFragment fragment)
The Power Tool tracks which fragment is being rendered.
|
void |
PageLayoutComponent.updateDecorator(ContentFragment contentFragment,
String decoratorName)
Update global fragment portlet decorator.
|
void |
PageLayoutComponent.updateDecorator(ContentFragment contentFragment,
String decoratorName,
String scope,
String scopeValue)
Update fragment portlet decorator.
|
void |
PageLayoutComponent.updateName(ContentFragment contentFragment,
String name)
Update fragment name.
|
void |
PageLayoutComponent.updatePosition(ContentFragment contentFragment,
float x,
float y,
float z,
float width,
float height)
Update global fragment layout position.
|
void |
PageLayoutComponent.updatePosition(ContentFragment contentFragment,
float x,
float y,
float z,
float width,
float height,
String scope,
String scopeValue)
Update fragment layout position.
|
void |
PageLayoutComponent.updatePreferences(ContentFragment contentFragment,
Map<String,?> preferences)
Update preferences with new preferences set, accepting
Map of strings, string arrays, FragmentPreference or
PortletPreference.
|
void |
PageLayoutComponent.updateProperty(ContentFragment contentFragment,
String propName,
String propValue)
Update global fragment property.
|
void |
PageLayoutComponent.updateProperty(ContentFragment contentFragment,
String propName,
String propValue,
String scope,
String scopeValue)
Update fragment property.
|
void |
PageLayoutComponent.updateRefId(ContentFragment contentFragment,
String refId)
Update fragment reference reference id.
|
void |
PageLayoutComponent.updateRowColumn(ContentFragment contentFragment,
int row,
int column)
Update global fragment row and column layout position.
|
void |
PageLayoutComponent.updateRowColumn(ContentFragment contentFragment,
int row,
int column,
String scope,
String scopeValue)
Update fragment row and column layout position.
|
void |
PageLayoutComponent.updateSecurityConstraints(ContentFragment contentFragment,
SecurityConstraints constraints)
Update fragment security constraints.
|
void |
PageLayoutComponent.updateStateMode(ContentFragment contentFragment,
String portletState,
String portletMode)
Update global fragment portlet state and/or mode.
|
void |
PageLayoutComponent.updateStateMode(ContentFragment contentFragment,
String portletState,
String portletMode,
String scope,
String scopeValue)
Update fragment portlet state and/or mode.
|
Modifier and Type | Method and Description |
---|---|
PortletWindow |
MockRequestContext.getPortletWindow(ContentFragment fragment) |
Modifier and Type | Method and Description |
---|---|
ContentFragment |
ContentPage.addFragmentAtRowColumn(ContentFragment fragment,
int row,
int column)
Add fragment to page at specified row column layout position.
|
ContentFragment |
ContentPage.addFragmentReference(String id)
Add fragment reference to page returning associated content
fragment.
|
ContentFragment |
ContentPage.addPortlet(String type,
String name)
Add portlet to page returning associated content fragment.
|
ContentFragment |
ContentFragment.addPortlet(String type,
String name)
Add portlet to fragment returning associated content fragment.
|
ContentFragment |
ContentFragment.addPortlet(String type,
String name,
int row,
int column)
Add portlet to fragment with specified row and column returning
associated content fragment.
|
ContentFragment |
ContentPage.getFragmentByFragmentId(String id)
Returns a ContentFragment represented by the underlying PSML Fragment fragment.
|
ContentFragment |
ContentPage.getFragmentByFragmentId(String id,
boolean nonTemplate)
Returns a ContentFragment represented by the underlying PSML Fragment fragment.
|
ContentFragment |
ContentPage.getFragmentById(String id)
Returns a ContentFragment represented by the fragment id argument.
|
ContentFragment |
ContentPage.getNonTemplateRootFragment()
Returns the root layout fragment which is not merged
from a page template.
|
ContentFragment |
ContentPage.getRootFragment()
Provides access to a per-request safe ContentFragment.
|
Modifier and Type | Method and Description |
---|---|
List<ContentFragment> |
ContentFragment.getFragments()
Provides a list of of child ContentFragment objects.
|
List<ContentFragment> |
ContentPage.getFragmentsByName(String name)
Returns a list of ContentFragment fragments represented by the name argument.
|
List<ContentFragment> |
ContentPage.getFragmentsByName(String name,
boolean nonTemplate)
Returns a list of ContentFragment fragments represented by the name argument.
|
Modifier and Type | Method and Description |
---|---|
ContentFragment |
ContentPage.addFragmentAtRowColumn(ContentFragment fragment,
int row,
int column)
Add fragment to page at specified row column layout position.
|
Modifier and Type | Method and Description |
---|---|
PortletWindow |
RequestContext.getPortletWindow(ContentFragment fragment) |
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.