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

io.rocketbase.commons.api.UserSearchApi Maven / Gradle / Ivy

The newest version!
package io.rocketbase.commons.api;

import io.rocketbase.commons.dto.PageableResult;
import io.rocketbase.commons.dto.appuser.QueryAppUser;
import io.rocketbase.commons.model.AppUserReference;
import lombok.SneakyThrows;
import org.springframework.data.domain.Pageable;

import java.util.Optional;

public interface UserSearchApi {
    @SneakyThrows
    PageableResult search(QueryAppUser query, Pageable pageable);

    Optional findByUsernameOrId(String usernameOrId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy