com.javaplant.portlet
Class PortletConfiguration

java.lang.Object
  extended bycom.javaplant.portlet.PortletConfiguration

public class PortletConfiguration
extends java.lang.Object

This class holds a specific BaseMVCPortlet configuration. Form class to instantiate for this portlet (like a Struts ActionForm). portlet.form com.javaplant.forms.ProductionStatusForm JSP (fragment) to use for rendering the portlet in view mode. portlet.jsp.view /WEB-INF/jsp/production-status/view.jsp JSP (fragment) to use for rendering the portlet in edit mode. portlet.jsp.edit /WEB-INF/jsp/production-status/edit.jsp JSP (fragment) to use for rendering the portlet in help mode. portlet.jsp.help /WEB-INF/jsp/production-status/help.jsp

Author:
Brad Smith Date: Aug 14, 2005

Constructor Summary
PortletConfiguration()
           
 
Method Summary
 java.lang.String getEditPage()
           
 java.lang.String getHelpPage()
           
 java.lang.String getPage(java.lang.String pageName)
           
 java.util.Map getPages()
           
 java.lang.Class getPortletFormClass()
           
 java.lang.String getViewPage()
           
 boolean isShowConfiguration()
           
 void setEditPage(java.lang.String editPage)
           
 void setHelpPage(java.lang.String helpPage)
           
(package private)  void setPage(java.lang.String pageName, java.lang.String pageFrag)
           
(package private)  void setPortletFormClass(java.lang.Class portletFormClass)
           
 void setShowConfiguration(boolean showConfiguration)
           
 void setViewPage(java.lang.String viewPage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletConfiguration

public PortletConfiguration()
Method Detail

getPortletFormClass

public final java.lang.Class getPortletFormClass()

setPortletFormClass

final void setPortletFormClass(java.lang.Class portletFormClass)

getViewPage

public final java.lang.String getViewPage()

setViewPage

public final void setViewPage(java.lang.String viewPage)

getEditPage

public final java.lang.String getEditPage()

setEditPage

public final void setEditPage(java.lang.String editPage)

getHelpPage

public final java.lang.String getHelpPage()

setHelpPage

public final void setHelpPage(java.lang.String helpPage)

getPage

public final java.lang.String getPage(java.lang.String pageName)

setPage

final void setPage(java.lang.String pageName,
                   java.lang.String pageFrag)

getPages

public final java.util.Map getPages()

isShowConfiguration

public final boolean isShowConfiguration()

setShowConfiguration

public final void setShowConfiguration(boolean showConfiguration)