}
private ODocument getODocument(String key){
String indexKey = this.INDEX_NAME+":"+key;
QueryParams qp = QueryParams.getInstance();
qp.where("key = ?").params(new String[]{indexKey});
try{
List<ODocument> docs = GenericDao.getInstance().executeQuery(MODEL_NAME, qp);
if(docs==null || docs.isEmpty()){
return null;
}else{