java.lang.Object
org.apache.struts.action.ActionForm
ru.gammalabs.ice.presentation.web.partition.EditPartitionForm
- All Implemented Interfaces:
- java.io.Serializable
- public class EditPartitionForm
- extends org.apache.struts.action.ActionForm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEXT_LEVEL
public static final java.lang.String NEXT_LEVEL
- See Also:
- Constant Field Values
partitionId
private java.lang.Long partitionId
templateId
private java.lang.Long templateId
system
private boolean system
parentPartitionName
private java.lang.String parentPartitionName
parentPartitionId
private java.lang.Long parentPartitionId
parentPartitionUnmodifiable
private boolean parentPartitionUnmodifiable
pageTemplateName
private java.lang.String pageTemplateName
name
private java.lang.String name
open
private boolean open
orderNumber
private java.lang.String orderNumber
partitionValues
private java.util.List partitionValues
partitionNames
private java.util.List partitionNames
pageTemplateValues
private java.util.List pageTemplateValues
pageTemplateNames
private java.util.List pageTemplateNames
parameters
private java.lang.String parameters
searchCriteriaName
private java.lang.String searchCriteriaName
searchCriteriaNames
private java.util.List searchCriteriaNames
searchCriteriaValues
private java.util.List searchCriteriaValues
partitionHasForum
private boolean partitionHasForum
templatePartition
private boolean templatePartition
structureTemplateId
private java.lang.Long structureTemplateId
structureTemplateNames
private java.util.List structureTemplateNames
structureTemplateValues
private java.util.List structureTemplateValues
templateDescription
private java.lang.String templateDescription
editPolicy
private boolean editPolicy
EditPartitionForm
public EditPartitionForm()
getPartitionId
public java.lang.Long getPartitionId()
setPartitionId
public void setPartitionId(java.lang.Long partitionId)
getTemplateId
public java.lang.Long getTemplateId()
setTemplateId
public void setTemplateId(java.lang.Long templateId)
getStructureTemplateId
public java.lang.Long getStructureTemplateId()
setStructureTemplateId
public void setStructureTemplateId(java.lang.Long structureTemplateId)
isSystem
public boolean isSystem()
setSystem
public void setSystem(boolean system)
isTemplatePartition
public boolean isTemplatePartition()
setTemlatePartition
void setTemlatePartition(boolean isTemplate)
isTemplate
public boolean isTemplate()
getParentPartitionName
public java.lang.String getParentPartitionName()
setParentPartitionName
public void setParentPartitionName(java.lang.String parentPartitionName)
getParentPartitionId
public java.lang.Long getParentPartitionId()
setParentPartitionId
public void setParentPartitionId(java.lang.Long parentPartitionId)
getPageTemplateName
public java.lang.String getPageTemplateName()
setPageTemplateName
public void setPageTemplateName(java.lang.String pageTemplateName)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
isOpen
public boolean isOpen()
setOpen
public void setOpen(boolean open)
getOrderNumber
public java.lang.String getOrderNumber()
setOrderNumber
public void setOrderNumber(java.lang.String orderNumber)
getPartitionValues
public java.util.List getPartitionValues()
setPartitionValues
public void setPartitionValues(java.util.List partitionValues)
getPartitionNames
public java.util.List getPartitionNames()
setPartitionNames
public void setPartitionNames(java.util.List partitionNames)
getPageTemplateValues
public java.util.List getPageTemplateValues()
setPageTemplateValues
public void setPageTemplateValues(java.util.List pageTemplateValues)
getPageTemplateNames
public java.util.List getPageTemplateNames()
setPageTemplateNames
public void setPageTemplateNames(java.util.List pageTemplateNames)
getParameters
public java.lang.String getParameters()
getResultSearchCriteria
public java.lang.String getResultSearchCriteria()
setParameters
public void setParameters(java.lang.String parameters)
getSearchCriteriaName
public java.lang.String getSearchCriteriaName()
setSearchCriteriaName
public void setSearchCriteriaName(java.lang.String searchCriteriaName)
setSearchCriteriaNameByValue
public void setSearchCriteriaNameByValue(java.lang.String searchCriteriaValue)
getSearchCriteriaNames
public java.util.List getSearchCriteriaNames()
setSearchCriteriaNames
public void setSearchCriteriaNames(java.util.List searchCriteriaNames)
getSearchCriteriaValues
public java.util.List getSearchCriteriaValues()
setSearchCriteriaValues
public void setSearchCriteriaValues(java.util.List searchCriteriaValues)
isParentPartitionUnmodifiable
public boolean isParentPartitionUnmodifiable()
setParentPartitionUnmodifiable
public void setParentPartitionUnmodifiable(boolean parentPartitionUnmodifiable)
isPartitionHasForum
public boolean isPartitionHasForum()
setPartitionHasForum
public void setPartitionHasForum(boolean partitionHasForum)
getTemplateDescription
public java.lang.String getTemplateDescription()
setTemplateDescription
public void setTemplateDescription(java.lang.String templateDescription)
getStructureTemplateNames
public java.util.List getStructureTemplateNames()
setStructureTemplateNames
public void setStructureTemplateNames(java.util.List structureTemplateNames)
getStructureTemplateValues
public java.util.List getStructureTemplateValues()
setStructureTemplateValues
public void setStructureTemplateValues(java.util.List structureTemplateValues)
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.
setEditPolicy
public void setEditPolicy(boolean editPolicy)
isEditPolicy
public boolean isEditPolicy()
fillStructureTemplateNames
private void fillStructureTemplateNames(javax.servlet.http.HttpServletRequest request)
fillTemplatePartitionNames
void fillTemplatePartitionNames(javax.servlet.http.HttpServletRequest request,
java.lang.Long templateId)
- Fill partitions list (for parents) in case creating/editing template partition.
formPartitionNames
private void formPartitionNames(java.util.List partitionsList,
java.util.Locale locale)
fillPageTemplateNames
private void fillPageTemplateNames(javax.servlet.http.HttpServletRequest request)
fillSearchCriteriaNames
public void fillSearchCriteriaNames()
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Description copied from class:
org.apache.struts.action.ActionForm
Validate the properties that have been set for this HTTP request,
and return an ActionErrors object that encapsulates any
validation errors that have been found. If no errors are found,
return null or an ActionErrors object with
no recorded error messages.
The default implementation performs no validation and returns
null. Subclasses must override this method to provide
any validation they wish to perform.