示例#1
0
 public static ArrayList<Resource> query(Query query) throws ConnectionDisabledException {
   return Resource.query(query, Location.RESOURCE, Location.TABLE);
 }
示例#2
0
 public static Response destroy(int id) throws ConnectionDisabledException {
   return Resource.destroy(id, Location.RESOURCE, Location.TABLE);
 }
示例#3
0
 public static ArrayList<Resource> all() throws ConnectionDisabledException {
   return Resource.all(Location.RESOURCE, Location.TABLE);
 }
示例#4
0
 public static ArrayList<Resource> all(int limit, int offset) throws ConnectionDisabledException {
   return Resource.all(limit, offset, Location.RESOURCE, Location.TABLE);
 }
示例#5
0
 public static ArrayList<Resource> find(int id) throws ConnectionDisabledException {
   return Resource.find(id, Location.RESOURCE, Location.TABLE);
 }