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

com.descope.sdk.mgmt.RolesService Maven / Gradle / Ivy

The newest version!
package com.descope.sdk.mgmt;

import com.descope.exception.DescopeException;
import com.descope.model.roles.RoleResponse;
import com.descope.model.roles.RoleSearchOptions;
import java.util.List;

public interface RolesService {

  void create(String name, String description, List permissionNames) throws DescopeException;

  void create(String name, String tenantId, String description, List permissionNames) throws DescopeException;

  void update(String name, String newName, String description, List permissionNames) throws DescopeException;

  void update(String name, String tenantId, String newName, String description, List permissionNames)
      throws DescopeException;

  void delete(String name) throws DescopeException;

  void delete(String name, String tenantId) throws DescopeException;

  RoleResponse loadAll() throws DescopeException;

  RoleResponse search(RoleSearchOptions roleSearchOptions) throws DescopeException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy