| | |
| | | if (resultEntry != null) |
| | | { |
| | | AttributeType synchronizationGenIDType = DirectoryServer.getSchema().getAttributeType(REPLICATION_GENERATION_ID); |
| | | List<Attribute> attrs = resultEntry.getAttribute(synchronizationGenIDType); |
| | | List<Attribute> attrs = resultEntry.getAllAttributes(synchronizationGenIDType); |
| | | if (!attrs.isEmpty()) |
| | | { |
| | | Attribute attr = attrs.get(0); |
| | |
| | | private Iterator<ByteString> getAttributeValueIterator(SearchResultEntry resultEntry, String attrName) |
| | | { |
| | | AttributeType attrType = DirectoryServer.getSchema().getAttributeType(attrName); |
| | | List<Attribute> exclAttrs = resultEntry.getAttribute(attrType); |
| | | List<Attribute> exclAttrs = resultEntry.getAllAttributes(attrType); |
| | | if (!exclAttrs.isEmpty()) |
| | | { |
| | | Attribute exclAttr = exclAttrs.get(0); |
| | |
| | | SearchResultEntry resultEntry = result.get(0); |
| | | if (resultEntry != null) |
| | | { |
| | | List<Attribute> attrs = resultEntry.getAttribute(REPLICATION_GENERATION_ID); |
| | | List<Attribute> attrs = resultEntry.getAllAttributes(REPLICATION_GENERATION_ID); |
| | | if (!attrs.isEmpty()) |
| | | { |
| | | Attribute attr = attrs.get(0); |