protected function itemsort($groupId)
 {
     $sec = new Sequence($this->getStorage());
     $entity = $this->getEntityName();
     $sec->setEntity(new $entity());
     $sec->sortItemRang('webGroupsId', $groupId);
 }
 /**
  * 
  * @param unknown $ident
  */
 protected function itemsort($ident)
 {
     $sec = new Sequence($this->getStorage());
     $entity = $this->getEntityName();
     $sec->setEntity(new $entity());
     $sec->sortItemRang(static::SORT_COLUMN, $ident);
 }
 /**
  * Sort new contribution sequence if the contribution has been moved to another page
  */
 public function sortitemrang()
 {
     if ($this->prevPage && $this->newPage) {
         $seq = new Sequence($this->getStorage());
         $seq->setEntity($this->getEntity());
         $seq->sortItemRang('webPages', $this->prevPage);
         $seq->sortItemRang('webPages', $this->newPage);
         $this->prevPage = null;
         $this->newPage = null;
     }
 }