public function read(Paginator $paginator = NULL) {
		if ($this->hasNonSaveEntity() === FALSE) {
			$this->rows = array();
		}
		$this->selection = $this->buildSql($paginator);
		return $this;
	}
public function read(Paginator $paginator = NULL) {
		if ($this->hasNonSaveEntity() === FALSE) {
			$this->rows = array();
		}
		$this->selection = $this->buildSql($paginator);
		return $this;
	}
public function read ( Paginator $ paginator = NULL ) { if ( $ this -> hasNonSaveEntity ( ) === FALSE ) { $ this -> rows = array ( ) ; } $ this -> selection = $ this -> buildSql ( $ paginator ) ; return $ this ; }
Create new Selection

@param Paginator $paginator
@return BaseRepository
Create new Selection