public abstract class ManagerEJB
extends java.lang.Object
| Constructor and Description |
|---|
ManagerEJB() |
| 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.
|
void |
ejbCreate()
Default implementation of EJB method.
|
void |
ejbPostCreate()
Default implementation of EJB method.
|
protected PersistencePool |
getPersistencePool() |
boolean |
isReinitialization(java.util.Map params) |
void |
notifyItemRemove(ItemRemote item)
Callback method to get notified if an item in the hybris platform is going to be removed.
|
void |
prepareItemRemove(ItemRemote item)
Called before a not stageable item is removed.
|
void |
removeItem(ItemRemote item)
Removes an Item which is not stageable.
|
protected PersistencePool getPersistencePool()
public void notifyItemRemove(ItemRemote item)
canRemoveItem(ItemRemote)
instead to signal your veto. public boolean canRemoveItem(ItemRemote item) throws ConsistencyCheckException
ConsistencyCheckException - you can either throw an exception or return falsepublic boolean isReinitialization(java.util.Map params)
public void removeItem(ItemRemote item) throws ConsistencyCheckException
prepareItemRemove(ItemRemote )
| Productive | Stage |
|---|---|
|
|
|
ConsistencyCheckExceptionprepareItemRemove(ItemRemote )public void prepareItemRemove(ItemRemote item) throws ConsistencyCheckException
ConsistencyCheckExceptionremoveItem(ItemRemote )public void ejbCreate()
public void ejbPostCreate()
Copyright © 2018 SAP SE. All Rights Reserved.