[New] Added doQuery() methods to DAOs and hooked up InMemory querying
This commit is contained in:
parent
2bfeb2ff99
commit
3fb804178b
|
@ -15,8 +15,11 @@
|
||||||
*/
|
*/
|
||||||
package li.strolch.persistence.impl;
|
package li.strolch.persistence.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import li.strolch.model.Order;
|
import li.strolch.model.Order;
|
||||||
import li.strolch.model.Tags;
|
import li.strolch.model.Tags;
|
||||||
|
import li.strolch.model.query.OrderQuery;
|
||||||
import li.strolch.persistence.api.OrderDao;
|
import li.strolch.persistence.api.OrderDao;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
|
|
||||||
|
@ -30,4 +33,10 @@ public class XmlOrderDao extends AbstractDao<Order> implements OrderDao {
|
||||||
protected String getClassType() {
|
protected String getClassType() {
|
||||||
return Tags.ORDER;
|
return Tags.ORDER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Order> doQuery(OrderQuery query) {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,11 @@
|
||||||
*/
|
*/
|
||||||
package li.strolch.persistence.impl;
|
package li.strolch.persistence.impl;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import li.strolch.model.Resource;
|
import li.strolch.model.Resource;
|
||||||
import li.strolch.model.Tags;
|
import li.strolch.model.Tags;
|
||||||
|
import li.strolch.model.query.ResourceQuery;
|
||||||
import li.strolch.persistence.api.ResourceDao;
|
import li.strolch.persistence.api.ResourceDao;
|
||||||
import li.strolch.persistence.api.StrolchTransaction;
|
import li.strolch.persistence.api.StrolchTransaction;
|
||||||
|
|
||||||
|
@ -30,4 +33,10 @@ public class XmlResourceDao extends AbstractDao<Resource> implements ResourceDao
|
||||||
protected String getClassType() {
|
protected String getClassType() {
|
||||||
return Tags.RESOURCE;
|
return Tags.RESOURCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Resource> doQuery(ResourceQuery query) {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue