public interface PageDao
| Modifier and Type | Method and Description | 
|---|---|
| Page | addPage(Page clonedPage) | 
| void | delete(Page page) | 
| void | detachPage(Page page) | 
| List<Page> | findPageByURI(Locale fullLocale,
             Locale languageOnlyLocale,
             String uri) | 
| List<Page> | findPageByURI(Locale locale,
             String uri) | 
| List<Page> | findPageByURI(String uri) | 
| List<Page> | findPageByURIAndActiveDate(String uri,
                          Date activeDate)Returns pages that match the given URI and are within 1 day of the active date (potentially cached). | 
| Long | getCurrentDateResolution() | 
| List<Page> | readAllPages()Returns all pages, regardless of any sandbox they are apart of | 
| List<PageTemplate> | readAllPageTemplates()Returns all page templates, regardless of any sandbox they are apart of | 
| List<Page> | readOnlineAndIncludedPages(int limit,
                          int offset,
                          String sortBy)Retrieve a subset of all online and site map included Pages | 
| Page | readPageById(Long id) | 
| List<PageField> | readPageFieldsByPageId(Long pageId) | 
| PageTemplate | readPageTemplateById(Long id) | 
| PageTemplate | savePageTemplate(PageTemplate template)Saves the given  PageTemplate | 
| void | setCurrentDateResolution(Long currentDateResolution) | 
| Page | updatePage(Page page) | 
PageTemplate readPageTemplateById(Long id)
PageTemplate savePageTemplate(PageTemplate template)
PageTemplatetemplate - the PageTemplate to savePageTemplatevoid delete(Page page)
List<Page> readAllPages()
@Nonnull List<Page> readOnlineAndIncludedPages(@Nonnull int limit, @Nonnull int offset, @Nonnull String sortBy)
limit - the maximum number of resultsoffset - the starting point in the record setsortBy - the column to sort byList<PageTemplate> readAllPageTemplates()
PageTemplates configured in the systemList<Page> findPageByURIAndActiveDate(String uri, Date activeDate)
uri - activeDate - void detachPage(Page page)
Long getCurrentDateResolution()
void setCurrentDateResolution(Long currentDateResolution)
Copyright © 2020. All rights reserved.