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

net.n2oapp.security.admin.rest.api.criteria.RestAccountCriteria Maven / Gradle / Ivy

There is a newer version: 8.0.1
Show newest version
package net.n2oapp.security.admin.rest.api.criteria;

import io.swagger.annotations.ApiParam;
import net.n2oapp.security.admin.api.criteria.AccountCriteria;
import org.springframework.data.domain.Sort;

import javax.ws.rs.QueryParam;
import java.util.List;

public class RestAccountCriteria extends AccountCriteria {

    @QueryParam("userId")
    @Override
    @ApiParam(value = "Идентификатор пользователя")
    public void setUserId(Integer userId) {
        super.setUserId(userId);
    }

    @QueryParam("username")
    @Override
    @ApiParam(value = "Уникальное имя пользователя")
    public void setUsername(String username) {
        super.setUsername(username);
    }

    @QueryParam("page")
    @Override
    @ApiParam(value = "Номер страницы")
    public void setPage(int page) {
        super.setPage(page);
    }

    @QueryParam("size")
    @Override
    @ApiParam(value = "Количество записей на странице")
    public void setSize(int size) {
        super.setSize(size);
    }

    @QueryParam("sort")
    @Override
    @ApiParam(value = "Сортировка(массив из объектов с атрибутами direction и property)")
    public void setOrders(List orders) {
        super.setOrders(orders);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy