com.netgrif.application.engine.auth.domain.IUser Maven / Gradle / Ivy
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();
void setEmail(String email);
String getName();
void setName(String name);
String getSurname();
void setSurname(String surname);
String getFullName();
String getAvatar();
String getTelNumber();
UserState getState();
void setState(UserState state);
Set getAuthorities();
void setAuthorities(Set authorities);
Set getProcessRoles();
void setProcessRoles(Set processRoles);
Set getNextGroups();
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();
boolean isImpersonating();
IUser getSelfOrImpersonated();
IUser getImpersonated();
void setImpersonated(IUser user);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy