Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for setAttributes (0.05 sec)

  1. src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java

            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Role [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/exentity/Group.java

            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Group [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/exbhv/UserBhv.java

                result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
                result.setGroups(toStringArray(source.get(GROUPS)));
                result.setRoles(toStringArray(source.get(ROLES)));
                result.setAttributes(source.entrySet()
                        .stream()
                        .filter(e -> isAttribute(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet()
                        .stream()
                        .filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet()
                        .stream()
                        .filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

        }
    
        @Override
        public boolean isEditable() {
            return true;
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacGroupTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
            // Test the getAttributes method
            assertEquals(attributes, pacGroup.getAttributes(), "getAttributes() should return the correct attributes.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Mockito.when(mock.getAttributes()).thenReturn(7);
            Mockito.when(mock.getCreateTime()).thenReturn(11L);
            Mockito.when(mock.getLastWriteTime()).thenReturn(13L);
            Mockito.when(mock.getLastAccessTime()).thenReturn(17L);
            Mockito.when(mock.getSize()).thenReturn(19L);
    
            // Act: invoke each method once
            int attributes = mock.getAttributes();
            long c = mock.getCreateTime();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacSidAttributesTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
            // Test the getAttributes method
            assertEquals(attributes, pacSidAttributes.getAttributes(), "getAttributes should return the correct attributes.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosFileFilterTest.java

         * {@link SmbFile#getAttributes()} throws it.
         * @throws SmbException if an SMB error occurs.
         */
        @Test
        void testAccept_ThrowsSmbException() throws SmbException {
            // Given a filter
            dosFileFilter = new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE);
            // and a mock file that throws an exception when getAttributes is called
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top