Method Summary |
|
public String | getInitialPage(PortletModeType inMode) This method return the page for the given initial mode. |
public File | getPortletDD() This method returns the portlet.xml file for the current project. |
public PortletModeType | getPortletMode(FileObject inFileObject) This method will check whether a given page is an initial page for any mode.
Parameters: inFileObject - The FileObject of the file to set check as the initial page. |
public String | getPortletPageFolderPath(FileObject inFO) This method returns the relative path of the folder for the given portlet page. |
public boolean | isInitialPage(PortletModeType inMode, FileObject inFileObject) This method will check whether a given page is the initial page for a given mode. |
public void | setInitialPage(PortletModeType inMode, String inFilePath) This method will set the initial page for the portlet.
Parameters: inMode - The PortletModeType to set the initial page for Parameters: inFilePath - The path of the file using the context relative path. |
public void | setInitialPage(PortletModeType inMode, FileObject inFileObject) This method will set the initial VIEW page for the portlet. |
public void | setPortletName(String oldName, String newName) |
public void | unsetInitialPage(FileObject inFileObject) This method will unset the given initial page to no initial page. |