com.netgrif.application.engine.petrinet.service.interfaces.IProcessRoleService Maven / Gradle / Ivy
package com.netgrif.application.engine.petrinet.service.interfaces;
import com.netgrif.application.engine.auth.domain.LoggedUser;
import com.netgrif.application.engine.petrinet.domain.PetriNet;
import com.netgrif.application.engine.petrinet.domain.roles.ProcessRole;
import java.util.List;
import java.util.Map;
import java.util.Set;
public interface IProcessRoleService {
List saveAll(Iterable entities);
Set findAllByImportId(String importId);
Set findAllByDefaultName(String name);
ProcessRole findById(String id);
Set findByIds(Set ids);
ProcessRole findByImportId(String importId);
void assignRolesToUser(String userId, Set roleIds, LoggedUser user);
void assignRolesToUser(String userId, Set roleIds, LoggedUser user, Map params);
List findAll();
Set findAllGlobalRoles();
List findAll(String netId);
ProcessRole defaultRole();
ProcessRole anonymousRole();
void deleteRolesOfNet(PetriNet net, LoggedUser loggedUser);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy