Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getCurrentTime (0.12 sec)

  1. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            return roleSet;
        }
    
        public void test_buildByParameter() {
            final RoleQueryHelper roleQueryHelperImpl = new RoleQueryHelper() {
                protected long getCurrentTime() {
                    return System.currentTimeMillis();
                }
            };
    
            Set<String> roleSet;
    
            roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            }
    
            if (valueSeparator.length() > 0) {
                final String[] values = rolesStr.split(valueSeparator);
                if (maxAge > 0) {
                    try {
                        final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]);
                        if (time > maxAge || time < 0) {
                            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            validate(form, messages -> {}, this::asIndexHtml);
            verifyTokenKeep(this::asIndexHtml);
    
            final String diagnosticId = "log" + new SimpleDateFormat("yyyyMMddHHmm").format(ComponentUtil.getSystemHelper().getCurrentTime());
            return asStream(diagnosticId + ".zip").contentTypeOctetStream().stream(out -> {
                try (ZipOutputStream zos = new ZipOutputStream(out.stream())) {
                    writeLogFiles(zos, diagnosticId);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            }
            // url
            putResultDataBody(dataMap, fessConfig.getIndexFieldUrl(), url);
            // created
            final Date now = systemHelper.getCurrentTime();
            putResultDataBody(dataMap, fessConfig.getIndexFieldCreated(), now);
            // TODO anchor
            putResultDataBody(dataMap, fessConfig.getIndexFieldAnchor(), StringUtil.EMPTY);
            // mimetype
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return requestManager.findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        public Date getCurrentTime() {
            return new Date(getCurrentTimeAsLong());
        }
    
        public long getCurrentTimeAsLong() {
            return System.currentTimeMillis();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
            // url
            putResultDataBody(dataMap, fessConfig.getIndexFieldUrl(), url);
            // created
            final Date now = systemHelper.getCurrentTime();
            putResultDataBody(dataMap, fessConfig.getIndexFieldCreated(), now);
            // anchor
            putResultDataBody(dataMap, fessConfig.getIndexFieldAnchor(), getAnchorList(document, responseData));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top