|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GroupStorage
Interface for group storages e.g. used by the bv module (or add-ons which use validation groups).
It allows to manage validation-groups for the current request. Since JSF allows very dynamic pages, we can use the groups just for one request.
| Method Summary | |
|---|---|
void |
addGroup(Class groupClass,
String viewId,
String clientId)
Links the given group with the given component (id) for the a given view-id |
Class[] |
getGroups(String viewId,
String clientId)
Returns all groups which are registered for the given component (id) in the given view. |
void |
restrictGroup(Class groupClass,
String viewId,
String clientId)
Restricts the given group for the given component (id) for the a given view-id |
| Method Detail |
|---|
void addGroup(Class groupClass,
String viewId,
String clientId)
groupClass - The group to add.viewId - The view where the uiComponent is located where we want to add the group.clientId - The clientId value of the component within the view.
void restrictGroup(Class groupClass,
String viewId,
String clientId)
groupClass - The group to add in the restricted group list.viewId - The view where the uiComponent is located where we want to add the group.clientId - The clientId value of the component within the view.
Class[] getGroups(String viewId,
String clientId)
viewId - The view where the uiComponent is located.clientId - The clientId value of the component within the view.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||