Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ru.gammalabs.ice.presentation.web.publish
Class FilterIEFormBean  view FilterIEFormBean download FilterIEFormBean.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byru.gammalabs.ice.presentation.web.publish.FilterIEFormBean
All Implemented Interfaces:
java.io.Serializable

public class FilterIEFormBean
extends org.apache.struts.action.ActionForm


Field Summary
static int DO_NOT_FILTER_BY_PARTITION
           
private  java.util.List filteredSet
           
static int FILTERING_BY_PARTITION_NOT_DEFINED
           
private  boolean includeNotLinkedElements
           
private  long partitionId
          will cause not to filter elements (i.e.
private  java.lang.String partitionName
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
FilterIEFormBean()
          Creates new FilterFormBean
 
Method Summary
 java.util.List getFilteredSet()
           
 boolean getIncludeNotLinkedElements()
           
 long getPartitionId()
          Getter for property partitionId.
 java.lang.String getPartitionName()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset bean properties to their default state, as needed.
 void setFilteredSet(java.util.List filteredSet)
           
 void setIncludeNotLinkedElements(boolean includeNotLinkedElements)
           
 void setPartitionId(long partitionId)
          Setter for property partitionId.
 void setPartitionName(java.lang.String partitionName)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DO_NOT_FILTER_BY_PARTITION

public static final int DO_NOT_FILTER_BY_PARTITION
See Also:
Constant Field Values

FILTERING_BY_PARTITION_NOT_DEFINED

public static final int FILTERING_BY_PARTITION_NOT_DEFINED
See Also:
Constant Field Values

partitionId

private long partitionId
will cause not to filter elements (i.e. show all elements) by default


partitionName

private java.lang.String partitionName

filteredSet

private java.util.List filteredSet

includeNotLinkedElements

private boolean includeNotLinkedElements
Constructor Detail

FilterIEFormBean

public FilterIEFormBean()
Creates new FilterFormBean

Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Description copied from class: org.apache.struts.action.ActionForm

Reset bean properties to their default state, as needed. This method is called before the properties are repopulated by the controller.

The default implementation does nothing. In practice, the only properties that need to be reset are those which represent checkboxes on a session-scoped form. Otherwise, properties can be given initial values where the field is declared.

If the form is stored in session-scope so that values can be collected over multiple requests (a "wizard"), you must be very careful of which properties, if any, are reset. As mentioned, session-scope checkboxes must be reset to false for any page where this property is set. This is because the client does not submit a checkbox value when it is clear (false). If a session-scoped checkbox is not proactively reset, it can never be set to false.

This method is not the appropriate place to initialize form value for an "update" type page (this should be done in a setup Action). You mainly need to worry about setting checkbox values to false; most of the time you can leave this method unimplemented.


getPartitionName

public java.lang.String getPartitionName()

setPartitionName

public void setPartitionName(java.lang.String partitionName)

getFilteredSet

public java.util.List getFilteredSet()

setFilteredSet

public void setFilteredSet(java.util.List filteredSet)

getPartitionId

public long getPartitionId()
Getter for property partitionId.


setPartitionId

public void setPartitionId(long partitionId)
Setter for property partitionId.


getIncludeNotLinkedElements

public boolean getIncludeNotLinkedElements()

setIncludeNotLinkedElements

public void setIncludeNotLinkedElements(boolean includeNotLinkedElements)