View Javadoc
1   package org.kuali.ole.describe.bo;
2   
3   import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
4   import org.kuali.rice.krad.util.GlobalVariables;
5   
6   import java.lang.reflect.Array;
7   import java.util.ArrayList;
8   import java.util.HashMap;
9   import java.util.List;
10  import java.util.Map;
11  
12  /**
13   * Created with IntelliJ IDEA.
14   * User: PJ7789
15   * Date: 30/11/12
16   * Time: 3:42 PM
17   * To change this template use File | Settings | File Templates.
18   */
19  public class ImportBibUserPreferences
20          extends PersistableBusinessObjectBase {
21      private Integer prefId;
22      private String prefId1;
23      private String userId;
24      private String userRole;
25      private List<String> prefNameList = new ArrayList<String>();
26      private String prefName;
27      private String importType;
28      private String importStatus;
29      private String permLocation;
30      private String tempLocation;
31      private String adminProtectedTags;
32      private String adminRemovalTags;
33      private String removalTags;
34      private String protectedTags;
35      private List<String> shelvingSchemeList = new ArrayList<String>();
36      private String shelvingScheme;
37      private String callNumberSource1;
38      private String callNumberSource2;
39      private String callNumberSource3;
40      private String message;
41  
42      public List<String> getPrefNameList() {
43          return prefNameList;
44      }
45  
46      public void setPrefNameList(List<String> prefNameList) {
47          this.prefNameList = prefNameList;
48      }
49  
50      public String getImportType() {
51          return importType;
52      }
53  
54      public void setImportType(String importType) {
55          this.importType = importType;
56      }
57  
58      public String getImportStatus() {
59          return importStatus;
60      }
61  
62      public void setImportStatus(String importStatus) {
63          this.importStatus = importStatus;
64      }
65  
66      public String getRemovalTags() {
67          return removalTags;
68      }
69  
70      public void setRemovalTags(String removalTags) {
71          this.removalTags = removalTags;
72      }
73  
74      public String getProtectedTags() {
75          return protectedTags;
76      }
77  
78      public void setProtectedTags(String protectedTags) {
79          this.protectedTags = protectedTags;
80      }
81  
82  
83      public String getPermLocation() {
84          return permLocation;
85      }
86  
87      public void setPermLocation(String permLocation) {
88          this.permLocation = permLocation;
89      }
90  
91      public String getTempLocation() {
92          return tempLocation;
93      }
94  
95      public void setTempLocation(String tempLocation) {
96          this.tempLocation = tempLocation;
97      }
98  
99      public String getAdminProtectedTags() {
100         return adminProtectedTags;
101     }
102 
103     public void setAdminProtectedTags(String adminProtectedTags) {
104         this.adminProtectedTags = adminProtectedTags;
105     }
106 
107     public String getAdminRemovalTags() {
108         return adminRemovalTags;
109     }
110 
111     public void setAdminRemovalTags(String adminRemovalTags) {
112         this.adminRemovalTags = adminRemovalTags;
113     }
114 
115     public List<String> getShelvingSchemeList() {
116         return shelvingSchemeList;
117     }
118 
119     public void setShelvingSchemeList(List<String> shelvingSchemeList) {
120         this.shelvingSchemeList = shelvingSchemeList;
121     }
122 
123     public String getShelvingScheme() {
124         return shelvingScheme;
125     }
126 
127     public void setShelvingScheme(String shelvingScheme) {
128         this.shelvingScheme = shelvingScheme;
129     }
130 
131     public void setCallNumberSource1(String callNumberSource1) {
132         this.callNumberSource1 = callNumberSource1;
133     }
134 
135     public String getCallNumberSource1() {
136         return callNumberSource1;
137     }
138 
139     public String getCallNumberSource2() {
140         return callNumberSource2;
141     }
142 
143     public void setCallNumberSource2(String callNumberSource2) {
144         this.callNumberSource2 = callNumberSource2;
145     }
146 
147     public String getCallNumberSource3() {
148         return callNumberSource3;
149     }
150 
151     public void setCallNumberSource3(String callNumberSource3) {
152         this.callNumberSource3 = callNumberSource3;
153     }
154 
155     public String getPrefName() {
156         return prefName;
157     }
158 
159     public void setPrefName(String prefName) {
160         this.prefName = prefName;
161     }
162 
163     public String getMessage() {
164         return message;
165     }
166 
167     public void setMessage(String message) {
168         this.message = message;
169     }
170 
171     public Integer getPrefId() {
172         return prefId;
173     }
174 
175     public void setPrefId(Integer prefId) {
176         this.prefId = prefId;
177     }
178 
179     public String getUserId() {
180         userId = GlobalVariables.getUserSession().getPrincipalId();
181         return userId;
182     }
183 
184     public void setUserId(String userId) {
185         this.userId = userId;
186     }
187 
188     public String getUserRole() {
189         userRole = "admin";
190         return userRole;
191     }
192 
193     public void setUserRole(String userRole) {
194         this.userRole = userRole;
195     }
196 
197     public String getPrefId1() {
198         return prefId1;
199     }
200 
201     public void setPrefId1(String prefId1) {
202         this.prefId1 = prefId1;
203     }
204 }