Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 114 for getSystemHelper (0.06 seconds)

  1. 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);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

             */
            public LabelTypePattern(final String value, final String includedPaths, final String excludedPaths) {
                this.value = value;
    
                final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
                if (StringUtil.isNotBlank(includedPaths)) {
                    final StringBuilder buf = new StringBuilder(100);
                    char split = 0;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

         */
        public static OptionalEntity<RelatedContent> getRelatedContent(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

             */
            protected ProtwordsUpdater(final ProtwordsItem newItem) {
                FileOutputStream fos = null;
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(PROTWORDS, ".txt");
                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                                this::asListHtml);
                    }
                    final String filename = form.jarFile.getFileName();
                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("tmp-adminplugin-", ".jar");
                    try (final InputStream is = form.jarFile.getInputStream(); final OutputStream os = new FileOutputStream(tempFile)) {
                        CopyUtil.copy(is, os);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            cmdList.add("--numOfThreads");
            cmdList.add(Integer.toString(numOfThreads));
            if (cleanup) {
                cmdList.add("--cleanup");
            }
    
            final File propFile = ComponentUtil.getSystemHelper().createTempFile(getExecuteType() + "_", ".properties");
            try {
                cmdList.add("-p");
                cmdList.add(propFile.getAbsolutePath());
                createSystemProperties(cmdList, propFile);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/BadWordService.java

                        BadWord badWord = badWordBhv.selectEntity(cb -> cb.query().setSuggestWord_Equal(target)).orElse(null);//TODO
                        final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
                        if (isDelete) {
                            badWordBhv.delete(badWord);
                        } else if (badWord == null) {
                            badWord = new BadWord();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (StringUtil.isNotBlank(options.propertiesPath)) {
                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("crawler_", ".properties");
                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted temp file: path={}", propFile.getAbsolutePath());
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            }
        }
    
        /**
         * Gets the current time in milliseconds.
         * @return The current time in milliseconds.
         */
        protected long getCurrentTime() {
            return ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    
        /**
         * Adds a cookie name mapping.
         * @param cookieName The name of the cookie.
         * @param roleName The name of the role.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                throwValidationError(messages -> {
                    messages.addErrorsInvalidConfirmPassword(GLOBAL);
                }, validationErrorLambda);
            }
    
            final String validationError = ComponentUtil.getSystemHelper().validatePassword(form.password);
            if (StringUtil.isNotBlank(validationError)) {
                throwValidationError(messages -> {
                    addPasswordValidationError(messages, validationError);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top