public class CMSDefaultPageInterceptor extends Object implements PrepareInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected CMSPageDao |
cmsPageDao |
| Constructor and Description |
|---|
CMSDefaultPageInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
defaultPageExists(Set<AbstractPageModel> pages) |
void |
onPrepare(Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setCmsPageDao(CMSPageDao cmsPageDao) |
protected CMSPageDao cmsPageDao
public void onPrepare(Object model, InterceptorContext ctx) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationprotected boolean defaultPageExists(Set<AbstractPageModel> pages)
public void setCmsPageDao(CMSPageDao cmsPageDao)
Copyright © 2017 SAP SE. All Rights Reserved.