private function cleanBatches($userId)
    {
        $where = EBatch::A_USER_REF . '=' . (int)$userId;
        $result = $this->daoBatch->delete($where);
        return $result;
    }
private function cleanBatches($userId)
    {
        $where = EBatch::A_USER_REF . '=' . (int)$userId;
        $result = $this->daoBatch->delete($where);
        return $result;
    }
private function cleanBatches ( $ userId ) { $ where = EBatch :: A_USER_REF . '=' . ( int ) $ userId ; $ result = $ this -> daoBatch -> delete ( $ where ) ; return $ result ; }
Remove all existing batches for currently logged in admin user.

@return int
@throws \Exception
Remove all existing batches for currently logged in admin user .