org.apache.myfaces.extensions.validator.beanval.storage
Class DefaultBeanValidationGroupStorage
java.lang.Object
org.apache.myfaces.extensions.validator.core.storage.DefaultGroupStorage
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBeanValidationGroupStorage
public DefaultBeanValidationGroupStorage()
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.