Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getUserBean (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            if (!labelTypeItems.isEmpty() && !form.fields.containsKey(FessSearchAction.LABEL_FIELD)) {
                final String[] defaultLabelValues = fessConfig.getDefaultLabelValues(getUserBean());
                if (defaultLabelValues.length > 0) {
                    form.fields.put(FessSearchAction.LABEL_FIELD, defaultLabelValues);
                }
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                body.q = Constants.MATCHES_ALL_QUERY;
            }
    
            final SearchRenderData renderData = new SearchRenderData();
            body.initialize();
            try {
                searchHelper.search(body, renderData, getUserBean());
                return asJson(new ApiDocsResponse().renderData(renderData).status(Status.OK).result());
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                buildFormParams(form);
                form.lang = searchHelper.getLanguages(request, form);
                final WebRenderData renderData = new WebRenderData();
                searchHelper.search(form, renderData, getUserBean());
                return asHtml(virtualHost(path_SearchJsp)).renderWith(data -> {
                    if (form.hasConditionQuery()) {
                        form.q = renderData.getSearchQuery();
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && form.name.equals(u.getUserId())) {
                    throwValidationError(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL), this::asDetailsHtml);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java

                AdminMaintenanceAction.ROLE + VIEW, //
                AdminEsreqAction.ROLE, //
                AdminEsreqAction.ROLE + VIEW,//
    
        })
        public HtmlResponse index() {
            return redirect(getUserBean().map(user -> {
                final Class<? extends FessAdminAction> actionClass = getAdminActionClass(user);
                if (actionClass != null) {
                    return actionClass;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            form.initialize();
            request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_ADMIN);
            try {
                searchHelper.search(form, renderData, getUserBean());
                return asListHtml().renderWith(data -> {
                    renderData.register(data);
                });
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top