Class ShortcutsService
- java.lang.Object
-
- de.hybris.platform.pcmbackoffice.services.ShortcutsService
-
public class ShortcutsService extends java.lang.ObjectService for shortcuts widgets and remove shortcuts list action.
-
-
Constructor Summary
Constructors Constructor Description ShortcutsService()
-
Method Summary
-
-
-
Method Detail
-
getAllCollectionList
public java.util.List<PK> getAllCollectionList(BackofficeObjectSpecialCollectionModel collectionModel)
Get all product in the collection- Parameters:
collectionModel- for which collectionModel is returned.- Returns:
- a list of values in the collectionModel.
-
insertProductToCollectionlist
public void insertProductToCollectionlist(ProductModel product, BackofficeObjectSpecialCollectionModel collectionModel)
Insert product into the collection.- Parameters:
product- for which item is inserted.collectionModel- for which collectionModel.
-
deleteProductFromCollectionlist
public void deleteProductFromCollectionlist(ProductModel product, BackofficeObjectSpecialCollectionModel collectionModel)
Delete the product from the collection.- Parameters:
product- for which item is deleted.collectionModel- for which collectionModel.
-
initCollection
public BackofficeObjectSpecialCollectionModel initCollection(java.lang.String collectionCode)
Init the collectionModel.- Parameters:
collectionCode- for which collection is generated.- Returns:
- a generated collectionModel.
-
collectionContainsItem
public boolean collectionContainsItem(ProductModel product, BackofficeObjectSpecialCollectionModel collectionModel)
Check if the product in the collection.- Parameters:
product- for which item is contained.collectionModel- for which collection contains.- Returns:
- if the collection contains the item.
-
getUserService
public UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
getModelService
public ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getGenericSearchService
public GenericSearchService getGenericSearchService()
-
setGenericSearchService
public void setGenericSearchService(GenericSearchService genericSearchService)
-
getTypeService
public TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
-