public class ExtensionManagerEJB extends ManagerEJB
| Constructor and Description |
|---|
ExtensionManagerEJB() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRemoveItem(ItemRemote item)
In case a manager wants to abort the removal of an Item this method should return false.
|
java.util.Collection<java.lang.String> |
getAllExtensionNames() |
java.util.Collection<ExtensionEJB> |
getAllExtensions() |
ExtensionEJB |
getExtension(java.lang.String name) |
void |
notifyItemRemove(ItemRemote item)
Callback method to get notified if an item in the hybris platform is going to be removed.
|
ejbCreate, ejbPostCreate, getPersistencePool, isReinitialization, prepareItemRemove, removeItempublic void notifyItemRemove(ItemRemote item)
ManagerEJBManagerEJB.canRemoveItem(ItemRemote)
instead to signal your veto. notifyItemRemove in class ManagerEJBpublic boolean canRemoveItem(ItemRemote item) throws ConsistencyCheckException
ManagerEJBcanRemoveItem in class ManagerEJBConsistencyCheckException - you can either throw an exception or return falsepublic java.util.Collection<java.lang.String> getAllExtensionNames()
public ExtensionEJB getExtension(java.lang.String name)
public java.util.Collection<ExtensionEJB> getAllExtensions()
Copyright © 2018 SAP SE. All Rights Reserved.