if (displayName==null||displayName.equals("")) throw new DomainException("error.researcher.ResultDocumentFile.displayName.null"); if (permittedGroupType == null) { throw new DomainException("error.researcher.ResultDocumentFile.permittedGroupType.null"); }
    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");    }