it.eng.spago.validation.coordinator
Class ValidationCoordinator

java.lang.Object
  extended byit.eng.spago.validation.coordinator.ValidationCoordinator

public class ValidationCoordinator
extends java.lang.Object

Coordinator of the validation process This class retrieves from the configuration the name of the class that implements the server side validation, instantiates it and invokes it during the validation phase


Constructor Summary
ValidationCoordinator()
           
 
Method Summary
static boolean validate(java.lang.String businessType, java.lang.String businessName, RequestContextIFace requestContext)
          Performs the validation of the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationCoordinator

public ValidationCoordinator()
Method Detail

validate

public static boolean validate(java.lang.String businessType,
                               java.lang.String businessName,
                               RequestContextIFace requestContext)
Performs the validation of the request

Parameters:
businessType - - Type of service (action/page)
businessName - - Logical name of the service
Returns:
true if the process can be invoked