Apexpages currentpage getparameters return type. setCurrentPage(PageRef); ApexPages.