Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 103 for getSystemHelper (0.13 sec)

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

                return groups;
            }
    
            @Override
            public String[] getPermissions() {
                if (permissions == null) {
                    final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
                    final Set<String> permissionSet = new HashSet<>();
                    permissionSet.add(systemHelper.getSearchRoleByUser(name));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

            }
            buf.append(tempBuf.toString());
            return buf;
        }
    
        protected StringBuilder appendTimestamp(final StringBuilder buf) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            append(buf, "timestamp", () -> FessFunctions.formatDate(systemHelper.getCurrentTime()));
            return buf;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            if (crawlingInfo == null) {
                throw new FessSystemException("Crawling Session is null.");
            }
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            if (crawlingInfo.getCreatedTime() == null) {
                crawlingInfo.setCreatedTime(now);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final int docPerReq = fessConfig.getSuggestUpdateDocPerRequestAsInteger();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            suggester.indexer().indexFromDocument(() -> {
                final ESSourceReader reader = new ESSourceReader(ComponentUtil.getSearchEngineClient(), suggester.settings(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

            final UserInfoService userInfoService = ComponentUtil.getComponent(UserInfoService.class);
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            // purge crawling sessions
            try {
                crawlingInfoService.deleteBefore(systemHelper.getCurrentTimeAsLong());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

            return redirect(getClass()); // no-op
        }
    
        public static List<Map<String, Object>> getLogFileItems() {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final List<Map<String, Object>> logFileItems = new ArrayList<>();
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                    final Long expiredTime = accessToken.getExpiredTime();
                    if (expiredTime != null && expiredTime.longValue() > 0
                            && expiredTime.longValue() < ComponentUtil.getSystemHelper().getCurrentTimeAsLong()) {
                        throw new InvalidAccessTokenException("invalid_token",
                                "The token is expired(" + FessFunctions.formatDate(FessFunctions.date(expiredTime)) + ").");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                throw new GsaConfigException("Invalid format.");
            }
            if (COLLECTION.equalsIgnoreCase(qName) && COLLECTIONS.equalsIgnoreCase(tagQueue.peekLast())) {
                final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                final String name = attributes.getValue("Name");
                labelType = new LabelType();
                labelType.setName(name);
                labelType.setValue(name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            verifyToken(this::asDownloadHtml);
    
            return asStream("badword.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    log(buf);
                }
            });
        }
    
        protected long getCurrentTimeMillis() {
            return ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    
        private StringBuilder createStringBuffer(final Object keyObj, final long time) {
            final StringBuilder buf = new StringBuilder(1000);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top