Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getRoleQueryHelper (0.19 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final BoolQueryBuilder boolQuery =
                        QueryBuilders.boolQuery().must(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
                final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(SearchRequestType.JSON); // TODO SearchRequestType?
                final QueryHelper queryHelper = ComponentUtil.getQueryHelper();
                if (!roleSet.isEmpty()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        }
    
        protected void buildRoleQuery(final QueryContext queryContext, final SearchRequestType searchRequestType) {
            if (queryContext.roleQueryEnabled()) {
                final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
                if (!roleSet.isEmpty()) {
                    queryContext.addQuery(boolQuery -> buildRoleQuery(roleSet, boolQuery));
                }
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                        .collect(Collectors.toList());
            }
    
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(searchRequestType);
            if (roleSet.isEmpty()) {
                for (final LabelTypeItem item : labelList) {
                    if (item.getPermissions().length == 0) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  4. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return fessConfig;
        }
    
        public static SuggestHelper getSuggestHelper() {
            return getComponent(SUGGEST_HELPER);
        }
    
        public static RoleQueryHelper getRoleQueryHelper() {
            return getComponent(ROLE_QUERY_HELPER);
        }
    
        public static LdapManager getLdapManager() {
            return getComponent(LDAP_MANAGER);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                final int pageStart, final int pageSize, final QueryResponseList queryResponseList) {
    
            final RoleQueryHelper roleQueryHelper = ComponentUtil.getRoleQueryHelper();
            final UserInfoHelper userInfoHelper = ComponentUtil.getUserInfoHelper();
            final SearchLog searchLog = new SearchLog();
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20.8K bytes
    - Viewed (1)
Back to top