317318319320321322323324325326327
if ( attributeType.getUsage() != UsageEnum.USER_APPLICATIONS ) { if ( !lookupContext.getAttrsId().contains( oid ) ) { entry.removeAttributes( attributeType ); } } } } }
331332333334335336337338339340341
{ for ( AttributeType attributeType : ( entry.getOriginalEntry() ).getAttributeTypes() ) { if ( attributeType.getUsage() == UsageEnum.USER_APPLICATIONS ) { entry.removeAttributes( attributeType ); } } } else {
343344345346347348349350351352353
{ for ( AttributeType attributeType : ( entry.getOriginalEntry() ).getAttributeTypes() ) { if ( attributeType.getUsage() != UsageEnum.USER_APPLICATIONS ) { entry.removeAttributes( attributeType ); } } } else {
355356357358359360361362363364365
{ String oid = attributeType.getOid(); if ( !lookupContext.getAttrsId().contains( oid ) ) { entry.removeAttributes( attributeType ); } } } } }
618619620621622623624625626627628
{ String oid = attributeType.getOid(); if ( !lookupContext.getAttrsId().contains( oid ) ) { retval.removeAttributes( attributeType ); } } return retval; } else