View Javadoc

1   /*
2    * Copyright 2007-2008 The Kuali Foundation
3    *
4    * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
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 org.kuali.rice.kew.docsearch;
17  
18  import java.util.HashMap;
19  import java.util.Map;
20  
21  import org.kuali.rice.kew.util.Utilities;
22  import org.kuali.rice.kns.web.ui.Column;
23  
24  /**
25   * This is a description of what this class does - jjhanso don't forget to fill this in.
26   *
27   * @author Kuali Rice Team (rice.collab@kuali.org)
28   * @deprecated
29   */
30  public class DocumentSearchColumn_DEPR extends Column {
31  //    public static final String COLUMN_IS_SORTABLE_VALUE = "true";
32  //    public static final String COLUMN_NOT_SORTABLE_VALUE = "false";
33  //
34  //    private String key;
35  //    private String sortPropertyName;
36  //    private Map<String,String> displayParameters = new HashMap<String,String>();
37  //
38  //    public DocumentSearchColumn() {
39  //        super();
40  //    }
41  //
42  //    public DocumentSearchColumn(String columnTitle, String sortable, String propertyName) {
43  //        super(columnTitle, sortable, propertyName);
44  //    }
45  //
46  //    public DocumentSearchColumn(String columnTitle, String sortable, String propertyName, String sortPropertyName, String key, Map<String,String> displayParameters) {
47  //        super(columnTitle, sortable, propertyName);
48  //        this.sortPropertyName = sortPropertyName;
49  //        this.key = key;
50  //        this.displayParameters = displayParameters;
51  //    }
52  //
53  //    /**
54  //     * @return the key
55  //     */
56  //    public String getPropertyName() {
57  //        return key;
58  //    }
59  //
60  //    /**
61  //     * @param key the key to set
62  //     */
63  //    public void setKey(String key) {
64  //        this.key = key;
65  //    }
66  //
67  //    public String getSortName() {
68  //        if (!Utilities.isEmpty(this.sortPropertyName)) {
69  //            return this.sortPropertyName;
70  //        }
71  //        return super.getPropertyName();
72  //    }
73  //
74  //    public String getSortPropertyName() {
75  //        return this.sortPropertyName;
76  //    }
77  //
78  //    public Map<String, String> getDisplayParameters() {
79  //        return this.displayParameters;
80  //    }
81  //
82  //    public void setSortPropertyName(String sortPropertyName) {
83  //        this.sortPropertyName = sortPropertyName;
84  //    }
85  //
86  //    public void setDisplayParameters(Map<String, String> displayParameters) {
87  //        this.displayParameters = displayParameters;
88  //    }
89  }