KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > webapp > taglib > core > grid > util > GridFilter


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package com.blandware.atleap.webapp.taglib.core.grid.util;
17
18 import java.io.Serializable JavaDoc;
19
20 /**
21  * <p>Interface for grid filters</p>
22  * <p><a HREF="GridFilter.java.htm"><i>View Source</i></a></p>
23  *
24  * @author Sergey Zubtcovskii <a HREF="mailto:sergey.zubtcovskii@blandware.com">&lt;sergey.zubtcovskii@blandware.com&gt;</a>
25  * @version $Revision: 1.5 $ $Date: 2005/09/27 08:48:28 $
26  */

27 public interface GridFilter extends Serializable JavaDoc {
28
29     /**
30      * Returns field name this filter is associated with
31      *
32      * @return field name
33      */

34     public String JavaDoc getFieldName();
35
36     /**
37      * Returns condition created by filter object, if it is enabled for iterator with specified ID.
38      * Otherwise <code>null is returned.</code>
39      *
40      * @return String with condition
41      */

42     public String JavaDoc getClause(String JavaDoc iteratorId);
43
44 }
45
Popular Tags