Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getCurrentTime (0.15 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/timer/MonitorTarget.java

        protected StringBuilder appendTimestamp(final StringBuilder buf) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            append(buf, "timestamp", () -> FessFunctions.formatDate(systemHelper.getCurrentTime()));
            return buf;
        }
    
        protected StringBuilder appendException(final StringBuilder buf, final Exception exception) {
            try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            final String indexFieldLang = fessConfig.getIndexFieldLang();
            final List<String> guestRoleList = fessConfig.getSearchGuestRoleList();
            final Date now = systemHelper.getCurrentTime();
            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
            final LanguageHelper languageHelper = ComponentUtil.getLanguageHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            // segment
            defaultDataMap.put(fessConfig.getIndexFieldSegment(), initParamMap.getAsString(Constants.SESSION_ID));
            // created
            defaultDataMap.put(fessConfig.getIndexFieldCreated(), systemHelper.getCurrentTime());
            // boost
            defaultDataMap.put(fessConfig.getIndexFieldBoost(), config.getBoost().toString());
            // label: labelType
            // role: roleType
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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