public void populateDSMetadata ( final DistributionSet distributionSet ) { removeAllItems ( ) ; if ( null == distributionSet ) { return ; } selectedDistSetId = distributionSet . getId ( ) ; final List < DistributionSetMetadata > dsMetadataList = distributionSetManagement . findMetaDataByDistributionSetId ( PageRequest . of ( 0 , MAX_METADATA_QUERY ) , selectedDistSetId ) . getContent ( ) ; if ( null != dsMetadataList && ! dsMetadataList . isEmpty ( ) ) { dsMetadataList . forEach ( this :: setMetadataProperties ) ; } }
Populate distribution set metadata .