示例#1
0
  public void removeContentItem(@Delete ContentItem item) {
    kiwiEntityManager.remove(item);

    Events.instance().raiseEvent(KiWiEvents.ACTIVITY_DELETECONTENTITEM, currentUser, item);
    Events.instance().raiseTransactionSuccessEvent(KiWiEvents.ITEM_REMOVED, item);
    // TODO add contentitem to updateTransactionBean
  }
示例#2
0
 /* (non-Javadoc)
  * @see kiwi.api.fragment.FragmentService#removeFragment(kiwi.api.fragment.FragmentFacade)
  */
 @Override
 public void removeFragment(FragmentFacade ff) {
   kiwiEntityManager.remove(ff.getDelegate());
 }