Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for getgroups (0.05 sec)

  1. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        public String[] getPermissions() {
            return user.getPermissions();
        }
    
        public String[] getRoles() {
            return user.getRoleNames();
        }
    
        public String[] getGroups() {
            return user.getGroupNames();
        }
    
        public boolean isEditable() {
            return user.isEditable();
        }
    
        public boolean hasRole(final String role) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/GroupService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            userBhv.selectCursor(cb -> cb.query().setGroups_Equal(group.getId()), entity -> {
                entity.setGroups(
                        stream(entity.getGroups()).get(stream -> stream.filter(s -> !s.equals(group.getId())).toArray(n -> new String[n])));
                userBhv.insertOrUpdate(entity);
            });
    
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
                                || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
                        .orElse(false)) {
                    return p.getSecond();
                }
                return null;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            groupService.getGroup(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.group;
    
    import static org.codelibs.fess.app.web.admin.group.AdminGroupAction.getGroup;
    import static org.codelibs.fess.app.web.admin.group.AdminGroupAction.validateAttributes;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

        } // -- String getClassLoadingStrategy()
    
        /**
         * Get the group ID of the extension's artifact.
         *
         * @return String
         */
        public String getGroupId() {
            return this.groupId;
        } // -- String getGroupId()
    
        /**
         * Get the version of the extension.
         *
         * @return String
         */
        public String getVersion() {
            return this.version;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            Map<String, Plugin> index = new HashMap<>();
    
            for (Plugin plugin : plugins) {
                if (plugin.getGroupId() == null
                        || (plugin.getGroupId() != null
                                && plugin.getGroupId().trim().isEmpty())) {
                    addViolation(
                            problems,
                            Severity.FATAL,
                            Version.V20,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            }
    
            return null;
        }
    
        @Override
        public List<String> findVersions(Artifact artifact) {
            List<String> versions = getProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            requireNonNull(path, "path cannot be null");
            if (artifact.getGroupId().isEmpty()
                    || artifact.getArtifactId().isEmpty()
                    || artifact.getBaseVersion().toString().isEmpty()) {
                artifact = session.createProducedArtifact(
                        artifact.getGroupId().isEmpty() ? project.getGroupId() : artifact.getGroupId(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

            return path.toString();
        }
    
        private String path(Metadata metadata) {
            StringBuilder path = new StringBuilder(128);
    
            if (!metadata.getGroupId().isBlank()) {
                path.append(metadata.getGroupId().replace('.', '/')).append('/');
            }
    
            if (!metadata.getArtifactId().isBlank()) {
                path.append(metadata.getArtifactId()).append('/');
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top