View Javadoc

1   /*
2   * Licensed to the Apache Software Foundation (ASF) under one or more
3   * contributor license agreements.  See the NOTICE file distributed with
4   * this work for additional information regarding copyright ownership.
5   * The ASF licenses this file to You under the Apache License, Version 2.0
6   * (the "License"); you may not use this file except in compliance with
7   * the License.  You may obtain a copy of the License at
8   *
9   *     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   */
23  package org.apache.jetspeed.util.ojb;
24  
25  
26  import org.apache.ojb.broker.PersistenceBroker;
27  import org.apache.ojb.broker.accesslayer.QueryCustomizer;
28  import org.apache.ojb.broker.metadata.CollectionDescriptor;
29  
30  import org.apache.ojb.broker.query.Query;
31  import org.apache.ojb.broker.query.QueryByCriteria;
32  
33  
34  /***
35   * <p>
36   * CollectionDebugger
37   * </p>
38   * 
39   * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
40   * @version $Id: CollectionDebugger.java 185773 2004-02-24 00:31:46Z weaver $
41   *
42   */
43  public class CollectionDebugger implements QueryCustomizer
44  {
45  
46      /***
47       * @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)
48       */
49      public Query customizeQuery(Object arg0, PersistenceBroker pb, CollectionDescriptor arg2, QueryByCriteria arg3)
50      {        
51          return arg3;
52      }
53  
54      /***
55       * @see org.apache.ojb.broker.metadata.AttributeContainer#addAttribute(java.lang.String, java.lang.String)
56       */
57      public void addAttribute(String arg0, String arg1)
58      {
59          // TODO Auto-generated method stub
60  
61      }
62  
63      /***
64       * @see org.apache.ojb.broker.metadata.AttributeContainer#getAttribute(java.lang.String, java.lang.String)
65       */
66      public String getAttribute(String arg0, String arg1)
67      {
68          // TODO Auto-generated method stub
69          return null;
70      }
71  
72      /***
73       * @see org.apache.ojb.broker.metadata.AttributeContainer#getAttribute(java.lang.String)
74       */
75      public String getAttribute(String arg0)
76      {
77          // TODO Auto-generated method stub
78          return null;
79      }
80  
81  }