}
@Override
protected void checkRequest(HandleEvents handleEvents) throws MissingParameters, OperationFailed, OperationNotSupported
{
EventParams eventParams = handleEvents.getEventParams();
WSRP2ExceptionFactory.throwMissingParametersIfValueIsMissing(eventParams, "event params", "HandleEvents");
WSRP2ExceptionFactory.throwMissingParametersIfValueIsMissing(eventParams.getPortletStateChange(), "portletStateChange", "EventParams");
List<Event> events = eventParams.getEvents();
if (!ParameterValidation.existsAndIsNotEmpty(events))
{
throw WSRP2ExceptionFactory.createWSException(MissingParameters.class,
"EventParams must provide at least one event to process", null);
}