adding getall resource and getAllIds method