private BusinessObjectDataStatus createNotAvailableBusinessObjectDataStatus(BusinessObjectDataAvailabilityRequest businessObjectDataAvailabilityRequest,List<String> unmatchedPartitionFilter,String reason){
  BusinessObjectDataStatus businessObjectDataStatus=new BusinessObjectDataStatus();
  businessObjectDataStatus.setBusinessObjectFormatVersion(businessObjectDataAvailabilityRequest.getBusinessObjectFormatVersion());
  if (businessObjectDataAvailabilityRequest.getPartitionValueFilters() != null) {
    replaceAllNullsWithEmptyString(unmatchedPartitionFilter);
    businessObjectDataStatus.setPartitionValue(unmatchedPartitionFilter.get(0));
    businessObjectDataStatus.setSubPartitionValues(unmatchedPartitionFilter.subList(1,unmatchedPartitionFilter.size()));
  }
 else {
    for (    String partitionValue : unmatchedPartitionFilter) {
      if (partitionValue != null) {
        businessObjectDataStatus.setPartitionValue(partitionValue);
        break;
      }
    }
  }
  businessObjectDataStatus.setBusinessObjectDataVersion(businessObjectDataAvailabilityRequest.getBusinessObjectDataVersion());
  businessObjectDataStatus.setReason(reason);
  return businessObjectDataStatus;
}

private BusinessObjectDataStatus createNotAvailableBusinessObjectDataStatus ( BusinessObjectDataAvailabilityRequest businessObjectDataAvailabilityRequest , List < String > unmatchedPartitionFilter , String reason ) { BusinessObjectDataStatus businessObjectDataStatus = new BusinessObjectDataStatus ( ) ; businessObjectDataStatus . setBusinessObjectFormatVersion ( businessObjectDataAvailabilityRequest . getBusinessObjectFormatVersion ( ) ) ; if ( businessObjectDataAvailabilityRequest . getPartitionValueFilters ( ) != null ) { replaceAllNullsWithEmptyString ( unmatchedPartitionFilter ) ; businessObjectDataStatus . setPartitionValue ( unmatchedPartitionFilter . get ( 0 ) ) ; businessObjectDataStatus . setSubPartitionValues ( unmatchedPartitionFilter . subList ( 1 , unmatchedPartitionFilter . size ( ) ) ) ; } else { for ( String partitionValue : unmatchedPartitionFilter ) { if ( partitionValue != null ) { businessObjectDataStatus . setPartitionValue ( partitionValue ) ; break ; } } } businessObjectDataStatus . setBusinessObjectDataVersion ( businessObjectDataAvailabilityRequest . getBusinessObjectDataVersion ( ) ) ; businessObjectDataStatus . setReason ( reason ) ; return businessObjectDataStatus ; }
creates the business object data status .
