changed getRangeMethod in IDAO tso it has 2 parameters and also added getRange and getCount in PostBoxResources