Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getgrouplist (0.24 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

                searchPaging(data, form);
            });
        }
    
        protected void searchPaging(final RenderData data, final SearchForm form) {
            RenderDataUtil.register(data, "groupItems", groupService.getGroupList(groupPager)); // page navi
    
            // restore from pager
            copyBeanToBean(groupPager, form, op -> op.include("id"));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/GroupService.java

    public class GroupService {
    
        @Resource
        protected GroupBhv groupBhv;
    
        @Resource
        protected FessConfig fessConfig;
    
        @Resource
        protected UserBhv userBhv;
    
        public List<Group> getGroupList(final GroupPager groupPager) {
    
            final PagingResultBean<Group> groupList = groupBhv.selectPage(cb -> {
                cb.paging(groupPager.getPageSize(), groupPager.getCurrentPageNumber());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/os/user/user.go

    One is written in pure Go and parses /etc/passwd and /etc/group. The other
    is cgo-based and relies on the standard C library (libc) routines such as
    getpwuid_r, getgrnam_r, and getgrouplist.
    
    When cgo is available, and the required routines are implemented in libc
    for a particular platform, cgo-based (libc-backed) code is used.
    This can be overridden by using osusergo build tag, which enforces
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

            validateApi(body, messages -> {});
            final GroupPager pager = copyBeanToNewBean(body, GroupPager.class);
            final List<Group> list = groupService.getGroupList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            return JsonPath.from(response).getList(getJsonPath());
        }
    
        protected List<String> getIdList(final Map<String, Object> body) {
            return getPropList(body, getIdKey());
        }
    
        protected List<String> getPropList(final Map<String, Object> body, final String prop) {
            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/RoleTests.java

            return requestBody;
        }
    
        @Override
        protected void checkUpdate() {
            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            List<String> valueList = getPropList(searchBody, KEY_PROPERTY);
            for (String value : valueList) {
                assertTrue(value.endsWith(NEW_SUFFIX));
            }
        }
    
        @Test
        void crudTest() {
            testCreate();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            return updateMap;
        }
    
        @Override
        protected void checkUpdate() {
            Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", NUM * 2);
            List<String> updatedList = getPropList(searchBody, "permissions");
            for (String val : updatedList) {
                assertEquals(val, "{role}admin-api2");
            }
        }
    
        private void testPermission() {
            // Create access token
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                            final List<String> newGroupList = stream(user.getGroupNames()).get(stream -> stream.collect(Collectors.toList()));
                            stream(user.getGroupNames()).of(stream -> stream.forEach(name -> {
                                if (oldGroupList.contains(name)) {
                                    oldGroupList.remove(name);
                                    newGroupList.remove(name);
                                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top