Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 161 for isNotBlank (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                        .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

                copyOp.excludeNull();
                copyOp.exclude(Constants.QUERIES);
            });
            body.queries = stream(entity.getQueries()).get(stream -> stream.filter(StringUtil::isNotBlank).collect(Collectors.joining("\n")));
            return body;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                        final Map<String, Object> doc = hit.getSourceAsMap();
                        final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
                        if (StringUtil.isNotBlank(url)) {
                            final Set<String> labelSet = labelTypeHelper.getMatchedLabelValueSet(url);
                            final Script script = languageHelper.createScript(doc, "ctx._source." + fessConfig.getIndexFieldLabel()
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

            schedulerTime = systemHelper.getCurrentTimeAsLong();
            scheduledJobService.start(cron);
    
            final String myName = fessConfig.getSchedulerTargetName();
            if (StringUtil.isNotBlank(myName)) {
                ComponentUtil.getComponent(JobLogBhv.class).queryDelete(cb -> {
                    cb.query().setJobStatus_Equal(Constants.RUNNING);
                    cb.query().setTarget_Equal(myName);
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            runtime.registerData("fesenType", fessConfig.getFesenType());
            final String forumLink = systemHelper.getForumLink();
            if (StringUtil.isNotBlank(forumLink)) {
                runtime.registerData("forumLink", forumLink);
            }
        }
    
        protected abstract String getActionRole();
    
        protected void write(final String path, final byte[] data) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

                throw new InvalidAccessTokenException("invalid_request", "Invalid format: " + token);
            }
            final String name = ComponentUtil.getFessConfig().getApiAccessTokenRequestParameter();
            if (StringUtil.isNotBlank(name)) {
                return request.getParameter(name);
            }
            return null;
        }
    
        public void setRandom(final Random random) {
            this.random = random;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/JobLog.java

            setJobStatus(Constants.RUNNING);
            final String myName = ComponentUtil.getFessConfig().getSchedulerTargetName();
            setTarget(StringUtil.isNotBlank(myName) ? myName : Constants.DEFAULT_JOB_TARGET);
        }
    
        public ScheduledJob getScheduledJob() {
            return scheduledJob;
        }
    
        public String getId() {
            return asDocMeta().id();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                    .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
            return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result());
        }
    
        // PUT /api/admin/elevateword/setting
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                throws IOException, ServletException {
            final HttpServletRequest httpRequest = (HttpServletRequest) request;
            final String origin = httpRequest.getHeader("Origin");
            if (StringUtil.isNotBlank(origin)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("HTTP Request: {}", httpRequest.getMethod());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URL uri = new URL(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getProtocol()) || StringUtil.isNotBlank(server) && !server.equals(uri.getHost())) {
                    return false;
                }
                int p = uri.getPort();
                if (p == -1) {
                    p = 21;
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top