private void checkParameters(Result result, String filename) {
private void checkParameters(Result result, String filename, String displayName, FileResultPermittedGroupType permittedGroupType) {
    private void checkParameters(Result result, String filename) {	if (result == null) 	    throw new DomainException("error.researcher.ResultDocumentFile.result.null");	if (filename==null||filename.equals(""))	    throw new DomainException("error.researcher.ResultDocumentFile.filename.null");    }