|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.ActionForm
com.actuate.activeportal.forms.BaseActionForm
com.actuate.activeportal.forms.TableParamListActionForm
public class TableParamListActionForm
This forms is used when editing a table parameter. It provides the list of rows that are displayed in the table list page. Anything set in this form will be overridden by the action when it retrieves the content. This form is completely managed by the framework.
Constructor Summary | |
---|---|
TableParamListActionForm()
|
Method Summary | |
---|---|
java.util.ArrayList |
getColumnNames()
Returns the names of all the columns that are available in this table parameter. |
java.lang.String |
getExecutableId()
Returns the id of the executable that contains this table parmeter |
com.actuate.schemas.FieldDefinition |
getFieldDefinition(int index)
Returns the definition of a column at a particular index. |
boolean |
getIsHidden(int index)
This method is called to verify whether a particular column is hidden or not. |
java.util.ArrayList |
getRows()
Returns all the rows in the table. |
java.lang.String |
getTableDisplayName()
Returns the display name of this table parmeter |
java.lang.String |
getTableName()
Returns the name of this table parameter. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
This method is called by the struts framework. |
void |
setColumnNames(java.util.ArrayList names)
Sets the names of the columns that are applicable to this table parameter |
void |
setExecutableId(java.lang.String string)
Sets the id of the executable that contains this table parameter |
void |
setFieldDefinitions(com.actuate.schemas.FieldDefinition[] fieldDefinitions)
Sets the definitions of all the columns that are available in this table parameter. |
void |
setIsHidden(boolean[] _isHidden)
This method is called to update the state of all the columns in the form to hidden or not. |
void |
setRows(java.util.ArrayList list)
Sets the rows to be displayed in the page. |
void |
setTableDisplayName(java.lang.String string)
Sets the display name of this table parameter. |
void |
setTableName(java.lang.String string)
Sets the table name of this table parameter. |
Methods inherited from class com.actuate.activeportal.forms.BaseActionForm |
---|
fixUTF8, isPostback, setPostback |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableParamListActionForm()
Method Detail |
---|
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class org.apache.struts.action.ActionForm
mapping
- request
- public java.util.ArrayList getRows()
public java.lang.String getTableName()
public void setRows(java.util.ArrayList list)
list
- The list of rows to be displayed.public void setTableName(java.lang.String string)
string
- The name of the tablepublic java.lang.String getTableDisplayName()
public void setTableDisplayName(java.lang.String string)
string
- The display namepublic java.util.ArrayList getColumnNames()
public void setColumnNames(java.util.ArrayList names)
names
- The list of column namespublic void setExecutableId(java.lang.String string)
string
- The executable idpublic java.lang.String getExecutableId()
public boolean getIsHidden(int index)
index
- The index of the column which is to be checked to see whether it is hidden
public void setIsHidden(boolean[] _isHidden)
_isHidden
- An array of booleans indicating whether a particular column is hidden or not.public void setFieldDefinitions(com.actuate.schemas.FieldDefinition[] fieldDefinitions)
fieldDefinitions
- An array of field definitions that represent all the columns in this table parameterpublic final com.actuate.schemas.FieldDefinition getFieldDefinition(int index)
index
- The index of the column whose definition is to be retrieved
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |