KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opencms > workplace > CmsSearchFormObject


1 /*
2 * File : $Source: /usr/local/cvs/opencms/src-modules/com/opencms/workplace/CmsSearchFormObject.java,v $
3 * Date : $Date: 2005/05/17 13:47:28 $
4 * Version: $Revision: 1.1 $
5 *
6 * This library is part of OpenCms -
7 * the Open Source Content Mananagement System
8 *
9 * Copyright (C) 2001 The OpenCms Group
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either
14 * version 2.1 of the License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * For further information about OpenCms, please see the
22 * OpenCms Website: http://www.opencms.org
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 */

28
29 package com.opencms.workplace;
30
31 import java.io.Serializable JavaDoc;
32
33 /**
34  * Describes a file in the Cms.
35  *
36  * @author Edna Falkenhan
37  * @version $Revision: 1.1 $ $Date: 2005/05/17 13:47:28 $
38  *
39  * @deprecated Will not be supported past the OpenCms 6 release.
40  */

41 public class CmsSearchFormObject implements Cloneable JavaDoc,Serializable JavaDoc {
42
43     /**
44      * The filter of search.
45      */

46     private String JavaDoc m_filter;
47
48     /**
49      * The value of search.
50      */

51     private String JavaDoc m_value01;
52
53     /**
54      * The value of search.
55      */

56     private String JavaDoc m_value02;
57
58     /**
59      * The value of search.
60      */

61     private String JavaDoc m_value03;
62
63      /**
64       * Constructor, creates a new CmsSearchFormObject object.
65       *
66       * @param filter The filtername.
67       * @param value01 The first value of search filter.
68       * @param value02 The second value of search filter.
69       * @param value03 The third value of search filter.
70       */

71      public CmsSearchFormObject(String JavaDoc filter, String JavaDoc value01, String JavaDoc value02, String JavaDoc value03){
72         // set content and size.
73
m_filter=filter;
74         m_value01=value01;
75         m_value02=value02;
76         m_value03=value03;
77    }
78
79     /**
80      * Gets the filter for search.
81      *
82      * @return the filtername.
83      */

84     public String JavaDoc getFilter() {
85       return m_filter;
86     }
87
88     /**
89      * Gets the first value for the filter.
90      *
91      * @return the value for filter.
92      */

93     public String JavaDoc getValue01() {
94       return m_value01;
95     }
96
97     /**
98      * Gets the second value for the filter.
99      *
100      * @return the value for filter.
101      */

102     public String JavaDoc getValue02() {
103       return m_value02;
104     }
105
106     /**
107      * Gets the third value for the filter.
108      *
109      * @return the value for filter.
110      */

111     public String JavaDoc getValue03() {
112       return m_value03;
113     }
114 }
115
Popular Tags