Shireesh Anjal has uploaded a new change for review. Change subject: engine: Validation of collections ......................................................................
engine: Validation of collections Introduced a method validateCollectionForCanDoAction in CommandBase that can validate all objects in a given collection based on the javax.validation annotations. To achieve this, modified the signature of ValidationUtils#validateInputs to support validation of any object. Change-Id: I5b41a11684038137dde4d5414a23cff14a0655d8 Signed-off-by: Shireesh Anjal <san...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/ValidationUtils.java 2 files changed, 21 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/83/3483/1 -- To view, visit http://gerrit.ovirt.org/3483 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5b41a11684038137dde4d5414a23cff14a0655d8 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shireesh Anjal <san...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches