1 18 19 package cowsultants.itracker.ejb.client.models; 20 21 public class UserPreferencesModel extends GenericModel { 22 private Integer userId; 23 private String userLogin; 24 25 private String userLocale; 26 27 private boolean saveLogin; 28 29 private int numItemsOnIndex; 30 private int numItemsOnIssueList; 31 private boolean showClosedOnIssueList; 32 private String sortColumnOnIssueList; 33 private int hiddenIndexSections; 34 35 private boolean rememberLastSearch; 36 37 public UserPreferencesModel() { 38 userId = new Integer (-1); 39 userLogin = ""; 40 41 userLocale = ""; 42 43 saveLogin = false; 44 45 numItemsOnIndex = -1; 46 numItemsOnIssueList = -1; 47 showClosedOnIssueList = true; 48 sortColumnOnIssueList = ""; 49 hiddenIndexSections = 0; 50 51 rememberLastSearch = true; 52 } 53 54 public Integer getUserId() { 55 return userId; 56 } 57 58 public void setUserId(Integer value) { 59 userId = value; 60 } 61 62 public String getUserLogin() { 63 return userLogin; 64 } 65 66 public void setUserLogin(String value) { 67 userLogin = value; 68 } 69 70 public boolean getSaveLogin() { 71 return saveLogin; 72 } 73 74 public void setSaveLogin(boolean value) { 75 saveLogin = value; 76 } 77 78 public String getUserLocale() { 79 return userLocale; 80 } 81 82 public void setUserLocale(String value) { 83 userLocale = value; 84 } 85 86 public int getNumItemsOnIndex() { 87 return numItemsOnIndex; 88 } 89 90 public void setNumItemsOnIndex(int value) { 91 numItemsOnIndex = value; 92 } 93 94 public int getNumItemsOnIssueList() { 95 return numItemsOnIssueList; 96 } 97 98 public void setNumItemsOnIssueList(int value) { 99 numItemsOnIssueList = value; 100 } 101 102 public boolean getShowClosedOnIssueList() { 103 return showClosedOnIssueList; 104 } 105 106 public void setShowClosedOnIssueList(boolean value) { 107 showClosedOnIssueList = value; 108 } 109 110 public String getSortColumnOnIssueList() { 111 return sortColumnOnIssueList; 112 } 113 114 public void setSortColumnOnIssueList(String value) { 115 sortColumnOnIssueList = value; 116 } 117 118 public int getHiddenIndexSections() { 119 return hiddenIndexSections; 120 } 121 122 public void setHiddenIndexSections(int value) { 123 hiddenIndexSections = value; 124 } 125 126 public boolean getRememberLastSearch() { 127 return rememberLastSearch; 128 } 129 130 public void setRememberLastSearch(boolean value) { 131 rememberLastSearch = value; 132 } 133 } 134 | Popular Tags |