Beispiel #1
0
        public IContentRepositoryQueryContext <UserMicroSummary> AsMicroSummary()
        {
            var query = new GetUserMicroSummaryByIdQuery(_userId);

            return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }
Beispiel #2
0
 public IContentRepositoryQueryContext <bool> IsPathUnique(IsPageDirectoryPathUniqueQuery query)
 {
     return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
 }
        public IContentRepositoryQueryContext <PageDetails> AsDetails()
        {
            var query = new GetPageDetailsByIdQuery(_pageId);

            return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }
        public IContentRepositoryQueryContext <PageRenderDetails> AsRenderDetails(PublishStatusQuery publishStatus)
        {
            var query = new GetPageRenderDetailsByIdQuery(_pageId, publishStatus);

            return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }
        public IContentRepositoryQueryContext <PageRenderSummary> AsRenderSummary()
        {
            var query = new GetPageRenderSummaryByIdQuery(_pageId);

            return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }
        public IContentRepositoryQueryContext <bool> HasDraft(int pageId)
        {
            var query = new DoesPageHaveDraftVersionQuery(pageId);

            return(ContentRepositoryQueryContextFactory.Create(query, ExtendableContentRepository));
        }