| org.apache.pluto.driver.portlets.GenericPlutoPortlet org.apache.pluto.driver.portlets.PageAdminPortlet
Inner Class :public class Page | |
Inner Class :public class Placement | |
doAddPage | public void doAddPage(ActionRequest request)(Code) | | Adds a page to the portal via the RenderConfigService .
This does not add portlets to the new page. Do that when the page is created
using the Add Portlet button.
Parameters: request - The action request. |
doRemovePage | public void doRemovePage(ActionRequest request) throws IOException(Code) | | Removes a page from the portal ignoring any requests to remove the default page
or the Pluto Admin page.
The page's portlets are still available, but no longer associated with the deleted page.
Parameters: request - The action request. throws: IOException - If a problem occurs accessing the config file. |
getContentBeforeRenderConfig | protected static String getContentBeforeRenderConfig(String contents)(Code) | | Gets the content of the config page before the render-config element
(also including the default attribute of render-config - see RENDER_CONFIG_SEARCH_TOKEN above).
Parameters: contents - pluto-portal-driver-config.xml file contents. |
parseDefaultPage | protected static String parseDefaultPage(String configFileContents)(Code) | | Parse out default attribute value of render-config element in pluto-portal-driver-config.xml.
This method is protected to allow unit testing (see PageAdminPortletTest.testParseDefaultPage() .)
Parameters: configFileContents - Contents of pluto-portal-driver-config.xml file. The value of the default attribute in the render-config element. |
|
|