* @return true if a request ID is needed (ie Processing=Parallel and ResponseOrder=Unordered)
* @throws XmlPullParserException if the batch request has not been parsed yet
*/
public static boolean isRequestIdNeeded( Dsmlv2Container container ) throws XmlPullParserException
{
BatchRequestDsml batchRequest = container.getBatchRequest();
if ( batchRequest == null )
{
throw new XmlPullParserException( I18n.err( I18n.ERR_03040 ), container.getParser(), null );
}
return ( ( batchRequest.getProcessing() == Processing.PARALLEL ) && ( batchRequest.getResponseOrder() == ResponseOrder.UNORDERED ) );
}