protected function getUriForContent( $contentId, $absolute = false )
    {
        /* @var $model \Grid\Core\Model\Uri\Model */
        $service    = $this->getServiceLocator();
        $model      = $service->get( 'Grid\Core\Model\Uri\Model' );
        $subdomain  = $this->getSiteInfo()->getSubdomainId();
        $uri        = $model->findDefaultByContentLocale(
            $contentId,
            $this->locale,
            $subdomain
        );

        if ( empty( $uri ) )
        {
            return $this->getFallbackUri( $contentId, $absolute );
        }

        $result = '/' . $uri->safeUri;

        if ( $absolute || $subdomain != $uri->subdomainId )
        {
            $result = $this->getSiteInfo()
                           ->getSubdomainUrl(
                               $this->getSubdomain( $uri->subdomainId ),
                               $result
                           );
        }

        return $result;
    }