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

Quick Search    Search Deep

org.acs.damsel.client.edit
Class EditSchemaForm  view EditSchemaForm download EditSchemaForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.acs.damsel.client.edit.EditSchemaForm
All Implemented Interfaces:
java.io.Serializable

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


Field Summary
private  boolean addField
           
private  boolean changedSchema
           
private  boolean deleteButton
           
private  boolean groupDelete
           
private  boolean groupRead
           
private  boolean groupWrite
           
private  java.lang.String newTag
           
private  boolean othersDelete
           
private  boolean othersRead
           
private  boolean othersWrite
           
private  boolean ownerDelete
           
private  boolean ownerRead
           
private  boolean ownerWrite
           
private  java.lang.String selectGroup
           
private  java.lang.String selectSchema
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
EditSchemaForm()
           
 
Method Summary
 java.lang.String getNewTag()
           
 java.lang.String getSelectGroup()
           
 java.lang.String getSelectSchema()
           
 boolean isAddField()
           
 boolean isChangedSchema()
           
 boolean isDeleteButton()
           
 boolean isGroupDelete()
           
 boolean isGroupRead()
           
 boolean isGroupWrite()
           
 boolean isOthersDelete()
           
 boolean isOthersRead()
           
 boolean isOthersWrite()
           
 boolean isOwnerDelete()
           
 boolean isOwnerRead()
           
 boolean isOwnerWrite()
           
 void reset(org.apache.struts.action.ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest)
          Reset bean properties to their default state, as needed.
 void setAddField(boolean addField)
           
 void setChangedSchema(boolean changedSchema)
           
 void setDeleteButton(boolean deleteButton)
           
 void setGroupDelete(boolean groupDelete)
           
 void setGroupRead(boolean groupRead)
           
 void setGroupWrite(boolean groupWrite)
           
 void setNewTag(java.lang.String newTag)
           
 void setOthersDelete(boolean othersDelete)
           
 void setOthersRead(boolean othersRead)
           
 void setOthersWrite(boolean othersWrite)
           
 void setOwnerDelete(boolean ownerDelete)
           
 void setOwnerRead(boolean ownerRead)
           
 void setOwnerWrite(boolean ownerWrite)
           
 void setSelectGroup(java.lang.String selectGroup)
           
 void setSelectSchema(java.lang.String selectSchema)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest)
          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.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectSchema

private java.lang.String selectSchema

changedSchema

private boolean changedSchema

addField

private boolean addField

groupRead

private boolean groupRead

groupWrite

private boolean groupWrite

newTag

private java.lang.String newTag

othersDelete

private boolean othersDelete

othersRead

private boolean othersRead

othersWrite

private boolean othersWrite

ownerDelete

private boolean ownerDelete

ownerRead

private boolean ownerRead

ownerWrite

private boolean ownerWrite

groupDelete

private boolean groupDelete

selectGroup

private java.lang.String selectGroup

deleteButton

private boolean deleteButton
Constructor Detail

EditSchemaForm

public EditSchemaForm()
Method Detail

getSelectSchema

public java.lang.String getSelectSchema()

setSelectSchema

public void setSelectSchema(java.lang.String selectSchema)

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping actionMapping,
                                                      javax.servlet.http.HttpServletRequest httpServletRequest)
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.


reset

public void reset(org.apache.struts.action.ActionMapping actionMapping,
                  javax.servlet.http.HttpServletRequest httpServletRequest)
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.


isChangedSchema

public boolean isChangedSchema()

setChangedSchema

public void setChangedSchema(boolean changedSchema)

isAddField

public boolean isAddField()

setAddField

public void setAddField(boolean addField)

getNewTag

public java.lang.String getNewTag()

setNewTag

public void setNewTag(java.lang.String newTag)

isGroupDelete

public boolean isGroupDelete()

setGroupDelete

public void setGroupDelete(boolean groupDelete)

isGroupRead

public boolean isGroupRead()

setGroupRead

public void setGroupRead(boolean groupRead)

isGroupWrite

public boolean isGroupWrite()

setGroupWrite

public void setGroupWrite(boolean groupWrite)

isOthersDelete

public boolean isOthersDelete()

setOthersDelete

public void setOthersDelete(boolean othersDelete)

isOthersRead

public boolean isOthersRead()

setOthersRead

public void setOthersRead(boolean othersRead)

isOthersWrite

public boolean isOthersWrite()

setOthersWrite

public void setOthersWrite(boolean othersWrite)

isOwnerDelete

public boolean isOwnerDelete()

setOwnerDelete

public void setOwnerDelete(boolean ownerDelete)

isOwnerRead

public boolean isOwnerRead()

setOwnerRead

public void setOwnerRead(boolean ownerRead)

isOwnerWrite

public boolean isOwnerWrite()

setOwnerWrite

public void setOwnerWrite(boolean ownerWrite)

getSelectGroup

public java.lang.String getSelectGroup()

setSelectGroup

public void setSelectGroup(java.lang.String selectGroup)

isDeleteButton

public boolean isDeleteButton()

setDeleteButton

public void setDeleteButton(boolean deleteButton)