protected List<Profile> findProfilesByQuery(String tenant, String query) { try { return profileService.getProfilesByQuery(tenant, query, null, null, null, null, ProfileConstants.NO_ATTRIBUTE); } catch (ProfileException e) { throw new SocialMediaIntegrationException("Unable to find profiles of tenant '" + tenant + "' by " + "query " + query, e); } }
protected List<Profile> findProfilesByQuery(String tenant, String query) { try { return profileService.getProfilesByQuery(tenant, query, null, null, null, null, ProfileConstants.NO_ATTRIBUTE); } catch (ProfileException e) { throw new SocialMediaIntegrationException("Unable to find profiles of tenant '" + tenant + "' by " + "query " + query, e); } }