@Component(value="blPageTemplateCustomPersistenceHandler") public class PageTemplateCustomPersistenceHandler extends CustomPersistenceHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected DynamicFieldPersistenceHandlerHelper |
dynamicFieldUtil |
protected PageService |
pageService |
protected SandBoxService |
sandBoxService |
DEFAULT_ORDER| Constructor and Description |
|---|
PageTemplateCustomPersistenceHandler() |
getOrder, remove, willHandleSecurityprotected PageService pageService
protected SandBoxService sandBoxService
protected DynamicFieldPersistenceHandlerHelper dynamicFieldUtil
public PageTemplateCustomPersistenceHandler()
public Boolean canHandleFetch(PersistencePackage persistencePackage)
canHandleFetch in interface CustomPersistenceHandlercanHandleFetch in class CustomPersistenceHandlerAdapterpublic Boolean canHandleAdd(PersistencePackage persistencePackage)
canHandleAdd in interface CustomPersistenceHandlercanHandleAdd in class CustomPersistenceHandlerAdapterpublic Boolean canHandleInspect(PersistencePackage persistencePackage)
canHandleInspect in interface CustomPersistenceHandlercanHandleInspect in class CustomPersistenceHandlerAdapterpublic Boolean canHandleRemove(PersistencePackage persistencePackage)
canHandleRemove in interface CustomPersistenceHandlercanHandleRemove in class CustomPersistenceHandlerAdapterpublic Boolean canHandleUpdate(PersistencePackage persistencePackage)
canHandleUpdate in interface CustomPersistenceHandlercanHandleUpdate in class CustomPersistenceHandlerAdapterprotected SandBox getSandBox()
public DynamicResultSet inspect(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, InspectHelper helper) throws ServiceException
inspect in interface CustomPersistenceHandlerinspect in class CustomPersistenceHandlerAdapterServiceExceptionpublic DynamicResultSet fetch(PersistencePackage persistencePackage, CriteriaTransferObject cto, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
fetch in interface CustomPersistenceHandlerfetch in class CustomPersistenceHandlerAdapterServiceExceptionprotected Entity fetchEntityBasedOnId(String pageId) throws Exception
Exceptionpublic Entity update(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
update in interface CustomPersistenceHandlerupdate in class CustomPersistenceHandlerAdapterServiceExceptionpublic Entity add(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
add in interface CustomPersistenceHandleradd in class CustomPersistenceHandlerAdapterServiceExceptionprotected Entity addOrUpdate(PersistencePackage persistencePackage, DynamicEntityDao dynamicEntityDao, RecordHelper helper) throws ServiceException
ServiceExceptionCopyright © 2013. All Rights Reserved.