/** * Method to check whether a page exists in the Tridion Broker. * * @param url the Url to check * @param publicationId the publication Id * @return boolean indicating the page is present */ @Override public Boolean isPagePublished(String url, int publicationId) { LOG.debug("Enter isPagePublished with url: {} and publicationId: {}", url, publicationId); try { return pageProvider.checkPageExists(url, publicationId); } catch (ItemNotFoundException | SerializationException e) { LOG.error(e.getLocalizedMessage(), e); } return false; }