select() and getSelected() method for model and collection