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

Quick Search    Search Deep

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

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

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


Field Summary
private  java.lang.String assetView
           
private  java.lang.String assetViewSelected
           
private  boolean buttonSelect
           
private  boolean collectionChanged
           
private  java.lang.String collectionSelect
           
private  java.lang.String description
           
private  boolean groupDelete
           
private  boolean groupRead
           
private  java.lang.String groupSelect
           
private  boolean groupWrite
           
private  boolean othersDelete
           
private  boolean othersRead
           
private  boolean othersWrite
           
private  boolean ownerDelete
           
private  boolean ownerRead
           
private  boolean ownerWrite
           
private  java.lang.String permission
           
private  java.lang.String permissionID
           
private  boolean permSelected
           
private  java.lang.String resultsView
           
private  java.lang.String resultsViewSelected
           
private  java.lang.String schemaSelect
           
private  boolean schemaSelected
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
EditCollectionForm()
           
 
Method Summary
 java.lang.String getAssetView()
           
 java.lang.String getAssetViewSelected()
           
 java.lang.String getCollectionSelect()
           
 java.lang.String getDescription()
           
 java.lang.String getGroupSelect()
           
 java.lang.String getPermission()
           
 java.lang.String getPermissionID()
           
 java.lang.String getResultsView()
           
 java.lang.String getResultsViewSelected()
           
 java.lang.String getSchemaSelect()
           
 boolean isButtonSelect()
           
 boolean isCollectionChanged()
           
 boolean isGroupDelete()
           
 boolean isGroupRead()
           
 boolean isGroupWrite()
           
 boolean isOthersDelete()
           
 boolean isOthersRead()
           
 boolean isOthersWrite()
           
 boolean isOwnerDelete()
           
 boolean isOwnerRead()
           
 boolean isOwnerWrite()
           
 boolean isPermSelected()
           
 boolean isSchemaSelected()
           
 void reset(org.apache.struts.action.ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest)
          Reset bean properties to their default state, as needed.
 void setAssetView(java.lang.String assetView)
           
 void setAssetViewSelected(java.lang.String assetViewSelected)
           
 void setButtonSelect(boolean buttonSelect)
           
 void setCollectionChanged(boolean collectionChanged)
           
 void setCollectionSelect(java.lang.String collectionSelect)
           
 void setDescription(java.lang.String description)
           
 void setGroupDelete(boolean groupDelete)
           
 void setGroupRead(boolean groupRead)
           
 void setGroupSelect(java.lang.String groupSelect)
           
 void setGroupWrite(boolean groupWrite)
           
 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 setPermission(java.lang.String permission)
           
 void setPermissionID(java.lang.String permissionID)
           
 void setPermSelected(boolean permSelected)
           
 void setResultsView(java.lang.String resultsView)
           
 void setResultsViewSelected(java.lang.String resultsViewSelected)
           
 void setSchemaSelect(java.lang.String schemaSelect)
           
 void setSchemaSelected(boolean schemaSelected)
           
 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

schemaSelect

private java.lang.String schemaSelect

collectionSelect

private java.lang.String collectionSelect

buttonSelect

private boolean buttonSelect

permission

private java.lang.String permission

assetView

private java.lang.String assetView

resultsView

private java.lang.String resultsView

collectionChanged

private boolean collectionChanged

permSelected

private boolean permSelected

assetViewSelected

private java.lang.String assetViewSelected

resultsViewSelected

private java.lang.String resultsViewSelected

schemaSelected

private boolean schemaSelected

groupDelete

private boolean groupDelete

groupRead

private boolean groupRead

groupWrite

private boolean groupWrite

othersDelete

private boolean othersDelete

othersRead

private boolean othersRead

othersWrite

private boolean othersWrite

ownerDelete

private boolean ownerDelete

ownerRead

private boolean ownerRead

ownerWrite

private boolean ownerWrite

groupSelect

private java.lang.String groupSelect

permissionID

private java.lang.String permissionID

description

private java.lang.String description
Constructor Detail

EditCollectionForm

public EditCollectionForm()
Method Detail

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.


getCollectionSelect

public java.lang.String getCollectionSelect()

setCollectionSelect

public void setCollectionSelect(java.lang.String collectionSelect)

getSchemaSelect

public java.lang.String getSchemaSelect()

setSchemaSelect

public void setSchemaSelect(java.lang.String schemaSelect)

isButtonSelect

public boolean isButtonSelect()

setButtonSelect

public void setButtonSelect(boolean buttonSelect)

getPermission

public java.lang.String getPermission()

setPermission

public void setPermission(java.lang.String permission)

isCollectionChanged

public boolean isCollectionChanged()

setCollectionChanged

public void setCollectionChanged(boolean collectionChanged)

isPermSelected

public boolean isPermSelected()

setPermSelected

public void setPermSelected(boolean permSelected)

getAssetView

public java.lang.String getAssetView()

setAssetView

public void setAssetView(java.lang.String assetView)

getResultsView

public java.lang.String getResultsView()

setResultsView

public void setResultsView(java.lang.String resultsView)

getResultsViewSelected

public java.lang.String getResultsViewSelected()

setResultsViewSelected

public void setResultsViewSelected(java.lang.String resultsViewSelected)

getAssetViewSelected

public java.lang.String getAssetViewSelected()

setAssetViewSelected

public void setAssetViewSelected(java.lang.String assetViewSelected)

isSchemaSelected

public boolean isSchemaSelected()

setSchemaSelected

public void setSchemaSelected(boolean schemaSelected)

isGroupDelete

public boolean isGroupDelete()

setGroupDelete

public void setGroupDelete(boolean groupDelete)

isGroupRead

public boolean isGroupRead()

setGroupRead

public void setGroupRead(boolean groupRead)

setGroupSelect

public void setGroupSelect(java.lang.String groupSelect)

getGroupSelect

public java.lang.String getGroupSelect()

isGroupWrite

public boolean isGroupWrite()

setGroupWrite

public void setGroupWrite(boolean groupWrite)

setOthersDelete

public void setOthersDelete(boolean othersDelete)

isOthersDelete

public boolean isOthersDelete()

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)

getPermissionID

public java.lang.String getPermissionID()

setPermissionID

public void setPermissionID(java.lang.String permissionID)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)