Project

General

Profile

« Previous | Next » 

Revision 0f563a11

Added by Andreas Kohlbecker over 6 years ago

fixing bugs related to name editing in workingset editor

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/security/UserHelper.java
8 8
*/
9 9
package eu.etaxonomy.cdm.vaadin.security;
10 10

  
11
import java.util.EnumSet;
12

  
11 13
import com.vaadin.server.VaadinSession;
12 14

  
13 15
import eu.etaxonomy.cdm.model.common.CdmBase;
16
import eu.etaxonomy.cdm.persistence.hibernate.permission.CRUD;
14 17

  
15 18
/**
16
 * UserHelper interface. Imeplemtations should use the {@link #VADDIN_SESSION_KEY} to auto registers
19
 * UserHelper interface. Implementations should use the {@link #VADDIN_SESSION_KEY} to auto registers
17 20
 * in the VaadinSession.
18 21
 *
19 22
 * @author a.kohlbecker
......
50 53

  
51 54
    boolean userIsAutheticated();
52 55

  
56
    public void createAuthorityFor(String username, Class<? extends CdmBase> cdmType, Integer entitiyId, EnumSet<CRUD> crud);
57

  
58
    /**
59
     * @param cdmType
60
     * @param entitiyId
61
     * @param crud
62
     */
63
    void createAuthorityForCurrentUser(Class<? extends CdmBase> cdmType, Integer entitiyId, EnumSet<CRUD> crud);
64

  
53 65

  
54 66
}

Also available in: Unified diff