View Javadoc
1   package org.kuali.ole.describe.form;
2   
3   import org.kuali.ole.docstore.common.document.config.*;
4   import org.kuali.rice.krad.web.form.UifFormBase;
5   
6   import java.util.ArrayList;
7   import java.util.List;
8   
9   /**
10   * Created with IntelliJ IDEA.
11   * User: chandrasekharag
12   * Date: 4/3/14
13   * Time: 6:41 PM
14   * To change this template use File | Settings | File Templates.
15   */
16  public class DocumentConfigForm extends UifFormBase {
17      public void setDocTypeConfigList(List<DocTypeConfig> docTypeConfigList) {
18          this.docTypeConfigList = docTypeConfigList;
19      }
20  
21      private List<DocTypeConfig> docTypeConfigList=new ArrayList<DocTypeConfig>();
22      private List<DocFormatConfig> docFormatConfigList =new ArrayList<>();
23      private List<DocFieldConfig> docFieldConfigList=new ArrayList<>();
24      private List<SearchResultPage> searchResultPageList=new ArrayList<>();
25  
26      private SearchFacetPage searchFacetPage;
27      private String editable;
28      private String docFormatDocType;
29      private String docFormat;
30      private String docFieldDocType;
31  
32  
33      public String getDocFormat() {
34          return docFormat;
35      }
36  
37      public void setDocFormat(String docFormat) {
38          this.docFormat = docFormat;
39      }
40  
41      public void setSearchFacetPage(SearchFacetPage searchFacetPage) {
42          this.searchFacetPage = searchFacetPage;
43      }
44  
45      public void setSearchResultPageList(List<SearchResultPage> searchResultPageList) {
46          this.searchResultPageList = searchResultPageList;
47      }
48  
49      public String getDocFormatDocType() {
50          return docFormatDocType;
51      }
52  
53      public void setDocFormatDocType(String docFormatDocType) {
54          this.docFormatDocType = docFormatDocType;
55      }
56  
57      public String getDocFieldDocType() {
58          return docFieldDocType;
59      }
60  
61      public void setDocFieldDocType(String docFieldDocType) {
62          this.docFieldDocType = docFieldDocType;
63      }
64  
65      public String getEditable() {
66          return editable;
67      }
68  
69      public void setDocFormatConfigList(List<DocFormatConfig> docFormatConfigList) {
70          this.docFormatConfigList = docFormatConfigList;
71      }
72  
73      public void setDocFieldConfigList(List<DocFieldConfig> docFieldConfigList) {
74          this.docFieldConfigList = docFieldConfigList;
75      }
76  
77      public void setEditable(String editable) {
78          this.editable = editable;
79      }
80  
81      public List<DocTypeConfig> getDocTypeConfigList() {
82          if (docTypeConfigList == null) {
83              DocTypeConfig docTypeConfig =new DocTypeConfig();
84              docTypeConfigList = new ArrayList<DocTypeConfig>();
85              docTypeConfigList.add(docTypeConfig);
86          }
87          return docTypeConfigList;
88      }
89  
90  
91  
92      public List<DocFormatConfig> getDocFormatConfigList() {
93          if (docFormatConfigList == null) {
94              docFormatConfigList = new ArrayList<>();
95          }
96          return docFormatConfigList;
97      }
98  
99  
100     public List<DocFieldConfig> getDocFieldConfigList() {
101         if (docFieldConfigList == null) {
102             docFieldConfigList = new ArrayList<>();
103         }
104         return docFieldConfigList;
105     }
106 
107 
108     public List<SearchResultPage> getSearchResultPageList() {
109         if (searchResultPageList == null) {
110             searchResultPageList = new ArrayList<>();
111         }
112         return searchResultPageList;
113     }
114 
115 
116     public SearchFacetPage getSearchFacetPage() {
117        /* if (searchFacetPage == null) {
118             searchFacetPage = new SearchFacetPage();
119         }*/
120         return searchFacetPage;
121     }
122 
123 
124 }