|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JetspeedPowerTool
JetspeedPowerTool
Field Summary | |
---|---|
static String |
DECORATOR_TYPE
|
static String |
FRAGMENT_ATTR
|
static String |
FRAGMENT_PROCESSING_ERROR_PREFIX
|
static String |
GENERIC_TEMPLATE_TYPE
|
static String |
HIDDEN
|
static String |
LAYOUT_ATTR
|
static String |
LAYOUT_TEMPLATE_TYPE
|
Method Summary | |
---|---|
String |
decorateAndInclude(ContentFragment f)
Decorate and include fragment content. |
String |
getAbsoluteUrl(String relativePath)
|
String |
getBasePath()
|
List[] |
getColumns()
|
List |
getColumnSizes()
|
Object |
getComponent(String name)
|
ContentFragment |
getCurrentFragment()
|
ContentFragment |
getCurrentLayout()
|
org.apache.pluto.om.entity.PortletEntity |
getCurrentPortletEntity()
|
TemplateDescriptor |
getDecoration(String path,
String templateType)
|
List |
getDecoratorActions()
Gets the list of decorator actions for a window. |
boolean |
getLoggedOn()
|
javax.portlet.PortletMode |
getMappedPortletMode()
Gets the internal (portal) portlet mode for a current portlet window (fragment) |
javax.portlet.WindowState |
getMappedWindowState()
Gets the internal (portal) window state for the current portlet window (fragment) |
Page |
getPage()
|
String |
getPageBasePath()
|
List |
getPageDecoratorActions()
Gets the list of decorator actions for a page. |
org.apache.pluto.om.entity.PortletEntity |
getPortletEntity(ContentFragment f)
|
javax.portlet.PortletMode |
getPortletMode()
Gets the portlet mode for a current portlet window (fragment) |
Subject |
getSubject()
|
TemplateDescriptor |
getTemplate(String path,
String templateType)
Retreives a template using Jetspeed's |
String |
getTitle(org.apache.pluto.om.entity.PortletEntity entity)
getTitle |
String |
getTitle(org.apache.pluto.om.entity.PortletEntity entity,
ContentFragment f)
getTitle |
javax.portlet.WindowState |
getWindowState()
Gets the window state for the current portlet window (fragment) |
String |
includeDecoration(String template,
String templateType)
|
String |
includeTemplate(String template,
String templateType)
|
boolean |
isHidden(ContentFragment f)
Checks the the visibilty of this fragment with respect to the current RenderReqeust. |
String |
renderPortletEntity(String entityId,
String portletId)
|
void |
setCurrentFragment(ContentFragment f)
|
void |
setCurrentLayout()
|
Field Detail |
---|
static final String GENERIC_TEMPLATE_TYPE
static final String FRAGMENT_PROCESSING_ERROR_PREFIX
static final String FRAGMENT_ATTR
static final String LAYOUT_ATTR
static final String HIDDEN
static final String LAYOUT_TEMPLATE_TYPE
static final String DECORATOR_TYPE
Method Detail |
---|
javax.portlet.WindowState getWindowState() throws Exception
Exception
javax.portlet.WindowState getMappedWindowState() throws Exception
Exception
javax.portlet.PortletMode getPortletMode() throws Exception
Exception
javax.portlet.PortletMode getMappedPortletMode() throws Exception
Exception
ContentFragment getCurrentFragment()
void setCurrentFragment(ContentFragment f)
f
- void setCurrentLayout()
ContentFragment getCurrentLayout()
Page getPage()
List[] getColumns()
List getColumnSizes()
org.apache.pluto.om.entity.PortletEntity getCurrentPortletEntity() throws Exception
Exception
org.apache.pluto.om.entity.PortletEntity getPortletEntity(ContentFragment f) throws Exception
f
- Fragment whose PortletEntity
we want to
retreive.
Exception
boolean isHidden(ContentFragment f)
f
- Fragment
TemplateDescriptor getTemplate(String path, String templateType) throws TemplateLocatorException
path
- Expected to the template. This may actually be changed by the
TL service based the capability and localization information
provided by the client.templateType
- Type off template we are interested in.
TemplateLocatorException
- if the path
does not exist.TemplateLocator
TemplateDescriptor getDecoration(String path, String templateType) throws TemplateLocatorException
TemplateLocatorException
String includeTemplate(String template, String templateType) throws IOException
IOException
String includeDecoration(String template, String templateType) throws IOException
IOException
String decorateAndInclude(ContentFragment f) throws Exception
Decorate and include fragment content.
f
- Fragment to include and decorate
Exception
List getDecoratorActions()
Exception
List getPageDecoratorActions() throws Exception
Exception
String getTitle(org.apache.pluto.om.entity.PortletEntity entity, ContentFragment f)
getTitle
Returns the appropriate for the title based on locale prferences
entity
-
String getTitle(org.apache.pluto.om.entity.PortletEntity entity)
getTitle
Returns the appropriate for the title based on locale prferences
entity
-
Object getComponent(String name)
String getAbsoluteUrl(String relativePath)
Subject getSubject()
boolean getLoggedOn()
String getBasePath()
String getPageBasePath()
String renderPortletEntity(String entityId, String portletId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |