|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JetspeedPowerTool
JetspeedPowerTool
Field Summary | |
---|---|
static java.lang.String |
DECORATOR_TYPE
|
static java.lang.String |
FRAGMENT_ATTR
|
static java.lang.String |
FRAGMENT_PROCESSING_ERROR_PREFIX
|
static java.lang.String |
GENERIC_TEMPLATE_TYPE
|
static java.lang.String |
HIDDEN
|
static java.lang.String |
LAYOUT_ATTR
|
static java.lang.String |
LAYOUT_TEMPLATE_TYPE
|
Method Summary | |
---|---|
java.lang.String |
decorateAndInclude(ContentFragment f)
Decorate and include fragment content. |
java.lang.String |
getAbsoluteUrl(java.lang.String relativePath)
|
java.lang.String |
getBasePath()
|
java.util.List[] |
getColumns()
|
java.util.List |
getColumnSizes()
|
java.lang.Object |
getComponent(java.lang.String name)
|
ContentFragment |
getCurrentFragment()
|
ContentFragment |
getCurrentLayout()
|
TemplateDescriptor |
getDecoration(java.lang.String path,
java.lang.String templateType)
|
java.util.List |
getDecoratorActions()
Gets the list of decorator actions for a window. |
java.lang.String |
getElementHtmlString(HeadElement element)
Returns stringified one from the element |
java.util.List<KeyValue<java.lang.String,HeadElement>> |
getHeadElements()
Returns all the contributed head elements from the current fragment and its child fragments. |
java.util.List<KeyValue<java.lang.String,HeadElement>> |
getHeadElements(ContentFragment f)
Returns all the contributed head elements from the fragment and its child fragments. |
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) |
ContentPage |
getPage()
|
java.lang.String |
getPageBasePath()
|
java.util.List |
getPageDecoratorActions()
Gets the list of decorator actions for a page. |
PortalConfiguration |
getPortalConfiguration()
|
javax.portlet.PortletMode |
getPortletMode()
Gets the portlet mode for a current portlet window (fragment) |
PortletWindow |
getPortletWindow(ContentFragment f)
|
javax.security.auth.Subject |
getSubject()
|
TemplateDescriptor |
getTemplate(java.lang.String path,
java.lang.String templateType)
Retreives a template using Jetspeed's |
java.lang.String |
getTitle()
getTitle |
java.lang.String |
getTitle(ContentFragment f)
getTitle |
java.lang.String |
getUserAttribute(java.lang.String attributeName,
java.lang.String defaultValue)
|
java.util.Map<java.lang.String,java.lang.String> |
getUserAttributes()
|
javax.portlet.WindowState |
getWindowState()
Gets the window state for the current portlet window (fragment) |
java.lang.String |
includeDecoration(java.lang.String template,
java.lang.String templateType)
|
java.lang.String |
includeTemplate(java.lang.String template,
java.lang.String templateType)
|
boolean |
isAjaxCustomizationEnabled()
Determine if ajax customization is enabled |
boolean |
isDojoEnabled(java.util.List<KeyValue<java.lang.String,HeadElement>> headElements)
Returns true if head element has dojo library inclusion. |
boolean |
isHidden(ContentFragment f)
Checks the the visibilty of this fragment with respect to the current RenderReqeust. |
java.lang.String |
renderPortletWindow(java.lang.String windowId,
java.lang.String portletId)
|
void |
setCurrentFragment(ContentFragment f)
|
void |
setCurrentLayout()
|
Field Detail |
---|
static final java.lang.String GENERIC_TEMPLATE_TYPE
static final java.lang.String FRAGMENT_PROCESSING_ERROR_PREFIX
static final java.lang.String FRAGMENT_ATTR
static final java.lang.String LAYOUT_ATTR
static final java.lang.String HIDDEN
static final java.lang.String LAYOUT_TEMPLATE_TYPE
static final java.lang.String DECORATOR_TYPE
Method Detail |
---|
javax.portlet.WindowState getWindowState() throws java.lang.Exception
java.lang.Exception
javax.portlet.WindowState getMappedWindowState() throws java.lang.Exception
java.lang.Exception
javax.portlet.PortletMode getPortletMode() throws java.lang.Exception
java.lang.Exception
javax.portlet.PortletMode getMappedPortletMode() throws java.lang.Exception
java.lang.Exception
ContentFragment getCurrentFragment()
void setCurrentFragment(ContentFragment f)
f
- void setCurrentLayout()
ContentFragment getCurrentLayout()
ContentPage getPage()
java.util.List[] getColumns()
java.util.List getColumnSizes()
PortletWindow getPortletWindow(ContentFragment f) throws java.lang.Exception
f
- Fragment whose PortletWindow
we want to
retrieve.
java.lang.Exception
boolean isHidden(ContentFragment f)
f
- Fragment
TemplateDescriptor getTemplate(java.lang.String path, java.lang.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(java.lang.String path, java.lang.String templateType) throws TemplateLocatorException
TemplateLocatorException
java.lang.String includeTemplate(java.lang.String template, java.lang.String templateType) throws java.io.IOException
java.io.IOException
java.lang.String includeDecoration(java.lang.String template, java.lang.String templateType) throws java.io.IOException
java.io.IOException
java.lang.String decorateAndInclude(ContentFragment f) throws java.lang.Exception
Decorate and include fragment content.
f
- Fragment to include and decorate
java.lang.Exception
java.util.List getDecoratorActions()
java.lang.Exception
java.util.List getPageDecoratorActions() throws java.lang.Exception
java.lang.Exception
java.lang.String getTitle(ContentFragment f)
getTitle
Returns the appropriate for the title based on locale prferences
f
-
java.lang.String getTitle()
getTitle
Returns the appropriate for the title based on locale prferences
java.lang.Object getComponent(java.lang.String name)
java.lang.String getAbsoluteUrl(java.lang.String relativePath)
javax.security.auth.Subject getSubject()
boolean getLoggedOn()
java.lang.String getBasePath()
java.lang.String getPageBasePath()
java.lang.String renderPortletWindow(java.lang.String windowId, java.lang.String portletId)
java.lang.String getElementHtmlString(HeadElement element)
element
-
java.util.List<KeyValue<java.lang.String,HeadElement>> getHeadElements(ContentFragment f) throws java.lang.Exception
f
-
java.lang.Exception
java.util.List<KeyValue<java.lang.String,HeadElement>> getHeadElements() throws java.lang.Exception
java.lang.Exception
boolean isDojoEnabled(java.util.List<KeyValue<java.lang.String,HeadElement>> headElements)
headElements
-
boolean isAjaxCustomizationEnabled()
java.util.Map<java.lang.String,java.lang.String> getUserAttributes()
java.lang.String getUserAttribute(java.lang.String attributeName, java.lang.String defaultValue)
PortalConfiguration getPortalConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |