function generateNextTemp(\Doctrine\ORM\QueryBuilder $qb,$field)
    {
        $temporaryMask = $this->getTemporaryMask().'-{000}';
        return $this->generate($qb,$temporaryMask ,$field,self::MODE_NEXT);
    }
function generateNextTemp(\Doctrine\ORM\QueryBuilder $qb,$field)
    {
        $temporaryMask = $this->getTemporaryMask().'-{000}';
        return $this->generate($qb,$temporaryMask ,$field,self::MODE_NEXT);
    }
function generateNextTemp ( \ Doctrine \ ORM \ QueryBuilder $ qb , $ field ) { $ temporaryMask = $ this -> getTemporaryMask ( ) . '-{000}' ; return $ this -> generate ( $ qb , $ temporaryMask , $ field , self :: MODE_NEXT ) ; }
Generates the last sequence temporaly according to the parameters

@param \Doctrine\ORM\QueryBuilder $qb
@param type $field Field to consult the entity
@return type
Generates the last sequence temporaly according to the parameters