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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.since 2005Fields inherited from class com.hybris.cockpitng.widgets.controller.bookmark.DefaultBookmarkHandler
BOOKMARK_OBJECT_ACCESS, OUTPUT_SOCKET_DEFAULT_ENTITY -
Constructor Summary
ConstructorsConstructorDescriptionDefaultBackofficeBookmarkHandler(FlexibleSearchService flexibleSearchService) -
Method Summary
Modifier and TypeMethodDescription<T> TloadObject(String id) This implementation is based on Flexible Search in order to get search restrictions applied to the entity.Methods inherited from class com.hybris.cockpitng.widgets.controller.bookmark.DefaultBookmarkHandler
getCockpitUserService, getNotificationService, getObjectFacade, getPermissionFacade, handleBookmark, setCockpitUserService, setNotificationService, setObjectFacade, setPermissionFacade
-
Field Details
-
QUERY
Deprecated, for removal: This API element is subject to removal in a future version.since 2005The field is not used anymore.
-
-
Constructor Details
-
DefaultBackofficeBookmarkHandler
-
-
Method Details
-
loadObject
public <T> T loadObject(String id) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectNotFoundException This 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
-