com.actuate.activeportal.forms
Class SkinManagerActionForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by com.actuate.activeportal.forms.BaseActionForm
          extended by com.actuate.activeportal.forms.SkinManagerActionForm
All Implemented Interfaces:
java.io.Serializable

public class SkinManagerActionForm
extends BaseActionForm

This form contains the list of skin displayed in customization page. Use getSkin() method to get the skin list, it contains a vector of SkinManagerInfoBean.

See Also:
Serialized Form

Constructor Summary
SkinManagerActionForm()
           
 
Method Summary
 void addSkin(java.lang.String name, java.lang.String description, boolean isdefault, boolean ispublic, java.lang.String clonename)
          Add a skin to the list
 java.lang.String getCloneJsErrorPrompt()
          Returns the localized message for skin clone error
 java.lang.String getCloneJsPrompt()
          Returns the localized message for skin clone dialog
 java.lang.String getDeleteJsPrompt()
          Returns the localized message for skin delete prompt
 java.util.Vector getSkins()
          Returns the skin list
 boolean isDoReload()
          Returns the reload flag
 void setCloneJsErrorPrompt(java.lang.String string)
          Sets the localized message for skin clone error
 void setCloneJsPrompt(java.lang.String string)
          Sets the localized message for skin clone error
 void setDeleteJsPrompt(java.lang.String string)
          Sets the localized message for skin delete prompt
 void setDoReload(boolean b)
          Sets the reload flag
 
Methods inherited from class com.actuate.activeportal.forms.BaseActionForm
fixUTF8, isPostback, setPostback
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinManagerActionForm

public SkinManagerActionForm()
Method Detail

addSkin

public void addSkin(java.lang.String name,
                    java.lang.String description,
                    boolean isdefault,
                    boolean ispublic,
                    java.lang.String clonename)
Add a skin to the list

Parameters:
name - a String of the skin name
description - a String of the skin description
isdefault - a boolean indicating the default skin status
ispublic - a boolean indicating the public skin status
clonename - a String of the skin name

getSkins

public java.util.Vector getSkins()
Returns the skin list

Returns:
a Vector containing SkinManagerInfoBean

getCloneJsPrompt

public java.lang.String getCloneJsPrompt()
Returns the localized message for skin clone dialog


getDeleteJsPrompt

public java.lang.String getDeleteJsPrompt()
Returns the localized message for skin delete prompt


getCloneJsErrorPrompt

public java.lang.String getCloneJsErrorPrompt()
Returns the localized message for skin clone error


setCloneJsPrompt

public void setCloneJsPrompt(java.lang.String string)
Sets the localized message for skin clone error


setDeleteJsPrompt

public void setDeleteJsPrompt(java.lang.String string)
Sets the localized message for skin delete prompt


setCloneJsErrorPrompt

public void setCloneJsErrorPrompt(java.lang.String string)
Sets the localized message for skin clone error


isDoReload

public boolean isDoReload()
Returns the reload flag


setDoReload

public void setDoReload(boolean b)
Sets the reload flag