org.apache.myfaces.extensions.validator.beanval.storage
Class DefaultBeanValidationGroupStorage

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.storage.DefaultGroupStorage
      extended by org.apache.myfaces.extensions.validator.beanval.storage.DefaultBeanValidationGroupStorage
All Implemented Interfaces:
GroupStorage

public class DefaultBeanValidationGroupStorage
extends DefaultGroupStorage

default storage implementation for bean-validation groups

Since:
x.x.3

Field Summary
 
Fields inherited from class org.apache.myfaces.extensions.validator.core.storage.DefaultGroupStorage
logger
 
Constructor Summary
DefaultBeanValidationGroupStorage()
           
 
Method Summary
 Class[] getGroups(String viewId, String clientId)
          Gets the list of groups defined for the component with the clientId specified as parameter in the view.
 
Methods inherited from class org.apache.myfaces.extensions.validator.core.storage.DefaultGroupStorage
addGroup, lockGroups, resetGroups, restrictGroup, unlockGroups
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBeanValidationGroupStorage

public DefaultBeanValidationGroupStorage()
Method Detail

getGroups

public Class[] getGroups(String viewId,
                         String clientId)
Description copied from interface: GroupStorage
Gets the list of groups defined for the component with the clientId specified as parameter in the view. The array is the values of the groups added minus the groups from the restricted group list.

Specified by:
getGroups in interface GroupStorage
Overrides:
getGroups in class DefaultGroupStorage
Parameters:
viewId - The view where the uiComponent is located.
clientId - The clientId value of the component within the view.
Returns:
Array of groups defined for the component.


Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.