Project

General

Profile

« Previous | Next » 

Revision 9773ed87

Added by Andreas Kohlbecker almost 7 years ago

ref #6169 displaying the Registration.submitter to curators

  • implementation of a UserHelper

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/RegistrationDTO.java
39 39

  
40 40
    private String citationDetail = null;
41 41

  
42
    private String submitterUserName = null;
43

  
42 44
    private Registration reg;
43 45

  
44 46
    private List<String> messages = new ArrayList<>();
......
57 59

  
58 60
         registrationType = RegistrationType.from(reg);
59 61

  
62
         if(reg.getSubmitter() != null ){
63
             submitterUserName = reg.getSubmitter().getUsername();
64
         }
65

  
60 66
        if(hasName(reg)){
61 67
            citation = reg.getName().getNomenclaturalReference();
62 68
            citationDetail = reg.getName().getNomenclaturalMicroReference();
......
175 181
        return summary;
176 182
    }
177 183

  
184
    public String getSubmitterUserName(){
185
        return submitterUserName;
186
    }
187

  
178 188
    /**
179 189
     * @return the registrationType
180 190
     */

Also available in: Unified diff