class PolicyServiceImpl implements PolicyService, Constants {

	@Override
	public Page<Object[]> getPolicies(final int page, final int size, final String searchTerm) {
		return policyRepository.getAllPolicyDetails(searchTerm.toLowerCase(), PageRequest.of(page, size));
	}

}