Class DefaultBackofficeBookmarkHandler
- java.lang.Object
-
- com.hybris.cockpitng.widgets.controller.bookmark.DefaultBookmarkHandler
-
- com.hybris.backoffice.widgets.controller.bookmark.DefaultBackofficeBookmarkHandler
-
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.controller.bookmark.BookmarkHandler
public class DefaultBackofficeBookmarkHandler extends com.hybris.cockpitng.widgets.controller.bookmark.DefaultBookmarkHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringQUERYDeprecated, for removal: This API element is subject to removal in a future version.since 2005
-
Constructor Summary
Constructors Constructor Description DefaultBackofficeBookmarkHandler(FlexibleSearchService flexibleSearchService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlexibleSearchServicegetFlexibleSearchService()<T> TloadObject(java.lang.String id)This implementation is based on Flexible Search in order to get search restrictions applied to the entity.
-
-
-
Constructor Detail
-
DefaultBackofficeBookmarkHandler
public DefaultBackofficeBookmarkHandler(FlexibleSearchService flexibleSearchService)
-
-
Method Detail
-
loadObject
public <T> T loadObject(java.lang.String id) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectNotFoundExceptionThis implementation is based on Flexible Search in order to get search restrictions applied to the entity. Simply loading the entity via Model Service would lead to omitting the restrictions.- Overrides:
loadObjectin classcom.hybris.cockpitng.widgets.controller.bookmark.DefaultBookmarkHandler- Type Parameters:
T- the type of the entity to be loaded- Parameters:
id- identifier of the entity to load- Returns:
- the entity (ItemModel) denoted by the type or the result of calling super-type's
loadObject(String)method if the id does not denote an ItemModel - Throws:
com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectNotFoundException- in case the id does not denote a valid entity (entity can't be found)
-
getFlexibleSearchService
public FlexibleSearchService getFlexibleSearchService()
-
-