Class PageContentSlotTypeRestrictionController
- java.lang.Object
-
- de.hybris.platform.cmswebservices.pagescontentslotstyperestrictions.controller.PageContentSlotTypeRestrictionController
-
@Controller @RequestMapping("/v1/catalogs/{catalogId}/versions/{versionId}/pages/{pageId}/contentslots/{slotId}/typerestrictions") public class PageContentSlotTypeRestrictionController extends java.lang.ObjectController that provides type restrictions for CMS content slots.
-
-
Constructor Summary
Constructors Constructor Description PageContentSlotTypeRestrictionController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DataMappergetDataMapper()protected PageContentSlotTypeRestrictionsFacadegetPageContentSlotTypeRestrictionsFacade()ContentSlotTypeRestrictionsWsDTOgetTypeRestrictionsForContentSlot(java.lang.String pageId, java.lang.String slotId)voidsetDataMapper(DataMapper dataMapper)voidsetPageContentSlotTypeRestrictionsFacade(PageContentSlotTypeRestrictionsFacade pageContentSlotTypeRestrictionsFacade)
-
-
-
Method Detail
-
getTypeRestrictionsForContentSlot
@RequestMapping(method=GET) @ResponseBody @ResponseStatus(OK) public ContentSlotTypeRestrictionsWsDTO getTypeRestrictionsForContentSlot(@PathVariable java.lang.String pageId, @PathVariable java.lang.String slotId) throws CMSItemNotFoundException
- Throws:
CMSItemNotFoundException
-
getDataMapper
protected DataMapper getDataMapper()
-
setDataMapper
public void setDataMapper(DataMapper dataMapper)
-
getPageContentSlotTypeRestrictionsFacade
protected PageContentSlotTypeRestrictionsFacade getPageContentSlotTypeRestrictionsFacade()
-
setPageContentSlotTypeRestrictionsFacade
public void setPageContentSlotTypeRestrictionsFacade(PageContentSlotTypeRestrictionsFacade pageContentSlotTypeRestrictionsFacade)
-
-