if (serviceRequest.isNewRequest()) { continue; }
    public List<DocumentRequest> searchDocumentsBy(DocumentRequestType documentRequestType,	    AcademicServiceRequestSituationType requestSituationType, Boolean isUrgent,	    Registration registration) {	final List<DocumentRequest> result = new ArrayList<DocumentRequest>();	for (final AcademicServiceRequest serviceRequest : getAcademicServiceRequestsSet()) {	    if (serviceRequest.isNewRequest()) {		continue;	    }	    if (serviceRequest instanceof DocumentRequest) {		final DocumentRequest documentRequest = (DocumentRequest) serviceRequest;		if (documentRequestType != null			&& documentRequest.getDocumentRequestType() != documentRequestType) {		    continue;		}		if (requestSituationType != null			&& documentRequest.getAcademicServiceRequestSituationType() != requestSituationType) {		    continue;		}		if (isUrgent != null			&& documentRequest.isCertificate()			&& ((CertificateRequest) documentRequest).isUrgentRequest() != isUrgent				.booleanValue()) {		    continue;		}		if (registration != null && documentRequest.getRegistration() != registration) {		    continue;		}		result.add(documentRequest);	    }	}	return result;    }