public function _new()
 {
     parent::_new();
     $ledgercategory = $this->_uses[$this->modeltype];
     if (!$ledgercategory->isLoaded()) {
         $current = $ledgercategory->getAll();
         $categories = new ContactCategory();
         $cc = new ConstraintChain();
         if (count($current) > 0) {
             $cc->add(new Constraint('id', 'not in', '(' . implode(',', $current) . ')'));
         }
         $this->view->set('categories', $categories->getAll($cc));
     }
 }