1 package org.tigris.scarab.om; 2 3 48 49 import org.apache.torque.TorqueException; 50 import org.apache.torque.om.Persistent; 51 52 58 public class QueryManager 59 extends BaseQueryManager 60 { 61 66 public QueryManager() 67 throws TorqueException 68 { 69 super(); 70 setRegion(getClassName().replace('.', '_')); 71 } 72 73 protected Persistent putInstanceImpl(Persistent om) 74 throws TorqueException 75 { 76 Persistent oldOm = super.putInstanceImpl(om); 77 getMethodResult().removeAll(QueryPeer.QUERY_PEER, 81 QueryPeer.GET_QUERIES); 82 getMethodResult().removeAll(QueryPeer.QUERY_PEER, 83 QueryPeer.GET_USER_QUERIES); 84 getMethodResult().removeAll(QueryPeer.QUERY_PEER, 85 QueryPeer.GET_MODULE_QUERIES); 86 return oldOm; 87 } 88 89 public Query getInstanceImpl() 90 { 91 return new Query(); 92 } 93 } 94 | Popular Tags |