DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.input
Class SmileEditValidator

java.lang.Object
  extended by org.dlese.dpc.schemedit.input.SchemEditValidator
      extended by org.dlese.dpc.schemedit.input.SmileEditValidator

public class SmileEditValidator
extends SchemEditValidator

Extension of SchemEditValidator that is only concerned with a few msp2-specific fields.

Author:
ostwald

Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator
docMap, framework, im, request, schemaHelper, sef
 
Constructor Summary
SmileEditValidator(SchemEditForm sef, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Constructor for the SmileEditValidator object
 
Method Summary
protected  boolean skipFieldValidation(InputField inputField)
          Suppress validation of all fields under MATERIALS_LIST_PATH
 SchemEditActionErrors validateForm()
          Custom validator for MATERIALS_LIST_PATH
 
Methods inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator
exposeField, getEntityErrors, getInputManager, hasEntityErrors, isLastRequiredRepeatingElement, pruneInstanceDoc, pruneRepeatingFields, updateMultiValueFields, validateAttributeFields, validateDeletion, validateDocument, validateElementFields, validateMultiValueFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmileEditValidator

public SmileEditValidator(SchemEditForm sef,
                          MetaDataFramework framework,
                          org.apache.struts.action.ActionMapping mapping,
                          HttpServletRequest request)
Constructor for the SmileEditValidator object

Parameters:
sef - Description of the Parameter
framework - Description of the Parameter
request - Description of the Parameter
mapping - NOT YET DOCUMENTED
Method Detail

skipFieldValidation

protected boolean skipFieldValidation(InputField inputField)
Suppress validation of all fields under MATERIALS_LIST_PATH

Overrides:
skipFieldValidation in class SchemEditValidator
Parameters:
inputField - Description of the Parameter
Returns:
Description of the Return Value

validateForm

public SchemEditActionErrors validateForm()
Custom validator for MATERIALS_LIST_PATH

Overrides:
validateForm in class SchemEditValidator
Returns:
Description of the Return Value

DLESE Tools
v1.6.0