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

org.oxerr.commons.user.service.RoleService Maven / Gradle / Ivy

The newest version!
package org.oxerr.commons.user.service;

import java.util.Optional;
import java.util.UUID;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.oxerr.commons.user.domain.Role;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface RoleService {

	Role saveRole(@Nonnull Role role);

	Optional getRole(@Nonnull UUID id);

	Optional getRoleByName(@Nonnull String name);

	Page getRoles(@Nullable String name, @Nonnull Pageable pageable);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy