String resultParticipationsSchema = "result.participations";
String resultParticipationsSchema = "resultParticipation.withoutRole";
    private void checkNeededSchemas(HttpServletRequest request, Result result,	    ResultParticipationCreationBean bean) {	String resultParticipationsSchema = "result.participations";	String createResultParticipationSchema = "resultParticipation.creation";	if (bean.isBeanExternal()) {	    createResultParticipationSchema = "resultParticipation.fullCreation";	}	// Defining schemas with roles	if (result instanceof ResultPublication) {	    if (((ResultPublication) result).hasResultPublicationRole()) {		resultParticipationsSchema = "result.participationsWithRole";		if (!bean.isBeanExternal()) {		    createResultParticipationSchema = "resultParticipation.creationWithRole";		} else {		    createResultParticipationSchema = "resultParticipation.fullCreationWithRole";		}	    }	}	request.setAttribute("listSchema", resultParticipationsSchema);	request.setAttribute("createSchema", createResultParticipationSchema);    }