Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addErrorsCouldNotDeleteLoggedInUser (0.45 sec)

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

            });
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) {
                    throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
                }
            });
            try {
                userService.delete(entity);
                saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(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)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

            });
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) {
                    throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
                }
            });
            try {
                groupService.delete(entity);
                saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(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)
  3. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && form.name.equals(u.getUserId())) {
                    throwValidationError(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL), this::asDetailsHtml);
                }
            });
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            userService.getUser(id).ifPresent(entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

         * message: Could not delete logged in user.
         * </pre>
         * @param property The property name for the message. (NotNull)
         * @return this. (NotNull)
         */
        public FessMessages addErrorsCouldNotDeleteLoggedInUser(String property) {
            assertPropertyNotNull(property);
            add(property, new UserMessage(ERRORS_could_not_delete_logged_in_user));
            return this;
        }
    
        /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top