001package org.kuali.ole.describe.bo; 002 003import org.kuali.rice.krad.bo.PersistableBusinessObjectBase; 004import org.kuali.rice.krad.util.GlobalVariables; 005 006import java.lang.reflect.Array; 007import java.util.ArrayList; 008import java.util.HashMap; 009import java.util.List; 010import java.util.Map; 011 012/** 013 * Created with IntelliJ IDEA. 014 * User: PJ7789 015 * Date: 30/11/12 016 * Time: 3:42 PM 017 * To change this template use File | Settings | File Templates. 018 */ 019public class ImportBibUserPreferences 020 extends PersistableBusinessObjectBase { 021 private Integer prefId; 022 private String prefId1; 023 private String userId; 024 private String userRole; 025 private List<String> prefNameList = new ArrayList<String>(); 026 private String prefName; 027 private String importType; 028 private String importStatus; 029 private String permLocation; 030 private String tempLocation; 031 private String adminProtectedTags; 032 private String adminRemovalTags; 033 private String removalTags; 034 private String protectedTags; 035 private List<String> shelvingSchemeList = new ArrayList<String>(); 036 private String shelvingScheme; 037 private String callNumberSource1; 038 private String callNumberSource2; 039 private String callNumberSource3; 040 private String message; 041 042 public List<String> getPrefNameList() { 043 return prefNameList; 044 } 045 046 public void setPrefNameList(List<String> prefNameList) { 047 this.prefNameList = prefNameList; 048 } 049 050 public String getImportType() { 051 return importType; 052 } 053 054 public void setImportType(String importType) { 055 this.importType = importType; 056 } 057 058 public String getImportStatus() { 059 return importStatus; 060 } 061 062 public void setImportStatus(String importStatus) { 063 this.importStatus = importStatus; 064 } 065 066 public String getRemovalTags() { 067 return removalTags; 068 } 069 070 public void setRemovalTags(String removalTags) { 071 this.removalTags = removalTags; 072 } 073 074 public String getProtectedTags() { 075 return protectedTags; 076 } 077 078 public void setProtectedTags(String protectedTags) { 079 this.protectedTags = protectedTags; 080 } 081 082 083 public String getPermLocation() { 084 return permLocation; 085 } 086 087 public void setPermLocation(String permLocation) { 088 this.permLocation = permLocation; 089 } 090 091 public String getTempLocation() { 092 return tempLocation; 093 } 094 095 public void setTempLocation(String tempLocation) { 096 this.tempLocation = tempLocation; 097 } 098 099 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}