Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRoleList (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/service/RoleService.java

    public class RoleService {
    
        @Resource
        protected RoleBhv roleBhv;
    
        @Resource
        protected FessConfig fessConfig;
    
        @Resource
        protected UserBhv userBhv;
    
        public List<Role> getRoleList(final RolePager rolePager) {
    
            final PagingResultBean<Role> roleList = roleBhv.selectPage(cb -> {
                cb.paging(rolePager.getPageSize(), rolePager.getCurrentPageNumber());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                searchPaging(data, form);
            });
        }
    
        protected void searchPaging(final RenderData data, final SearchForm form) {
            RenderDataUtil.register(data, "roleItems", roleService.getRoleList(rolePager)); // page navi
    
            // restore from pager
            copyBeanToBean(rolePager, form, op -> op.include("id"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
            final RolePager pager = copyBeanToNewBean(body, RolePager.class);
            final List<Role> list = roleService.getRoleList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top