public EntryAttribute get( String alias ) { return clonedEntry.get( alias ); }
EntryAttribute attr = entry.get( attributeType );
EntryAttribute objectClass = entry.get( OBJECT_CLASS_AT ); EntryAttribute aliasAttr = entry.get( ALIASED_OBJECT_NAME_AT ); addAliasIndices( id, normName, aliasAttr.getString() ); EntryAttribute entryCsn = entry.get( SchemaConstants.ENTRY_CSN_AT ); EntryAttribute entryUuid = entry.get( SchemaConstants.ENTRY_UUID_AT );
public void modify( DN dn, ModificationOperation modOp, ServerEntry mods ) throws Exception { if ( mods instanceof ClonedServerEntry ) { throw new Exception( I18n.err( I18n.ERR_215 ) ); } Long id = getEntryId( dn.getNormName() ); ServerEntry entry = ( ServerEntry ) master.get( id ); for ( AttributeType attributeType : mods.getAttributeTypes() ) { EntryAttribute attr = mods.get( attributeType ); switch ( modOp ) { case ADD_ATTRIBUTE: add( id, entry, attr ); break; case REMOVE_ATTRIBUTE: remove( id, entry, attr ); break; case REPLACE_ATTRIBUTE: replace( id, entry, attr ); break; default: throw new Exception( I18n.err( I18n.ERR_221 ) ); } } master.put( id, entry ); }
public EntryAttribute get( AttributeType attributeType ) { return clonedEntry.get( attributeType ); }
rowCount = rowCount + entry.get( attrId ).size();
EntryAttribute entryAttr = entry.get( attrType );
Long parentId = getParentId( id ); EntryAttribute objectClass = entry.get( OBJECT_CLASS_AT );