|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageService
Created by bpolster.
| Method Summary | |
|---|---|
Page |
findPageById(Long pageId)
Returns the page with the passed in id. |
PageDTO |
findPageByURI(Locale locale,
String uri,
Map<String,Object> ruleDTOs,
boolean secure)
Looks up the page from the backend datastore. |
PageTemplate |
findPageTemplateById(Long id)
Returns the page template with the passed in id. |
net.sf.ehcache.Cache |
getPageCache()
|
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 |
void |
removePageFromCache(SandBox sandBox,
Page p)
Call to evict a page for a sandbox |
void |
removePageFromCache(String baseKey)
Call to evict both secure and non-secure pages matching the passed in key. |
PageTemplate |
savePageTemplate(PageTemplate template)
Saves the given PageTemplate |
| Method Detail |
|---|
Page findPageById(Long pageId)
pageId - - The id of the page.
PageTemplate findPageTemplateById(Long id)
id - - the id of the page template
PageTemplate savePageTemplate(PageTemplate template)
PageTemplate
template - the PageTemplate to save
PageTemplate
PageDTO findPageByURI(Locale locale,
String uri,
Map<String,Object> ruleDTOs,
boolean secure)
currentSandbox - - current sandboxlocale - - current localeuri - - the URI to return a page forruleDTOs - - ruleDTOs that are used as the data to process page rulessecure - - set to true if current request is over HTTPS
List<Page> readAllPages()
Pages configured in the systemList<PageTemplate> readAllPageTemplates()
PageTemplates configured in the systemvoid removePageFromCache(String baseKey)
baseKey -
void removePageFromCache(SandBox sandBox,
Page p)
sandBox - The sandbox in which the page residesp - The page instance to evict from cachenet.sf.ehcache.Cache getPageCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||