01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: /**
18: * Created on Jan 22, 2004
19: *
20: *
21: * @author
22: */package org.apache.jetspeed.util.ojb;
23:
24: import org.apache.ojb.broker.PersistenceBroker;
25: import org.apache.ojb.broker.accesslayer.QueryCustomizer;
26: import org.apache.ojb.broker.metadata.CollectionDescriptor;
27:
28: import org.apache.ojb.broker.query.Query;
29: import org.apache.ojb.broker.query.QueryByCriteria;
30:
31: /**
32: * <p>
33: * CollectionDebugger
34: * </p>
35: *
36: * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
37: * @version $Id: CollectionDebugger.java 185773 2004-02-24 00:31:46Z weaver $
38: *
39: */
40: public class CollectionDebugger implements QueryCustomizer {
41:
42: /**
43: * @see org.apache.ojb.broker.accesslayer.QueryCustomizer#customizeQuery(java.lang.Object, org.apache.ojb.broker.PersistenceBroker, org.apache.ojb.broker.metadata.CollectionDescriptor, org.apache.ojb.broker.query.QueryByCriteria)
44: */
45: public Query customizeQuery(Object arg0, PersistenceBroker pb,
46: CollectionDescriptor arg2, QueryByCriteria arg3) {
47: return arg3;
48: }
49:
50: /**
51: * @see org.apache.ojb.broker.metadata.AttributeContainer#addAttribute(java.lang.String, java.lang.String)
52: */
53: public void addAttribute(String arg0, String arg1) {
54: // TODO Auto-generated method stub
55:
56: }
57:
58: /**
59: * @see org.apache.ojb.broker.metadata.AttributeContainer#getAttribute(java.lang.String, java.lang.String)
60: */
61: public String getAttribute(String arg0, String arg1) {
62: // TODO Auto-generated method stub
63: return null;
64: }
65:
66: /**
67: * @see org.apache.ojb.broker.metadata.AttributeContainer#getAttribute(java.lang.String)
68: */
69: public String getAttribute(String arg0) {
70: // TODO Auto-generated method stub
71: return null;
72: }
73:
74: }
|