package jdo.party.specifications;

import jdo.core.repository.specification.Specification;
import jdo.party.model.Party;

public class CustomerSpecification implements Specification<Party> {

	@Override
	public boolean isSatisifiedBy(Party entity) {
		
		return true;
	}

}

@@ -237,21 +237,17 @@
 rty 
-enti
+par
 ty) %7B%0A
-%09%09%0A
 %09%09re
@@ -255,13 +255,80 @@
 urn 
-true;
+party.getActingAs().stream().anyMatch( a -%3E (a instanceof Customer));%0A%09%09
 %0A%09%7D%0A

Update CustomerSpecification.java