public function loadObjectStateListData($groupId)
{
$query = $this->createObjectStateFindQuery();
$query->where($query->expr->eq($this->dbHandler->quoteColumn('group_id', 'ezcobj_state'), $query->bindValue($groupId, null, \PDO::PARAM_INT)))->orderBy($this->dbHandler->quoteColumn('priority', 'ezcobj_state'), $query::ASC);
$statement = $query->prepare();
$statement->execute();
$rows = array();
while ($row = $statement->fetch(\PDO::FETCH_ASSOC)) {
$rows[$row['ezcobj_state_id']][] = $row;
}
return array_values($rows);
}