Model/NavManager.php
public function moveUp($page, $nbrPosition)
    {
        $event = new NavEvent($page);
        $this->getDispatcher()->dispatch(KitpagesCmsEvents::onNavMove, $event);
        if (! $event->isDefaultPrevented()) {
            $em = $this->getDoctrine()->getManager();
            $em->getRepository('KitpagesCmsBundle:Page')->moveUp($page, $nbrPosition);
        }
        $this->getDispatcher()->dispatch(KitpagesCmsEvents::afterNavMove, $event);
    }
public function moveUp($page, $nbrPosition)
    {
        $event = new NavEvent($page);
        $this->getDispatcher()->dispatch(KitpagesCmsEvents::onNavMove, $event);
        if (! $event->isDefaultPrevented()) {
            $em = $this->getDoctrine()->getManager();
            $em->getRepository('KitpagesCmsBundle:Page')->moveUp($page, $nbrPosition);
        }
        $this->getDispatcher()->dispatch(KitpagesCmsEvents::afterNavMove, $event);
    }
//