Search across multiple tags with Boolean logic - Validate search filters are not empty
@@ -1035,6 +1035,8 @@ public class BusinessObjectDefinitionServiceImpl implements BusinessObjectDefini
* @param businessObjectDefinitionIndexSearchRequest the business object definition search request
*/
private void validateBusinessObjectDefinitionIndexSearchRequest(BusinessObjectDefinitionIndexSearchRequest businessObjectDefinitionIndexSearchRequest)
+ {
+ if (CollectionUtils.isNotEmpty(businessObjectDefinitionIndexSearchRequest.getBusinessObjectDefinitionSearchFilters()))
{
// Iterate through the search-filters and validate tag-keys.
for (BusinessObjectDefinitionSearchFilter searchFilter : businessObjectDefinitionIndexSearchRequest.getBusinessObjectDefinitionSearchFilters())
@@ -1049,6 +1051,7 @@ public class BusinessObjectDefinitionServiceImpl implements BusinessObjectDefini
}
}
}
+ }
@PublishJmsMessages
@Override
