public interface ComponentItemFacade
AbstractCMSComponentData getComponentById(java.lang.String componentId, java.lang.String categoryCode, java.lang.String productCode, java.lang.String catalogCode) throws CMSItemNotFoundException
AbstractCMSComponentData object by component id restricted by categoryCode or productCode or
catalogCode.componentId - the component idcategoryCode - the optional category codeproductCode - the optional product codecatalogCode - the optional catalog codeAbstractCMSComponentData objectCMSItemNotFoundException - if the component is restricted or not visible.SearchPageData<AbstractCMSComponentData> getComponentsByIds(java.util.Collection<java.lang.String> componentIds, java.lang.String categoryCode, java.lang.String productCode, java.lang.String catalogCode, SearchPageData searchPageData)
AbstractCMSComponentData in SearchPageData. The result is restricted by
categoryCode or productCode or catalogCode.componentIds - the list of component idcategoryCode - the optional category codeproductCode - the optional product codecatalogCode - the optional catalog codesearchPageData - the searchPageData contains requested pagination and sorting informationAbstractCMSComponentData in SearchPageData. If nothing is found the empty list is returned.@Deprecated java.util.List<AbstractCMSComponentData> getAllComponentItems()
CMSItemFacade.findCMSItems(de.hybris.platform.cmsfacades.data.CMSItemSearchData, PageableData)
instead.AbstractCMSComponentData; never null@Deprecated SearchResult<AbstractCMSComponentData> findComponentByMask(java.lang.String mask, PageableData pageableData)
CMSItemFacade.findCMSItems(de.hybris.platform.cmsfacades.data.CMSItemSearchData, PageableData)
instead.PageableData query, will return a page object consisting of the
content list of the requested page number and the total number of entities for the given maskmask - the string value on which components will be filtered, implementations may choose to filter on the
component namepageableData - the PageableData object containing the page request details. PageableData may contain a String
value for sort, this will be used by a sorting strategy to select the most appropriate query or resort
to a default one.@Deprecated AbstractCMSComponentData addComponentItem(AbstractCMSComponentData component) throws ValidationException
PageContentSlotComponentFacade.addComponentToContentSlot(de.hybris.platform.cmsfacades.data.PageContentSlotComponentData)
instead.component - the AbstractCMSComponentDataAbstractCMSComponentDataValidationException - throws it in case of validation failures.@Deprecated
void removeComponentItem(java.lang.String componentUid)
throws CMSItemNotFoundException
CMSItemFacade.deleteCMSItemByUuid(String) instead.componentUid - - the uid of the cms componentCMSItemNotFoundException - - when no component exists for the given UID@Deprecated AbstractCMSComponentData getComponentItemByUid(java.lang.String uid) throws CMSItemNotFoundException
CMSItemFacade.getCMSItemByUuid(String) instead.uid - the uid of the cms componentAbstractCMSComponentDataCMSItemNotFoundException - when the component is unable to be found from the id@Deprecated
void updateComponentItem(java.lang.String componentUid,
AbstractCMSComponentData componentData)
throws CMSItemNotFoundException
CMSItemFacade.updateItem(String, java.util.Map)
instead.componentUid - - the uid of the cms componentcomponentData - - the dto containing component attribute valuesCMSItemNotFoundException - - when the component is unable to be found from the idCopyright © 2018 SAP SE. All Rights Reserved.