com.github.iintelligas.service.RoleService Maven / Gradle / Ivy
package com.github.iintelligas.service;
import com.github.iintelligas.persist.dto.Permission;
import com.github.iintelligas.persist.dto.Role;
import java.util.List;
public interface RoleService {
Role addRole(Role role);
Role getRole(Long roleId);
Role getRole(String roleName);
Role updateRole(Role role);
void deleteRole(Long roleId);
List getRoles();
void assignPermissionToRole(Permission permission, Role role);
void addRoles(List roles);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy