com.netgrif.application.engine.auth.domain.IUser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
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