Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FileAccessForm (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/FileAccessForm.java

     * This form handles file name validation for accessing design files.
     */
    public class FileAccessForm {
    
        /** The name of the file to access (required) */
        @Required
        public String fileName;
    
        /**
         * Default constructor for file access form.
         * Creates a new instance with default values.
         */
        public FileAccessForm() {
            // Default constructor
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

         * Download a design file.
         * @param form The file access form.
         * @return The stream response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public StreamResponse download(final FileAccessForm form) {
            final File file = getTargetFile(form.fileName).get();
            if (file == null) {
                throwValidationError(messages -> messages.addErrorsTargetFileDoesNotExist(GLOBAL, form.fileName), this::asListHtml);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top