View Javadoc

1   /**
2    * Copyright 2013 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   *
15   * Created by David Yin on 2/3/13
16   */
17  package org.kuali.student.enrollment.uif.form;
18  
19  import org.kuali.rice.krad.web.form.MaintenanceDocumentForm;
20  
21  import java.util.Map;
22  
23  /**
24   * This class //TODO ...
25   *
26   * @author Kuali Student Team
27   */
28  public class KSUifMaintenanceDocumentForm extends MaintenanceDocumentForm {
29      private String breadCrumbJSON; //JSON string of customized breadcrumb of a page
30      private Map<String,Map<String,String>> breadCrumbItemsMap; //Map that storing breadcrumb maps for all the pages that have it configured in the current view
31      private String homeUrl;
32      private Map<String, Map<String, String>> previousFormsMap;
33  
34      public KSUifMaintenanceDocumentForm() {
35          breadCrumbJSON = "";
36      }
37  
38      public String getBreadCrumbJSON() {
39          return breadCrumbJSON;
40      }
41  
42      public void setBreadCrumbJSON(String breadCrumbJSON) {
43          this.breadCrumbJSON = breadCrumbJSON;
44      }
45  
46      public Map<String,Map<String,String>> getBreadCrumbItemsMap() {
47          return breadCrumbItemsMap;
48      }
49  
50      public void setBreadCrumbItemsMap(Map<String,Map<String,String>> breadCrumbItemsMap) {
51          this.breadCrumbItemsMap = breadCrumbItemsMap;
52      }
53  
54      public String getHomeUrl() {
55          return homeUrl;
56      }
57  
58      public void setHomeUrl(String homeUrl) {
59          this.homeUrl = homeUrl;
60      }
61  
62      public Map<String, Map<String, String>> getPreviousFormsMap() {
63          return previousFormsMap;
64      }
65  
66      public void setPreviousFormsMap(Map<String, Map<String, String>> previousFormsMap) {
67          this.previousFormsMap = previousFormsMap;
68      }
69  }