Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 161 for crud_mode (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/user/CreateForm.java

    import java.util.Map;
    
    import org.codelibs.fess.app.web.CrudMode;
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 100)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

        public String expires;
    
        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

        public Integer sortOrder;
    
        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
            return asEditHtml();
        }
    
        // -----------------------------------------------------
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

                        () -> asListHtml(form.dictId));
            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
            return asEditHtml();
        }
    
        // -----------------------------------------------------
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java

        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        @Size(max = 1000)
        public String userAgent;
    
        public void initialize() {
            crudMode = CrudMode.CREATE;
            sortOrder = 0;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        // -----------------------------------------------------
        //                                               Details
        //                                               -------
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse details(final int crudMode, final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            validateAttributes(body.attributes, this::throwValidationErrorApi);
            body.crudMode = CrudMode.CREATE;
            final Group entity = getGroup(body).orElseGet(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                        () -> asListHtml(form.dictId));
            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
            return asEditHtml();
        }
    
        // -----------------------------------------------------
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            });
            saveToken();
            if (form.crudMode.intValue() == CrudMode.EDIT) {
                // back
                form.crudMode = CrudMode.DETAILS;
                return asDetailsHtml();
            }
            form.crudMode = CrudMode.EDIT;
            return asEditHtml();
        }
    
        // -----------------------------------------------------
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top