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 final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 2005

    Fields inherited from class com.hybris.cockpitng.widgets.controller.bookmark.DefaultBookmarkHandler

    BOOKMARK_OBJECT_ACCESS, OUTPUT_SOCKET_DEFAULT_ENTITY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    <T> T
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • QUERY

      @Deprecated(since="2005", forRemoval=true) public static final String QUERY
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 2005
      The field is not used anymore.
  • Constructor Details

    • DefaultBackofficeBookmarkHandler

      public DefaultBackofficeBookmarkHandler(FlexibleSearchService flexibleSearchService)
  • 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:
      loadObject in class com.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()