All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.auth.domain.IUser Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.auth.domain;

import com.netgrif.application.engine.petrinet.domain.roles.ProcessRole;

import java.util.Set;

public interface IUser {

    String getStringId();

    String getEmail();

    String getName();

    String getSurname();

    String getFullName();

    String getAvatar();

    String getTelNumber();

    UserState getState();

    Set getAuthorities();

    Set getProcessRoles();

    Set getNextGroups();

    void setEmail(String email);

    void setName(String name);

    void setSurname(String surname);

    void setState(UserState state);

    void setProcessRoles(Set processRoles);

    void setAuthorities(Set authorities);

    void setNextGroups(Set nextGroups);

    void addGroup(String groupId);

    void removeGroup(String groupId);

    void addAuthority(Authority authority);

    void addProcessRole(ProcessRole role);

    void removeProcessRole(ProcessRole role);

    LoggedUser transformToLoggedUser();

    Author transformToAuthor();

    boolean isActive();

    void setImpersonated(IUser user);

    boolean isImpersonating();

    IUser getSelfOrImpersonated();

    IUser getImpersonated();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy