private void validateStoragePolicySelection(StoragePolicySelection storagePolicySelection){
  Assert.notNull(storagePolicySelection,"A storage policy selection must be specified.");
  businessObjectDataHelper.validateBusinessObjectDataKey(storagePolicySelection.getBusinessObjectDataKey(),true,true);
  storagePolicyHelper.validateStoragePolicyKey(storagePolicySelection.getStoragePolicyKey());
  Assert.notNull(storagePolicySelection.getStoragePolicyVersion(),"A storage policy version must be specified.");
}

private void validateStoragePolicySelection ( StoragePolicySelection storagePolicySelection ) { Assert . notNull ( storagePolicySelection , "A storage policy selection must be specified." ) ; businessObjectDataHelper . validateBusinessObjectDataKey ( storagePolicySelection . getBusinessObjectDataKey ( ) , true , true ) ; storagePolicyHelper . validateStoragePolicyKey ( storagePolicySelection . getStoragePolicyKey ( ) ) ; Assert . notNull ( storagePolicySelection . getStoragePolicyVersion ( ) , "A storage policy version must be specified." ) ; }
validates the storage policy selection . this method also trims the request parameters .
